Control Oracle APEX Upgrades

Oracle maintains Oracle APEX instance in your Autonomous AI Database by applying new releases and Patch Set Bundles. When a new APEX release becomes available in your region, you can choose when to apply it during the upgrade window. Oracle applies Patch Set Bundles automatically during scheduled maintenance windows.

About Oracle APEX Upgrades and Patches

Autonomous AI Database receives two types of Oracle APEX updates:

Autonomous AI Databases at the Early patch level receive new APEX releases and Patch Set Bundles one week before databases at the Regular patch level. See Set the Patch Level for more information.

To validate a new APEX release before you upgrade your production database, clone your database, apply the new release to the clone, and test your applications on the clone. See Clone an Autonomous AI Database Instance for more information.

Oracle APEX Upgrade and Patch Notifications

Oracle uses three notification channels to announce Oracle APEX releases and Patch Set Bundles:

If your database does not use APEX, Autonomous AI Database does not emit Information events related to APEX.

View Current Oracle APEX Upgrade Window

You can view the current Oracle APEX upgrade window in the following locations:

To view the current upgrade window in Administration Services:

  1. Open APEX Administration Services.

    See Access Oracle APEX Administration Services for more information.

  2. Review the Available Updates section in the right sidebar.

Set Oracle APEX Upgrade Window

Use the Available Updates dialog in Oracle APEX Administration Services to set the upgrade window for future releases.

You can change the upgrade window in Administration Services only when no upgrade is currently available. If you want to extend the upgrade window after a new release becomes available, use the PL/SQL API.

To set the APEX upgrade window:

  1. Open APEX Administration Services.

    See Access Oracle APEX Administration Services for more information.

  2. Open the Available Updates dialog by clicking the gear icon next to Available Updates.

  3. Select the desired Upgrade Window.

    Description of adb_apex_available_updates.png follows

    Description of the illustration adb_apex_available_updates.png

  4. Click Apply Changes.

Notes for Setting the Oracle APEX Upgrade Window

Apply Oracle APEX Upgrades

When a new APEX release becomes available, you can apply it at any time before the scheduled upgrade date. If you do not apply it manually, Oracle applies it automatically on the scheduled date shown in Available Updates.

The upgrade runs in the background and proceeds through these phases:

  1. Create database schemas and database objects.

  2. Migrate application metadata.

  3. Migrate runtime data and switch to the new APEX version.

  4. Migrate additional log and summary data.

Phases 1 and 4 do not block application end users. Phase 2 affects developers who modify applications. Phase 3 affects all APEX access and is expected to take up to 3 minutes. Oracle installs additional language support for the APEX development environment after phase 4.

To apply an APEX upgrade manually:

  1. Open APEX Administration Services.

    See Access Oracle APEX Administration Services for more information.

  2. In Available Updates, click Upgrade Now.

    If the Available Updates section displays System is up-to-date, your Autonomous AI Database is already running the latest APEX release available in your region.

Description of adb_apex_updates_deferred.png follows

Description of the illustration adb_apex_updates_deferred.png

After the upgrade starts, administrators can continue to monitor the status in Administration Services or using PL/SQL API, and developers can view the status in App Builder.

About Oracle APEX Upgrade PL/SQL API

Use the Oracle APEX PL/SQL API to view the upgrade status, change the upgrade window, and apply an available upgrade programmatically.

The following instance parameters control APEX upgrades in Autonomous AI Database:

To examine the current parameter values, use APEX_INSTANCE_ADMIN.GET_PARAMETER PL/SQL API. To set parameter values, use APEX_INSTANCE_ADMIN.SET_PARAMETER. See Available Parameter Values in Oracle APEX API Reference for more information.

To view the current APEX upgrade status using the PL/SQL API:

  1. Connect to the database as ADMIN or as another database user with APEX_ADMINISTRATOR_ROLE role.

  2. Run the following query:

    select APEX_INSTANCE_ADMIN.get_parameter('UPGRADE_STATUS') as upgrade_status,
           APEX_INSTANCE_ADMIN.get_parameter('UPGRADE_DEFERRED') as upgrade_deferred,
           APEX_INSTANCE_ADMIN.get_parameter('UPGRADE_VERSION') as upgrade_version,
           APEX_INSTANCE_ADMIN.get_parameter('UPGRADE_DATE') as upgrade_date
      from dual;

    If no upgrade is available, the query result will be similar to the following:

    UPGRADE_STATUS UPGRADE_DEFERRED UPGRADE_VERSION UPGRADE_DATE
    -------------- ---------------- --------------- ------------
    UP-TO-DATE     Y                null            null

    If an upgrade is available, the result will be similar to the following:

    UPGRADE_STATUS UPGRADE_DEFERRED UPGRADE_VERSION UPGRADE_DATE
    -------------- ---------------- --------------- --------------------
    SCHEDULED      Y                26.1.0          2026-08-30T19:06:11Z

To set the APEX upgrade window using the PL/SQL API:

  1. Connect to the database as ADMIN or as another database user with APEX_ADMINISTRATOR_ROLE role.

  2. Set UPGRADE_DEFERRED value to N for the default upgrade window or Y for the extended upgrade window.

    begin
      APEX_INSTANCE_ADMIN.set_parameter('UPGRADE_DEFERRED', 'Y');
      commit;
    end;
  3. Verify the setting.

    select APEX_INSTANCE_ADMIN.get_parameter('UPGRADE_DEFERRED') as upgrade_deferred
      from dual;

To apply the available APEX upgrade using the PL/SQL API:

  1. Connect to the database as ADMIN or as another database user with APEX_ADMINISTRATOR_ROLE role.

  2. Run the following PL/SQL block:

    begin
      APEX_INSTANCE_ADMIN.set_parameter('UPGRADE_STATUS', 'RUN');
      commit;
    end;

    The PL/SQL block initiates the upgrade and returns immediately.

  3. Verify that the upgrade has started.

    select APEX_INSTANCE_ADMIN.get_parameter('UPGRADE_STATUS') as upgrade_status
      from dual;

    If the upgrade has started, the result will be similar to the following:

    UPGRADE_STATUS
    --------------
    RUNNING