April 9, 2015 at 4:17 am
Hi - Just looking for advice regarding what regular housekeeping tasks should be performed on SQL DB's?
Thanks
April 9, 2015 at 4:42 am
There are many factors affecting the database maintenance plan based on the application and type of database and environment. However primarily you can focus on backup strategy, High availability, Database consistency check, Checking fragmentation and reindexing, if required archiving data etc.
HTH
---------------------------------------------------
"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."
April 9, 2015 at 5:04 am
Check Database Integrity
Database Backups
Log Backups
Backup Testing
Statistics Maintenance
Index Maintenance
Those are the basics I think.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 9, 2015 at 8:09 am
Grant Fritchey (4/9/2015)
Check Database IntegrityDatabase Backups
Log Backups
Backup Testing
Statistics Maintenance
Index Maintenance
Those are the basics I think.
Just to add to that fine list... Checks on performance and resource usage (usually against a previous baseline which should be taken at least monthly).
And to be clear, "Backup Testing" should be assumed to include "Restore Testing" for both RPO and RTO.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2015 at 8:45 am
Jeff Moden (4/9/2015)
Grant Fritchey (4/9/2015)
Check Database IntegrityDatabase Backups
Log Backups
Backup Testing
Statistics Maintenance
Index Maintenance
Those are the basics I think.
Just to add to that fine list... Checks on performance and resource usage (usually against a previous baseline which should be taken at least monthly).
And to be clear, "Backup Testing" should be assumed to include "Restore Testing" for both RPO and RTO.
I left off Monitoring and Alerting of all the above, plus what you said.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 9, 2015 at 9:53 am
This does fall into the category of Log Backups which Grant mentioned..
I would expand it to Log File maintenance. This includes changing the recovery model to Simple for Databases that don't need log file backups (I see this all the time and it drives me crazy). Also making sure that log files are sized correctly - e.g. Allocating enough space so as to limit (or eliminate) log file autogrowth.
-- Itzik Ben-Gan 2001
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply