what is the difference between dbcc checkstorage and other
dbcc commands

Answer Posted / jayakumar

1.dbcc checkstorage runs checks against the database on
disk. If a corruption is only in memory, dbcc checkstorage
may not detect the corruption. To ensure consistency
between two dbcc checkstorage runs, run checkpoint before
running dbcc checkstorage. However, doing so can turn a
transient memory corruption into corruption on disk.

2.dbcc checkstorage checks the entire database, including
unused pages, so execution time is relative to database
size. Therefore, when you use dbcc checkstorage, there is
not a large difference between checking a database that is
nearly empty and checking one that is nearly full, as there
is with the other dbcc commands.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to connect to sybase database from linux?

445


What is difference between sybase and oracle?

460


How do I set a password to be null?

463


How do I configure identities in sybase?

445


What is the relationship between jdbc and sybase?

479






What is table partitioning in sybase?

462


Can I use a named pipe to bcp/dump data out or in in sybase?

576


What are the operating systems in which sybase could take its presence?

473


Using large raw partitions with replication server on unix in sybase?

491


How do I connect to sybase?

473


How would you check the long running transaction?

474


How do I create a partitioned table that spans multiple devices in sybase?

382


What will cause the size of a stored procedure to grow in sybase?

410


How would you replicate col = col + 1 in sybase?

538


Is sybase a database? Explain.

469