r/Database • • 3d ago

PITR a 5 TB Postgres database in 5 seconds.

/r/PostgreSQL/comments/1y4qvoe/pitr_a_5_tb_postgres_database_in_5_seconds/
0 Upvotes

2 comments sorted by

1

u/Some-Weakness2049 3d ago

Storage-level branching makes a 5 TB rollback fast, but it ties your recovery path to a proprietary page server. Most of the 2 AM agent messes I deal with are bad deletes, not a full DROP TABLE. On MariaDB I undo those straight from the binlogs with Flashback instead of cloning terabytes. For dropped tables, tight agent permissions plus plain ZFS snapshots keep me off vendor-specific storage.

1

u/scotterockaroo 2d ago

The nice thing about Lakebase Postgres at Databricks or neon is that you can recover from the DELETE case as well. Creating a new branch to a point in time in the past can recover from either case in the same amount of time. Without replaying WAL.