# Maintenance Window

The **Maintenance Window** tab allows you to schedule maintenance activities like updates, patches, and OS patching at a specified date and time without disrupting your productive hours. You can schedule a maintenance window on non-productive hours (For example, weekly on Sunday). You can schedule a maintenance window with specific days and times to allow for planned database downtime.

To edit the schedule, click the **edit** button next to it. This takes you to the **Settings** tab, where you can schedule your start day, start time, and duration

Below this, you see the upcoming maintenance schedule and any scheduled activities.&#x20;

1. Click the maintenance schedule to see the following:

   Search bar to search for specific maintenance activity, filters by statuses or scheduled by.

   * Maintenance activity - Maintenance activities can be system actions such as patching or OS updates. They can also be user initiated actions such as parameter profile update, compute resize, storage/IOPS resize, switch over/switch back.
   * Task status - Displays the statuses of the maintenance tasks, possible values are SUCCESS, IN\_PROGRESS, QUEUED, FAILED, ABORTED.
   * Impact - Displays if there is a service downtime due to the maintenance activity. It also displays the estimated downtime duration.
   * Scheduled By - Displays whether the maintenance activity was initiated by Tessell or by the user.
2. Click the ellipsis (⋮) icon on the maintenance schedule to see additional options:
   * Reschedule -  Upon clicking, a confirmation dialog box opens. Specify the new date and time, then click **Confirm**.
   * Start Now - Upon clicking, a confirmation dialog box appears asking for confirmation to start the maintenance. Click **Start** to begin immediately.
   * Cancel - Click to cancel the existing maintenance schedule.

#### Past Maintenance Window

The past maintenance window section displays maintenance activities that have already occurred.

Use the **Search bar** to find a specific past maintenance activity. You can also filter the **Task status** using the dropdown list.

Following information is displayed in columns:

* **Maintenance date**: Displays the dates on which maintenance was performed.
* **Task status**: Displays the statuses of the maintenance tasks, whether they were skipped or successful. It also displays the number of successful tasks.
  * A maintenance window run is skipped if there are no tasks scheduled for it.
  * If an action on the DB service runs for the duration of the maintenance window, the maintenance window run is skipped.
* **Runtime**: Displays the duration of a successful maintenance activity. Skipped or canceled maintenance activities are reflected by their respective statuses.
* **Scheduled By**: Displays whether the maintenance activity was initiated by Tessell or by the user.
