PostgreSQL
Chapter 28. Monitoring Database Activity
Table of Contents
A database administrator frequently wonders, “[.quote]#What is the system doing right now?”# This chapter discusses how to find that out.
Several tools are available for monitoring database activity and analyzing performance. Most of this chapter is devoted to describing PostgreSQL’s cumulative statistics system, but one should not neglect regular Unix monitoring programs such as ps
, top
, iostat
, and vmstat
. Also, once one has identified a poorly-performing query, further investigation might be needed using PostgreSQL’s EXPLAIN
command. Section 14.1 discusses EXPLAIN
and other methods for understanding the behavior of an individual query.
Prev | Up | Next |
---|---|---|
27.4. Hot Standby |
28.1. Standard Unix Tools |
Submit correction
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.
Copyright © 1996-2023 The PostgreSQL Global Development Group