Service Maintenance of Autonomous AI Database on Dedicated Exadata Infrastructure

Oracle schedules and performs all patching and other maintenance operations on all the Autonomous AI Database resources of on Dedicated Exadata Infrastructure. At the same time, it provides you with various options to customize, view, and reschedule maintenance events for the different infrastructure resources.

Note: With Database In-Memory enabled, you may experience performance degradation during any patching activity that results in rebooting the database. For additional information on Database In-Memory, see Database In-Memory.

Service Maintenance Types

Oracle schedules and performs different service maintenance activities on your Autonomous AI Database. These maintenance events vary in their scope and frequency of patching.

Oracle’s Cloud Operations team continuously monitors patching and will perform a rollback if a patch fails basic sanity tests. If a rollback is required, the maintenance will be rescheduled. While rollback is the last option, our goal is always to provide the fastest remediation to restore your database to a healthy state. If a regression appears only within your application, it should be reported via a service request (SR). For critical issues requiring immediate attention, Oracle can develop and deploy a one-off patch outside the standard maintenance schedule.

Specify When Maintenance Can Occur

In general, Oracle schedules and performs entire fleet maintenance spread throughout each quarter and monthly infrastructure security fixes for vulnerabilities with CVSS scores greater than or equal to 7. You can let Oracle handle maintenance scheduling, or you can set a specific maintenance window when Oracle can begin maintenance operations.

Customizing Quarterly Maintenance

You either choose a schedule for quarterly automatic maintenance of the Autonomous AI Database resources or let Oracle schedule the updates automatically. In advance, Oracle notifies you of the date and time of upcoming scheduled maintenance.

You can perform the following with automatic quarterly maintenance at various resource levels, as listed in the table below:

Infrastructure Resource Notes & Further Reference
Exadata Infrastructure (EI)
Autonomous Exadata VM Cluster (AVMC)

Note: AVMC resources provisioned on the Exadata Infrastructure resources in Oracle Cloud before the launch of the multiple VM Autonomous AI Database feature inherit the maintenance schedule from its associated Exadata Infrastructure.

Autonomous Container Database (ACD)
  • Update Autonomous Container Database Maintenance Preferences demonstrates how to update the following preferences:
    • Maintenance method for the automatic updates (Rolling or Non-rolling). You can also include the time-zone file to be updated along with the RU.

      Note: In an Autonomous Data Guard configuration, the non-rolling maintenance method results in downtime for the primary and standby ACDs during their respective maintenance window until the patching completes.

    • Maintenance version for the automatic updates (Next RU or Latest RU).

    • Automatic maintenance schedule for the ACD. There are various options to customize the maintenance schedule as explained in Settings in Maintenance Schedule that are Customizable.

      Note: You can not define a custom schedule for a standby ACD in an Autonomous Data Guard configuration. However, you can set number of days for which the standby ACD maintenance will be scheduled before primary ACD maintenance because standby ACD is always patched before primary ACD.

  • You can also schedule an on-demand maintenance to update RU (Release Update) along with the time-zone file or just the time-zone file for an ACD. Refer to Schedule a Quarterly Maintenance Update for instructions.

    Note: Only in case of on-demand time-zone file updates, the standby ACD will be patched 3 days before the primary ACD in Autonomous Data Guard enabled ACDs.

  • View and Manage Scheduled Maintenance of an Autonomous Container Database
  • View Past Maintenance of an Autonomous Container Database

Tip: Oracle recommends that you set a maintenance window for all the infrastructure resources listed above to:

Settings in Maintenance Schedule that are Customizable

You can choose the following details from the Oracle Cloud Infrastructure console while defining a custom schedule for any of the above infrastructure resources.

Customizing Monthly Infrastructure Security Maintenance

Monthly infrastructure security maintenance, when needed, is scheduled to be applied during a 21-day window that begins between the 18th and 21st of each month and will run till the 9th to the 12th of the following month. You will receive notification of the proposed schedule at least 7 days before the start of the monthly maintenance window, and you can reschedule monthly maintenance to another date in the window if desired.

