Chapter 8. Database Monitoring and Performance
In this chapter, we will cover the following recipes:
Checking active sessions
Finding out what the users are currently running
Finding blocked sessions
Dealing with deadlocks
Studying table access statistics
Routine reindexing
Logging slow statements
Determining disk usage
Preventing page corruption
Generating planner statistics
Tuning with background writer statistics