|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, March 01, 2012 10:06 AM
Points: 11,
Visits: 32
|
|
I always see there are proceses in SQL about "DBCC TABLE CHECK"
1. I am trying to find out what trigger this process 2. is it the same or it come from DBCC check DB?
Thanks,
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Sunday, September 23, 2012 7:55 AM
Points: 75,
Visits: 110
|
|
DBCC checkdb is executing dbcc cehcktable as this is a part of consistency checking opertaion. you can also run only dbcc checktable for checking on table level.
java
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 9:31 AM
Points: 37,739,
Visits: 30,013
|
|
That's part of checkDB.
Nothing 'triggers' it. It happens when a user or job runs DBCC CheckTable or DBCC CheckDB.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, March 01, 2012 10:06 AM
Points: 11,
Visits: 32
|
|
Thanks for all the input., that what I thought about DBCC check TABLE is from DBCC CHECK DB. There was no user that had privilege to run DBCC check DB on this database and I have no DBCC check DB job shceduled.
Do you know the way to trace who and why it run?
Thanks again
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 9:31 AM
Points: 37,739,
Visits: 30,013
|
|
A normal profiler trace should do it, or look in the default trace (should be caught under Audit DBCC Event)
Someone or something is running either CheckDB or CheckTable if you see that in running sessions, checkDB does not ever run by itself and nothing inside SQL will trigger it.
p.s. You need to do something about not having a regular checkDB job.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, March 01, 2012 10:06 AM
Points: 11,
Visits: 32
|
|
I am planning to have checkDB weeekly but not running every 2-3 hours.
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 8:14 AM
Points: 2,614,
Visits: 3,130
|
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Thursday, January 17, 2013 9:57 AM
Points: 59,
Visits: 113
|
|
| In my environ, dbcc table check occurs, I believe due to backup option "checksum" which causes a page checksum calculation on every table's data prior to backup.
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 9:31 AM
Points: 37,739,
Visits: 30,013
|
|
Eric Stimpson (8/28/2012) In my environ, dbcc table check occurs, I believe due to backup option "checksum" which causes a page checksum calculation on every table's data prior to backup.
Checksum and checktable are two different things. Backups don't run checktable or checkDB.
The backup with checksum recalculates the checksums on each page backed up and then cacluates a checksum over the backup file.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|