| Hi All, |
| 0 |
|
|
| 2 |
|
This is Rangaraja.im new to learn sql dba. |
| 0 |
|
Can you please explain commonly used in real time DBCC Commands? |
| 0 |
|
|
| 1 |
|
Regards, |
| 0 |
|
Rangaraja |
| 0 |
|
rangarajasqldba@gmail.com |
| 0 |
|
|
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 7:42 AM
Points: 2,661,
Visits: 1,673
|
|
I definitely use DBCC INPUTBUFFER(spid) and DBCC OPENTRAN the most and at times DBCC SQLPERF. These are the most basic, effective and commonly used DBCC commands.
Apart from that I've used DBCC SHOWCONTIG and DBCC INDEXDEFRAG as and when required.
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 10:47 AM
Points: 37,729,
Visits: 29,990
|
|
sqlnaive (12/28/2012) Apart from that I've used DBCC SHOWCONTIG and DBCC INDEXDEFRAG as and when required.
Both of those were deprecated 7 years ago, are included only for backward compatibility with SQL 2000 and should not be used any longer.
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
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 7:42 AM
Points: 2,661,
Visits: 1,673
|
|
| Correctly said Gail, these two were the DBCC commands which I had used a lot during those days and were really a blessing while looking for optimization. Though now there are new and efficient ways like using sys.dm_db_index_physical_stats (for DBCC SHOWCONTIG) and ALTER INDEX...REORG (OR REBUILD) (for DBCC INDEXDEFRAG)
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 9:06 AM
Points: 223,
Visits: 1,137
|
|
On the other side... I have never run REPAIR_ALLOW_DATA_LOSS.
-- AJB xmlsqlninja.com
|
|
|
|