SQL Server Maintenance – Comprehensive Checklists

maintenancesql-server-2005sql-server-2008

Following up from my other question, I would like to start thinking about what I should take a look at on daily/weekly/monthly bases in terms of alerts. I am hoping to be able to see problems coming before they happen (that is the plan)…

So far, I have made a start collecting scripts for the following (no order):

Daily

  • Check system uptime (just in case I need to check anything as a DBA)
  • Check the last backup
  • Check the transaction log backups
  • Check the status of SQL Jobs
  • Check the average CPU usage for the last 24 hours (or 1140 mins)

Weekly

  • Check MSDB backup history
  • Check to see when the last time CheckDB was run
  • Check index fragmentation
  • Check index stats (reads vs writes etc)
  • Check for IO bottlenecks

Monthly

  • Check missing indexes
  • Check indexes that are no longer used

Any other suggestions? (I am new to DBA so any help/advice is always welcome)

Best Answer

  1. Backups

    • Check for backup emails
    • How long did the backup take to run (database backup duration)
    • Verify that all databases are being backed up according to a maintenance plan
  2. Disk free space. Note significant variations from previous check. Log files may be affected dramatically by monthly jobs

  3. Job failures. Filter job activity for failures

  4. System checks. Look in sql logs for any critical errors.

    • Application logs
  5. Performance

    • Check performance statistics on all servers
    • Check that counters are in normal range on all production servers
  6. Connectivity

    • Verify the customer application can get data from the database
    • Verify acceptable speed of access data
  7. Replication. Verify that the each publication and distributor is running for each subscription

SQL Server DBA Checklist

Brad's Sure DBA Checklist

Oracle DBA Checklist (maybe useful)

SQL Server DBA database management checklist

DBA Morning Check List

MS SQL Server DBA Checklist (many checklists)

SQL Server DBA Checklist