Are there some SQL statements that are able to cause hard drive corruption faster? How large should the database tables be for the undesired effect to take an effect?
Which SQL statements should rather be avoided? I’m using SQLite. Is this worse in comparison to other DMBS?
This question sprang up because I’m often commiting these statements:
insert into t ...
update t set x = x + 1 where x >= some_value
What if one day the number of rows will be 50000? Is this still safe for the hard drive?
I tried to show an example to illustrate the background but conceive the main question as:
Which SQL statements (on how large data) should rather be avoided?
If a hard drive wants to live, it will live. If it wants to die, it will die.
Anyway, hear Google: Failure Trends in a Large Disk Drive Population
http://static.googleusercontent.com/external_content/untrusted_dlcp/research.google.com/en//archive/disk_failures.pdf
http://en.wikipedia.org/wiki/Hard_disk_drive#Metrics_of_failures
If you are afraid (or not) of data loss, you should consider using backups, replications, whatever. Valuable data should be preserved at least two different places.