PlanetScale has a high standard for uptime and availability, see our operations philosophy for Postgres to learn how
we continually improve your database and keep it resilient to failure.
About maintenance windows
Every production branch has a required weekly maintenance window that lasts one hour. During this time:- PlanetScale applies security patches and upgrades
- Your database will restart, causing all connections to disconnect temporarily
- Connections through PgBouncer are also affected, as PgBouncer restarts as well
- The actual restart occurs at a random time within the first 45 minutes of the scheduled hour

If you promote a development branch to production, a maintenance window will automatically be created for it.
Configuring maintenance windows
You must be a database or organization administrator to modify maintenance window settings.- From the PlanetScale organization dashboard, select the desired database
- Navigate to the Cluster configuration page from the menu on the left
- Select the Maintenance tab from the settings menu
- Choose the production branch you want to configure from the branch list
- Select your preferred day of the week from the day selector
- Choose your preferred hour using the time dropdown
- Click Save to apply your changes