Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8226091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T15:38:43+00:00 2026-06-07T15:38:43+00:00

Harddrive bit-rot does happen . I’m using SQLite for a project with fairly critical

  • 0

Harddrive bit-rot does happen. I’m using SQLite for a project with fairly critical data. Obviously, I’ll be taking regular backups of the database, but does SQLite checksum its data?

I’ve read about the PRAGMA integrity_check, but can’t really say whether it does integrity check on the actual data. The page “How To Corrupt An SQLite Database File” doesn’t really mention the fact about bit rot on a harddrive, which is the reason why I’m asking.

Also, the database I am dealing with will be an indexable append-only log. One option would be for me to rotate the database regularly and create an MD5 sum of each rotated file. But maybe that’s too much work…

Any input appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T15:38:45+00:00Added an answer on June 7, 2026 at 3:38 pm

    From reading the integrity_check documentation, I would say it would not be guaranteed to detect corruption that only affects user data (due to undetected bit errors on media).

    Since your data is an append-only log, you’ve got it pretty easy. One way would be to write a text file log on a separate hard drive that contains hashes (MD5 or whatever) of every row of your data. Then you can use that hash log to verify the contents of the real database. Obviously backups will be an integral part of your plan.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using ASP.NET for file uploads, and I'm hitting a bit of a snag
I have installed Ruby On Rails Application on my harddrive, and i am using
Thanks for viewing this. I need a little bit of help for this project
I am using maven 2.2.1, jdk 1.6.0_23 (64 bit) on a 64 bit windows
So, I've been having a bit of trouble trying to attach files using a
I've ran into a bit of a stupid problem today: In my project I
Due to a harddrive crash, I lost my SQL server database files for a
Given a harddrive with 120GB, 100 of which are filled with the strings of
How to save ByteArray to HardDrive from Flash swf? So... I have a generated
Could someone tell in general what goes to what (Harddrive,RAM, Stack or Heap) at

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.