Skip to Main Content
PostgreSQL 14 Administration Cookbook
book

PostgreSQL 14 Administration Cookbook

by Simon Riggs, Gianni Ciolli
March 2022
Intermediate to advanced content levelIntermediate to advanced
608 pages
12h 36m
English
Packt Publishing
Content preview from PostgreSQL 14 Administration Cookbook

Chapter 8: Monitoring and Diagnosis

In this chapter, you will find recipes for some common monitoring and diagnosis actions that you will want to perform inside your database. They are meant to answer specific questions that you often face when using PostgreSQL.

In this chapter, we will cover the following recipes:

  • Overview of PostgreSQL monitoring
  • Cloud-native monitoring
  • Providing PostgreSQL information to monitoring tools
  • Real-time viewing using pgAdmin
  • Checking whether a user is connected
  • Checking whether a computer is connected
  • Repeatedly executing a query in psql
  • Checking which queries are running
  • Monitoring the progress of commands and queries
  • Checking which queries are active or blocked
  • Knowing who is blocking a query
  • Killing a specific ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PostgreSQL 16 Administration Cookbook

PostgreSQL 16 Administration Cookbook

Gianni Ciolli, Boriss Mejías, Jimmy Angelakos, Vibhor Kumar, Simon Riggs
PostgreSQL High Performance Cookbook

PostgreSQL High Performance Cookbook

Dinesh Kumar, Chitij Chauhan

Publisher Resources

ISBN: 9781803248974