r/PostgreSQL • u/scotterockaroo • 5d ago
Feature PITR a 5 TB Postgres database in 5 seconds.
I'm Scott, the pgCraftsman and a Sr. Staff Engineer at Databricks. I've been operating some of the world's largest and most complex Postgres deployments for 22 years.
Ever need to do an emergency PITR at 2AM because an agent dropped a table?
Lakebase and Neon Postgres: PITR a 5TB DB in 5 seconds
https://pgcraftsman.io/posts/restoring-5-tb-of-postgres-in-5-seconds/
58
Upvotes
34
u/elevarq 5d ago •
Why does an agent even have the permission to drop a table?
Problems like this should not even be possible
1
u/ceeej777 4d ago
This makes sense but I see the value of Lakebase being more around restoring a fresh production copy to dev without needing to wait for a snapshot to restore to the SSD. Assuming that your organization even allows prod data to live in lower level environments
1
u/Discordbothost 3d ago
For a recovery drill, I'd keep the clock running until the app can read and write against the restored branch. After a dropped table, I'd also check what was written after the restore point. Even if the branch is ready in seconds, those writes still need a plan before cutover.
1
u/infostack0 3d ago
I’m still waiting on a fully operational and supported Helm chart for Neon
1
u/skywalker4588 7h ago
I want to use Lakebase on Azure but the requirement is that data stays on our tenant. Lakebase seems to store on azure but on its own account so that’s been a non-starter for us.
Is there any managed Postgres offering on Azure that supports branching and on tenant data storage?
1
u/AutoModerator 5d ago
AI Policy:
Linux is not one of those anti-AI projects, and if somebody has issues with that, they can do the open-source thing and fork it. Or just walk away., Linus Torvalds.
Mod decisions will be based on the quality of the content, not who or what generated it.
Sub Resources:
Youtube Channel
Free Postgres Webinars and Workshops
Discord: People, Postgres, Data
Join us, we have cookies and nice people.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.