- Backup database.
- Check database integrity: check primary key etc.
- History cleanup: log history archive.
- Check indexes: rebuild index, re-organize index etc.
- Shrink database.
Daily monitoring jobs:
- Monitor database connections.
- Monitor physical storage usage.
- Monitor memory usage: cache hits ratio, page reads, writes/sec etc.
- Monitor CPU usage.
- Monitor physical disk I/O, network segment.
- Monitor error log on critical events: severity level > 16.
- Monitor user activities: connections, dead lock detection, user security breach, SQL compilation/sec etc.