Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

DBCC TABLE CHECK Expand / Collapse
Author
Message
Posted Thursday, March 1, 2012 9:19 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, March 1, 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,
Post #1260247
Posted Thursday, March 1, 2012 9:27 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC 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
Post #1260252
Posted Thursday, March 1, 2012 9:27 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 2:16 PM
Points: 42,844, Visits: 35,974
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

Post #1260253
Posted Thursday, March 1, 2012 9:44 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, March 1, 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
Post #1260275
Posted Thursday, March 1, 2012 9:46 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 2:16 PM
Points: 42,844, Visits: 35,974
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

Post #1260277
Posted Thursday, March 1, 2012 9:56 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, March 1, 2012 10:06 AM
Points: 11, Visits: 32
I am planning to have checkDB weeekly but not running every 2-3 hours.
Post #1260285
Posted Thursday, March 1, 2012 9:57 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Saturday, August 30, 2014 1:34 PM
Points: 2,693, Visits: 3,384
Let me ask you this... Is this database accessed by a 3rd party application? The application itself may be sending this command.

Thanks,

Jared
SQL Know-It-All

How to post data/code on a forum to get the best help - Jeff Moden
Post #1260286
Posted Tuesday, August 28, 2012 8:04 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Wednesday, March 12, 2014 1:07 PM
Points: 59, Visits: 115
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.
Post #1350967
Posted Tuesday, August 28, 2012 8:53 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 2:16 PM
Points: 42,844, Visits: 35,974
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

Post #1351009
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse