Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
To keep your Lakebase Postgres instances up to date with the latest patches and features, Lakebase applies updates to your project's computes. You can select an update window by choosing a specific day and hour for updates.
How Lakebase applies updates
To apply updates to your compute (Postgres upgrades, security patches, and similar changes), Lakebase restarts the compute where Postgres runs, within the update window you choose. The restart itself typically takes only a few seconds.
To protect performance, Lakebase prewarms your compute's cache during the update process, without adding time to the restart. Prewarming means repopulating Postgres's in-memory buffer cache from storage before your workload continues, so frequently used data is already in memory instead of being read cold from storage after the restart. Prewarming runs automatically. You do not configure it.
What updates are included?
Updates to Lakebase computes may include some or all of the following:
- Postgres minor version upgrades, typically released quarterly
- Security patches and updates
- Operating system updates
- Lakebase features and enhancements
- Updates to other tools and components included in Lakebase compute images
Lakebase also restarts computes for planned maintenance on the infrastructure that hosts them. Planned maintenance restarts happen in your update window.
For the Postgres versions Lakebase supports and a list of recent minor version rollouts, see Postgres version support.
How often are updates applied?
Updates are typically released weekly but may occur more or less frequently, as needed.
Lakebase applies updates to computes based on the following rules:
- Lakebase restarts each compute to apply updates at least every 28 days, in your project's update window.
- Lakebase notifies you at least 1 day before a planned restart.
- A compute that restarts for any other reason, including a manual restart or a start after scaling to zero, receives available updates immediately. The 28-day count starts again from that restart.
- Computes in a transition state (shutting down or restarting) at the time of an update are not updated.
- If a compute is excluded from an update, Lakebase applies the missed update with the next update, assuming the compute meets the update criteria mentioned above.
Schedule updates
You can set a preferred update window by specifying the day and hour. Updates are applied within this window, letting you plan for the required compute restart.
To set your update schedule:
- Navigate to the Lakebase App by clicking the app switcher in the top right corner of your workspace.
- Select your project.
- Click Settings > Updates.
- Choose a day of the week and an hour. Updates occur within this time window and take only a few seconds.

You can check your project's settings for upcoming updates. Lakebase posts planned updates at least 1 day in advance.
Lakebase also sends an email about each planned restart to users with CAN MANAGE permission on the project. The email lists the date and time (in UTC) of the restart for each affected project, and names the workspace that the projects belong to. Each user receives only the projects they can manage. See Manage project permissions.
Apply updates ahead of schedule
Computes receive available updates as soon as they restart. If Lakebase notifies you about an upcoming update, you can restart the compute to apply it right away.
Note
After you restart a compute, the planned update still appears in Settings > Updates until its scheduled time. When that time arrives, Lakebase doesn't restart a compute that you've already restarted.
If a compute regularly scales to zero, it receives updates when it starts up again. In such cases, you may not need to pay much attention to update notifications, as updates are applied naturally through your compute's stop/start cycles.
For compute restart instructions, see Manage computes.
Avoid restarts during a critical period
If you have an event where a brief restart would be disruptive, such as a product launch or a seasonal sales peak, you can keep planned restarts out of it. Lakebase performs planned restarts only in your project's update window, and restarts each compute at least every 28 days. What to do depends on how long the event lasts.
Events shorter than a week
A few days before the event, change your project's update window to a day and hour outside the event. Planned updates and planned maintenance both happen in the update window, so neither falls during the event. See Schedule updates.
Events from one week to 27 days
A few days before the event, at a quiet time, restart every compute that the event depends on, including read replicas. The restart applies any available updates and starts the 28-day count again, so the next planned update falls after the event. Each compute has its own restart schedule, so a compute that you don't restart can still restart during the event. See Restart a compute.
Planned maintenance can still happen in the update window during the event. To limit the impact, set your update window to the quietest hour of your week.
Events longer than 27 days
A single restart can't cover an event that lasts longer than 27 days, so Lakebase might perform a planned restart during the event. To limit the impact, set your update window to the quietest hour of your week.
Steps for any event
- If the computes that the event depends on scale to zero, disable scale to zero until the event ends. A compute that scales to zero restarts when it starts up again, so it could restart during the event. See Scale to zero.
- In the Lakebase App, open your project and click Settings > Updates. Confirm that no planned update falls during the event. If you restarted your computes, an update that was planned before the restart might still appear, but Lakebase doesn't restart those computes again. See Apply updates ahead of schedule.
Note
Unplanned events, such as a hardware failure or urgent security maintenance, can still restart a compute at any time. Make sure your applications reconnect automatically. See Handle connection disruptions during updates.
Handle connection disruptions during updates
Prewarming helps keep the cache warm through the update, so query performance is not affected by a cold cache, but you may still see a brief connection interruption due to the compute restart.
Most Postgres connection drivers include built-in retry mechanisms that automatically handle short-lived connection interruptions, so most applications reconnect without any action required.
If your application has strict availability requirements, check your driver's documentation for options like connection timeouts, retry intervals, and connection pooling strategies. Your configuration should account for the brief moment it takes to complete the restart.
If your application uses connection pooling or has custom retry logic, ensure it can handle brief connection drops during compute restarts.