Kapitelklicken springt direkt hin
Shownotes
Nik and Michael discuss long-running transactions, including when they're harmless, when they cause issues, and how to mitigate those issues.
Here are some links to things they mentioned:
• transaction_timeout postgresql.org/docs/current/runtime-config-cli…
• Our episode on transaction_timeout postgres.fm/episodes/transaction_timeout
• Our episode on slow queries (which was also our first ever episode!) postgres.fm/episodes/slow-queries-and-slow-tra…
• Our episode on locks postgres.fm/episodes/locks
• lock_timeout postgresql.org/docs/current/runtime-config-cli…
• Transaction Isolation levels postgresql.org/docs/current/transaction-iso.html
• pg_current_xact_id_if_assigned() pgpedia.info/p/pg_current_xact_id_if_assigned.…
• Monitor xmin horizon to prevent XID/MultiXID wraparound and high bloat (how-to guide by Nik) postgres.ai/docs/postgres-howtos/performance-o…
• idle_replication_slot_timeout postgresql.org/docs/current/runtime-config-rep…
• PREPARE TRANSACTION postgresql.org/docs/current/sql-prepare-transa…
• log_autovacuum_min_duration postgresql.org/docs/devel/runtime-config-loggi…
• PostgreSQL Subtransactions Considered Harmful (blog post by Nikolay) postgres.ai/blog/20210831-postgresql-subtransa…
• statement_timeout postgresql.org/docs/current/runtime-config-cli…
• idle_in_transaction_session_timeout postgresql.org/docs/current/runtime-config-cli…
• lock_timeout postgresql.org/docs/current/runtime-config-cli…
~~~
What did you like or not like? What should we discuss next time? Let us know via a YouTube comment, on social media, (postgres.fm/people) or by commenting on our Google doc (docs.google.com/document/d/1PNGSn_d0A7gTR4C0p6…)!
~~~
Postgres FM is produced by:
• Michael Christofides, founder of pgMustard (pgmustard.com)
• Nikolay Samokhvalov, founder of Postgres.ai (postgres.ai)
With credit to:
• Jessie Draws for the elephant artwork