Solved

can database design or DML be cause of data corruption (other than obvious possibility of Disk issues)?

Posted on 2014-09-18
4
163 Views
Last Modified: 2014-10-07
can a db design issue cause? is it possible?

one of the reason I ask is every 6-8 months, one database seems to be corrupted.. I can't say that for any of the other databases on that sql instance. (the one that gets corrupted is active (meaning being used), the others are more for archives though and occasional querying).
0
Comment
Question by:25112
  • 2
  • 2
4 Comments
 
LVL 5

Author Comment

by:25112
ID: 40330295
article in sqlmag says
"In virtually all cases of SQL Server database corruption (over 99.99% by most accounts), the root cause of corruption is due to problems at the IO subsystem level"

what are the other 0.01% causes?

a)can a poorly designed database ever possible to cause data corruption? (that checkdb reports)?

b)can stored procs, functions (DML) Deletes Inserts cause (is it possible) data corruption?

c)is the answer to the above the same for physical disk as well as virtual?
0
 
LVL 48

Expert Comment

by:Vitor Montalvão
ID: 40330428
What you mean with 'data corruption'? Is data lost? Or can't access to data?
DBCC CHECKDB should be run regularly over all databases to check the data integrity.
A good backup policy should be set in case of the need for a recover to avoid big data losses.
0
 
LVL 5

Author Comment

by:25112
ID: 40330724
'data corruption'- yes, referring to 'data integrity' errors that CHECKDB gives.

question is other than the 99% rootcause of disk issues, can DML ever cause the data integrity, in the first place.
0
 
LVL 48

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 40332043
I don't think DBCC CHECKDB command will track bad data models. What it usually do is to check if all referential integrities rules are 100% OK (broken FK's or other Constraints) and physical corruptions (access to data and BLOB files).

If you have a database without PK, FK and any kind of indexes, DBCC CHECKDB won't throw an error because of that.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question