# Maintenance Window

The maintenance window is a weekly four-hour window. All changes that may cause service interruptions, such as version upgrades, are executed within the maintenance windows.

During the maintenance window, uncontrolled disconnections and an inability to connect to the cluster can happen. Such disconnections are destructive for any ongoing transactions, and clients should also reconnect.

### Maintenance window configuration

The maintenance window consists of the following:

* The day of the week to conduct maintenance.
* The expected time to complete the maintenance activity.

Here is an example of a maintenance window configuration:

```
"maintenanceWindow": {
      "time": "15:39:01",
      "dayOfTheWeek": "Friday"
    }
```

For more information, see [<mark style="color:blue;">Set Up a PostgreSQL Cluster</mark>](/cloud/databases/postgresql/api/v1-api/create-a-database.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ionos.com/cloud/databases/postgresql/overview/maintenance-window.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
