Tomasz Gintowt’s Post

PostgreSQL tip: pg_export_snapshot pg_export_snapshot lets you share the same transaction snapshot across multiple sessions, so they all see exactly the same data state. Why it matters 👇 • Guarantees consistent reads across connections • Useful for logical replication, backups, and coordinated exports • Built on PostgreSQL’s MVCC — powerful, but often overlooked More about pg_export_snapshot can be found in my latest article, link in comments. #postgres #postgresql #sql #dba #dataops

  • No alternative text description for this image

Wtf is a shapshot? 🤣

Like
Reply

This feature can be used for the initial sync for a logical replication of a very large table in a parallelized way, you can create multiple workers to perform the sync based on the primary key or another serial field.

See more comments

To view or add a comment, sign in

Explore content categories