Skip to content

Conversation

@michaelbarnes
Copy link
Contributor

This PR introduces the following changes to the Production Readiness Best Practices Guide, specifically the Postgres DB specific best practices:

  1. The max_slot_wal_keep_size section has been renamed to Managing & Monitoring Replication Lag. Which I think reads better and gets the point across. The introduction sentence was also restructured in response to the section name change.
  2. A new section has been added titled Managing Replication Slots. This section focuses on how developers can inspect replication slots and suggests configuring the idle_replication_slot_timeout configuration parameter to make the management of replication slots easier.
  3. Some minor code indentation fixes to the replication lag query.

…d the max_slot_wal_keep_size section to Managing & Monitoring Replication Lag
@michaelbarnes michaelbarnes changed the title Updated Postgres Best Practices for Replication Lag Updated Postgres Best Practices for Replication Slots Oct 22, 2025
Copy link
Collaborator

@kobiebotha kobiebotha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@michaelbarnes michaelbarnes merged commit 6c065eb into main Oct 23, 2025
4 checks passed
@michaelbarnes michaelbarnes deleted the best-practices-postgres-idle-slot branch October 23, 2025 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants