OceanBase logo

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

International - English
中国站 - 简体中文
日本 - 日本語
Sign In
Start on Cloud

A unified distributed database ready for your transactional, analytical, and AI workloads.

DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS
OceanBase CloudOceanBase Database
ToolsConnectors and Middleware
QUICK START
OceanBase CloudOceanBase Database
BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

Start on Cloud
编组
All Products
    • Databases
    • iconOceanBase Database
    • iconOceanBase Cloud
    • iconOceanBase Tugraph
    • iconInteractive Tutorials
    • iconOceanBase Best Practices
    • Tools
    • iconOceanBase Cloud Platform
    • iconOceanBase Migration Service
    • iconOceanBase Developer Center
    • iconOceanBase Migration Assessment
    • iconOceanBase Admin Tool
    • iconOceanBase Loader and Dumper
    • iconOceanBase Deployer
    • iconKubernetes operator for OceanBase
    • iconOceanBase Diagnostic Tool
    • iconOceanBase Binlog Service
    • Connectors and Middleware
    • iconOceanBase Database Proxy
    • iconEmbedded SQL in C for OceanBase
    • iconOceanBase Call Interface
    • iconOceanBase Connector/C
    • iconOceanBase Connector/J
    • iconOceanBase Connector/ODBC
    • iconOceanBase Connector/NET
icon

OceanBase Database

