SQL Server 2005 has introduced following two documented and five undocumented DBCC Commands. I was able to find documentation for only first one online. If you find any documentation of any other DBCC Commands please add comments. It will be helpful to all of us.
Documented:
- freesessioncache () — no parameters
Flushes the distributed query connection cache used by distributed queries against an instance of Microsoft SQL Server. View Details
- requeststats ({clear} | {setfastdecayrate, rate} | {setslowdecayrate, rate})
UnDocumented:
- mapallocunit (I8AllocUnitId | {I4part, I2part})
- metadata ({‘print’ [, printopt = {0 |1}] | ‘drop’ | ‘clone’ [, ” | ….]}, {‘object’ [, ‘type’,…}, {Id | Name}, [{Ownerid | Ownername}], [{Dbid | Dbname}]])
- optimizer_whatif property, value
- persiststackhash (hashfile, BUFLATCH_TIMEOUT | ATTENTION | OUTOFLOCKS | LATCH_ATTN | OUTOFLOG | OUTOFMEM | SOS [, SKIPLAST | INCLUDELAST])
- semetadata (object id | name, index id | name [, partition id])
Reference : Pinal Dave (https://blog.sqlauthority.com)