Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible run DBCC CHECKDB on a single partition?

Is it possible to run DBCC CHECKDB on a single partition in sql server? I know we could use CHECKFILEGROUP if the partitions are on separate filegroups but what if the partitions are not on separate filegroups? Is there an option to specify the partition no with CHECKDB?

like image 463
Sriram Subramanian Avatar asked Oct 21 '25 12:10

Sriram Subramanian


1 Answers

Nope - I never got around to writing a partition-only consistency check when I rewrote CHECKDB. CHECKFILEGROUP is your only option.

Thanks

like image 125
Paul Randal Avatar answered Oct 24 '25 17:10

Paul Randal



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!