Solved

backup conflicting with integrity check

Posted on 2013-11-09
4
49 Views
Last Modified: 2016-07-10
Hi, I have a long running backup of a 300 GB database, It seems to be conflicting with integrity check and both are taking a long time. Can I go ahead and kill the integrity check. I just haven't had to do that before and wondering if integrity check will have a rollback. Or is it safe to kill it in production and run the integrity check later. Please let me know. Thank you.
0
Comment
Question by:sqlserverdba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 20

Accepted Solution

by:
Marten Rune earned 500 total points
ID: 39636457
There is no rollback for integritycheck. Though it will not start where it left off, but rather begin from the beginning again.

Suggest you look att how long these operations take, and Schedule accordingly.

But... If checkdb suddely takes longer time to run, this could be because it's fount some corruption and needs to do a Deep dive. Then if you kill the process, it's not doing anything good for you at all.

If need be, take the current backup, and restore on a separate system. Now let dbcc checkdb run its cycle on this database. Checkdb is your safeguard against a failing subsystem. You would not want to kill a process that can deliver this information to you.

it may be that the backup takes time due to I/O problems, and integrity check also looks at the same faulty subsystem.

Time to read up, some good links and the last one  on errors in the windows application/system logs should be checked Before you kill any process at all, in my opinion.
http://www.sqlskills.com/blogs/paul/checkdb-from-every-angle-how-long-will-checkdb-take-to-run/
http://www.sqlskills.com/blogs/paul/do-transactions-rollback-when-dbcc-checkdb-runs/
http://www.sqlskills.com/blogs/paul/dont-confuse-error-823-and-error-832/


Regards Marten
0
 
LVL 20

Expert Comment

by:Marten Rune
ID: 41701821
My solution is complete. First paragraph tells the asker he can kill the process since there is no rollback to wait for.
In addition to this I'm giving sound advice not to just ignore it, but to investigate weather dbcc checkdb found somerhing or not. Plus valid links for further reading.
I belive the community benefits if this post is left as a searchable solution.
Regards Marten
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

635 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