Detailed data and index page monitoring

If you really want to get deep into just what's happening with the disk space use on your server, there are a few more available PostgreSQL contrib modules that provide additional information:

  • pgstattuple: Maybe you don't trust the running estimates for dead rows the database is showing. Or perhaps you just want to see how they are distributed. This information and lots of other tuple-level data is available using the pgstattuple module. The module includes functions to give detailed analysis of both regular row tuple data and index pages, which lets you dig into trivia like exactly how the B-tree indexes on your server were built.
  • pg_freespacemap: Lets you look at each page of a relation (table or ...

Get PostgreSQL 10 High Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.