Monthly security patches can be rescheduled to another time within the maintenance window but cannot be skipped or rescheduled beyond the 21-day window. You can reschedule monthly security maintenance when rescheduling the quarterly maintenance as long as you keep the monthly within the current maintenance window.

There is no impact on the Autonomous AI Databases or applications connected to them during the monthly Infrastructure security patching activity. Updates to database servers are applied online via Ksplice technology, and updates to storage servers are applied in a rolling fashion.

However, while updating your service infrastructure, Oracle may block some operations, including memory, and storage scaling, operating system and Grid Infrastructure patching (including prechecks), and elastic expansion of compute and storage servers. Please plan to defer these operations until after the updates are complete. Application of security updates takes about 15 minutes per DB server host, plus 60 minutes per storage server, depending on the I/O activity. If you attempt an affected operation, the console will notify you of the ongoing security updates. No software is updated in the guest VMs.

Customizing One-off Patches

Using the Oracle Cloud Console Maintenance View, you can edit the scheduled start time or choose to install the one-off patch immediately. By default, Oracle schedules a one-off patch to be applied within 72 hours of the patch becoming available. If no action to change the schedule occurs, then the patch is automatically applied. You can reschedule the one-off patches only within the current quarter. However, you can not skip a one-off patch altogether.

Specify What Kind of Patches Apply

One standard maintenance operation is to apply database software patches to your Autonomous Container Databases and, by extension, the Autonomous AI Databases created in them. By default, Oracle applies Release Updates (RUs). You can configure the maintenance type to either Next RU to update the Autonomous Container Database to the next release update or the Latest RU to update Autonomous Container Database to the latest release update in the next maintenance window. Accordingly, Oracle will use an image type that meets your preference when available. You always have the option to change a given scheduled patch to a different version when desired.

For step-by-step guidance, see Update Autonomous Container Database Maintenance Preferences.

View and Manage Already Scheduled Maintenance

Once a maintenance activity is scheduled based on the maintenance window you set, you can manage the actual timing of the activity, even to the point of changing the patch version, applying the patch immediately, or skipping the activity.

Scheduled Maintenance Details

For each scheduled Exadata Infrastructure, Autonomous Exadata VM Cluster, or Autonomous Container Database maintenance event, the resource’s Maintenance page lists the following details:

Management Operations on a Scheduled Maintenance

For each maintenance event listed in an infrastructure resource maintenance page, you can perform the following management operations, provided that the event is not already in progress:

Note: Patch Now is not available for an Autonomous AI Database enabled with Autonomous Data Guard. As a workaround, you can modify the scheduled maintenance time to begin in the nearest 4 hour period available. Ensure that the standby is patched before the primary with a buffer period of 1 to 7 days between them.

Note: You can not skip two consecutive maintenance events. After skipping a maintenance event, you can not skip the next immediate scheduled maintenance event; you can only skip the maintenance events for two alternate quarters in a year.

For step-by-step guidance, see:

View Maintenance Status Notifications

The DB_NOTIFICATIONS view stores information about maintenance status notifications for your Autonomous AI Database instance.

APPLIES TO: Applicable Oracle Public Cloud only

To show notification information:

  1. Connect to your Autonomous AI Database instance.

  2. Use the following query to view maintenance (patching) information.

     SELECT * FROM DB_NOTIFICATIONS WHERE TYPE = 'MAINTENANCE';
    

The following provides details about the maintenance status.

The following table shows the DB_NOTIFICATIONS columns and datatypes.

Column Datatype Description
TYPE VARCHAR2(128)TYPE

Specifies the type of the notification.

Valid value is: MAINTENANCE.

TIME TIMESTAMP(6) WITH TIME ZONE Time when the notification entry was added.
EXPECTED_START_DATE TIMESTAMP(6) WITH TIME ZONE Scheduled maintenance start time.
EXPECTED_END_DATE TIMESTAMP(6) WITH TIME ZONE Scheduled maintenance endtime.
ACTUAL_START_DATE TIMESTAMP(6) WITH TIME ZONE Actual maintenance start time.
ACTUAL_END_DATE TIMESTAMP(6) WITH TIME ZONE Actual maintenance end time.
PRODUCT VARCHAR2(128)

Product or component for which maintenance is scheduled or ongoing.

Values: DATABASE, GI, DOM0, DOM0_CELL, DOMU, CELL, IBSWITCH.

STATUS VARCHAR2(128)

Current status of the maintenance.

Values: SCHEDULED, IN_PROGRESS, COMPLETED, FAILED, SKIPPED.

OP_MODE VARCHAR2(64)

Patching operation mode.

Values: RAC_ROLLING, NON_ROLLING.

DATABASE_IMPACT VARCHAR2(64)

Database impact.

Values: AVAILABILITY, PERFORMANCE, NONE.

DESCRIPTION VARCHAR2(128) The notification message details.
PATCH_ID VARCHAR2(128) Patch version.

Automatic Queuing of Maintenance Events

Quarterly Maintenance Events of DifferentAutonomous AI DatabaseResources

If you choose a custom maintenance schedule for any infrastructure resources, Oracle honors your preference while scheduling the maintenance events. However, should your custom schedule create any overlap with other infrastructure resources, Oracle automatically serializes such that the maintenance events execute in this sequence with some time gap between them; Exadata Infrastructure, Autonomous Exadata VM Cluster, Autonomous Container Database.

Example: Suppose an Exadata Infrastructure resource maintenance event and an Autonomous Container Database maintenance event are scheduled to start simultaneously. In that case, the Exadata Infrastructure resource maintenance event starts, and the Autonomous Container Database maintenance event is queued and begins immediately after the Exadata Infrastructure resource maintenance event.

Quarterly Maintenance Events and Monthly Infrastructure Security Patches

Scenario Queuing
When a quarterly maintenance activity is scheduled within 24hours of a monthly infrastructure security patch. The scheduled monthly maintenance will be skipped, and applied immediately following the quarterly maintenance.
When a quarterly maintenance activity is scheduled at the same time as a monthly infrastructure security patch. The quarterly maintenance will be performed first, and the monthly security patch will be applied immediately following the completion of the quarterly maintenance.
When a monthly infrastructure security patch is scheduled to begin 0-24 hours ahead of the quarterly maintenance.

The scheduled monthly maintenance will wait and will be performed immediately following the quarterly maintenance.

If the quarterly maintenance is subsequently rescheduled, then the monthly security maintenance will begin immediately.

Oracle, therefore, recommends scheduling quarterly and monthly maintenance at the same time. As a result, if you reschedule the quarterly maintenance event at the last moment, the monthly maintenance activity will run at the scheduled time upon editing the schedule.

When a quarterly maintenance is scheduled outside the 24-hour window of the security maintenance in the same month.

You will need one maintenance window for quarterly maintenance and one maintenance window for security maintenance.

Note: Any time before the scheduled monthly Exadata Infrastructure maintenance, you can reschedule it.

The storage servers will only be updated once if you schedule the monthly security maintenance at least 25 hours before the quarterly maintenance in the month where both quarterly and monthly security maintenance has been scheduled.

View Past Maintenance Events

You can view past maintenance of an Exadata Infrastructure, Autonomous Exadata VM Cluster, or an Autonomous Container Database resource from its Details page.

For step-by-step guidance, see:

Monitor Service Maintenance Events

You can monitor your Autonomous AI Database infrastructure resources’ maintenance events using the Events and Notifications services. Using the Events and Notifications services, you can get email notifications when maintenance events occur on Exadata Infrastructure, Autonomous Exadata VM Cluster, and Autonomous Container Database resources.

For each infrastructure resource, four different maintenance events are generated as listed below:

For the complete list of events generated for each infrastructure resource, see Events for Autonomous AI Database on Dedicated Exadata Infrastructure.

You can subscribe to any of these maintenance events for an infrastructure resource by performing the following high-level tasks:

For a step-by-step guide with an example, see Notifications Example: Emails for Maintenance Events.

Related Content

Create a Service Request in My Oracle Support