Ad-hoc monitoring
In some cases, we need to observe some values in Postgres or the environment it's running on (OS, FS, etc.), and:
In some cases, we need to observe some values in Postgres or the environment it's running on (OS, FS, etc.), and:
#PostgresMarathon day 2. Let's discuss PostgreSQL shutdown and restarts. It's not uncommon to see quite long and even failed shutdown/restart attempts.
#PostgresMarathon day 3. In the previous how-to, we discussed how to quickly stop or restart PostgreSQL.
Learn how to troubleshoot streaming replication lag