SQL - V4.4.2

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogLive DemosTraining & Certification
    Company
    About OceanBaseTrust CenterLegalPartnerContact Us
    Follow Us

    © OceanBase 2026. All rights reserved

    Cloud Service AgreementPrivacy PolicySecurity
    Contact Us
    Document Feedback
    1. Documentation Center
    2. OceanBase Database
    3. SQL
    4. V4.4.2
    iconOceanBase Database
    SQL - V 4.4.2
    SQL
    KV
    • V 4.4.2
    • V 4.3.5
    • V 4.3.3
    • V 4.3.1
    • V 4.3.0
    • V 4.2.5
    • V 4.2.2
    • V 4.2.1
    • V 4.2.0
    • V 4.1.0
    • V 4.0.0
    • V 3.1.4 and earlier

    Upgrade overview

    Last Updated:2026-04-24 09:49:05  Updated
    share
    What is on this page
    Limitations
    Considerations
    Upgrade instructions
    Upgrade path
    What to do next
    References

    folded

    share

    OceanBase Database supports cluster upgrades by using upgrade scripts. The entire upgrade process is transparent to applications, and no write or service stoppage operations are required on the server side. OceanBase Database upgrades zones in sequence. During the upgrade, partition leaders will actively switch between zones and redirect business traffic from the zone being upgraded to other zones.

    This topic describes the limitations, considerations, and upgrade paths of OceanBase Database.

    Limitations

    When you upgrade an OceanBase cluster, note the following limitations:

    • DDL operations are disabled during the upgrade. They are enabled after the upgrade is completed.
    • The major freeze operation is disabled during the upgrade. It is enabled after the upgrade is completed.
    • Migration replication and load balancing are disabled during the upgrade.
    • Physical backup and restore are disabled during the upgrade. No physical baseline backup is initiated during the upgrade (log archiving continues), and no physical restore is performed.
    • You cannot create a new tenant during the upgrade.

    Notice

    If the cluster is associated with an arbitration service, you must upgrade the arbitration service before you upgrade the cluster. For more information about how to upgrade the arbitration service, see Upgrade the arbitration service.
    You can query the oceanbase.DBA_OB_ARBITRATION_SERVICE view in the sys tenant to check whether the cluster is associated with an arbitration service.

    Considerations

    When you upgrade an OceanBase cluster, note the following considerations:

    • During the upgrade from OceanBase V4.0 to V4.1, log archiving is stopped.

    • If the upgrade requires ADD SERVER or DELETE SERVER operations, contact technical support.

    • You cannot directly upgrade an OceanBase transitional version. You must follow the upgrade sequence specified in the oceanbase_upgrade_dep.yml file.

    • You must directly connect to the observer process that hosts the Root Service to run the upgrade script. You cannot use OceanBase Database Proxy (ODP) to connect.

    • During the upgrade, the following parameters may change. You must back up these parameters before the upgrade:

      • server_permanent_offline_time
      • enable_rebalance
      • enable_rereplication
    • Starting from OceanBase Database V4.3.0 Beta, the zlib_1.0 compression algorithm is no longer supported. During the upgrade, the following pre-checks are performed:

      • The use of the zlib compression algorithm as the log_transport_compress_func parameter is no longer supported. You must use another compression algorithm instead.
      • If some tables use the zlib compression algorithm during the upgrade, you must replace the compression algorithm with another supported one or disable compression during the upgrade.
      • The use of zlib as the compression algorithm for OBKV-Table connections is not allowed. You must set the tableapi_transport_compress_func parameter to another compression algorithm.
    • When you upgrade a V4.3 cluster of a version lower than V4.3.3 to V4.3.3 or later, the standby tenant of the lower version cannot parse the logs generated by the higher version cluster. In this case, an error is returned when the standby tenant submits logs (the error is not persisted). For more information about how to restore data, see Prepare for data restore.

    • Tenants backed up in a V4.3.2 cluster cannot be restored in a V4.3.3 cluster.

    • You cannot upgrade to V4.3.3 if you have V4.3.2 backups (V4.3.2 backups cannot be restored in V4.3.3).

    • If the following error is returned during the pre-check for the upgrade to V4.4.2:

      tenant has sys table with progressive_merge_round=1: tenant_id xxx table_ids 'xxx'
      
      • If the current version is V4.2.5 BP7, you must upgrade it to V4.2.5 BP7 hotfix3 or later before you upgrade it to V4.4.2.
      • If the current version is V4.3.5 BP2 or earlier, the upgrade to V4.4.2 is temporarily not supported.

    Upgrade instructions

    • You can smoothly upgrade an OceanBase cluster in Shared-Nothing (SN) mode from V4.2.5, V4.2.5 BP1 to V4.2.5 BP6 to V4.2.5 BP7, and then to V4.4.2 BP1.
    • You can smoothly upgrade an OceanBase cluster in Shared-Nothing (SN) mode from V4.3.5, V4.3.5 BP1 to V4.3.5 BP5 to V4.3.5 BP6, and then to V4.4.2 BP1.
    • You can smoothly upgrade an OceanBase cluster in Shared-Nothing (SN) mode from V4.4.0 or V4.4.1 to V4.4.2 BP1.

    Upgrade path

    4257-4356-4421-460

    Note

    • The upgrade path shown in this topic is applicable only to the shared nothing mode. For more information about the upgrade path for other versions, see the oceanbase_upgrade_dep.yml file, which records the OceanBase version upgrade topology.
    • After you decompress the OceanBase RPM package of the target version, two directories named home and use are generated in the directory that stores the RPM package. The related upgrade scripts and the oceanbase_upgrade_dep.yml file are stored in the home/admin/oceanbase/etc directory.
    You can use the oceanbase_upgrade_dep.yml file to verify the upgrade path. For more information, see Step 2: Confirm the upgrade process in Upgrade an OceanBase cluster.

    The upgrade path diagram is explained as follows:

    • V4.2.x upgrade path:

      • V4.0.0.0/V4.1.0.0-V4.1.0.2/V4.2.0.0 can be upgraded to V4.2.1.11 and then to V4.2.5.7.
      • V4.2.2-V4.2.4 can be directly upgraded to V4.2.5.7, or can be first upgraded to V4.2.5.0-V4.2.5.6 and then to V4.2.5.7.
      • V4.2.5 BP7 can be directly upgraded to V4.4.2 or V4.4.2.1.
      • Barrier version: V4.2.1.11, V4.2.5.7.
    • V4.3.x upgrade path:

      • All V4.3.x versions can be directly upgraded to V4.3.5.6.
      • V4.3.5.6 can be upgraded to V4.4.2.1.
      • The V4.2.x database or a lower version cannot be upgraded to V4.3.x.
      • Barrier version: V4.3.5.6.
    • V4.4.x upgrade path:

      • V4.4.0/V4.4.1 can be directly upgraded to V4.4.2 or V4.4.2.1.
      • V4.4.0/V4.4.1 can be directly upgraded to V4.6.0.
    • V4.5.x upgrade path:

      • V4.5.0 can be upgraded to V4.6.0.

    What to do next

    Upgrade an OceanBase cluster

    References

    For more information about how to upgrade an OceanBase cluster by using OceanBase Cloud Platform (OCP), see Upgrade an OceanBase cluster.

    Previous topic

    Reset cluster parameters
    Last

    Next topic

    Upgrade an arbitration service
    Next
    What is on this page
    Limitations
    Considerations
    Upgrade instructions
    Upgrade path
    What to do next
    References