SQL Server Maintenance
A database maintenance plan is implemented using a series of DBCC commands and system stored procedures. DBCC stands for database consistency check or database console command. There are numerous documented and undocumented DBCC commands, but only a few of them are used for maintenance. A typical database maintenance schedule involves the following activities.1. Check database consistency and data integrity (DBCC CHECKDB)
2. Rebuild indexes or remove index fragmentation (DBCC DBREINDEX)
3. Update statistics (DBCC SHOW_STATISTICS)
4. Report on space utilization in data and log files (DBCC SHRINKFILE)
Article by Kevin Kline and Baya Pavliashvili from SearchSQLServer, more
Comments