Join us Nov 24 to watch Insights Agent turn slow queries into PRs. RSVP
Navigation

Sleep and wake Postgres databases (beta)

Database sleep for Postgres is now in beta. We're rolling it out gradually, and you can contact support to get access sooner.

Once it's enabled for your organization, you can put a Postgres database to sleep from its Settings page. Sleeping shuts down every branch and closes open connections, and the database stays unavailable until you wake it. This is handy for databases you want to keep but don't need running right now.

Before the database shuts down, we archive its recent writes. When you wake it, each branch comes back from its latest backup plus the writes archived after it.

Sleep and wake are also available in the API with the sleep a database and wake a database endpoints.

Read more