OceanBase logo

OceanBase

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

Product Overview
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

OceanBase

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

Product Overview
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 & CertificationTicket
    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.6.0
    • 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

    Disable the arbitration service for a tenant

    Last Updated:2026-05-11 06:18:48  Updated
    share
    What is on this page
    Procedure
    What to do next
    References

    folded

    share

    Applicability

    This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support the arbitration service.

    After you enable the arbitration service for a tenant, you can disable it based on your business needs.

    Procedure

    1. Log in to the sys tenant of the cluster as the root user.

      Below is a connection example. Use your actual environment when connecting to the database.

      obclient -h10.xx.xx.xx -P2883 -uroot@sys#obdemo -p***** -A
      

      For more detailed guidance on connecting to the database, see Overview of connection methods (MySQL-compatible mode) and Overview of connection methods (Oracle-compatible mode).

    2. Execute the following statement to query the arbitration service status of the tenant.

      Example:

      obclient(root@sys)[oceanbase]> SELECT * FROM oceanbase.DBA_OB_TENANTS WHERE tenant_name = 'oracle001'\G
      

      The query result is as follows:

      *************************** 1. row ***************************
                       TENANT_ID: 1004
                     TENANT_NAME: oracle001
                     TENANT_TYPE: USER
                     CREATE_TIME: 2026-01-26 19:40:21.457857
                     MODIFY_TIME: 2026-01-26 19:41:14.594119
                    PRIMARY_ZONE: zone1;zone2
                        LOCALITY: FULL{1}@zone1, FULL{1}@zone2
               PREVIOUS_LOCALITY: NULL
              COMPATIBILITY_MODE: ORACLE
                          STATUS: NORMAL
                   IN_RECYCLEBIN: NO
                          LOCKED: NO
                     TENANT_ROLE: PRIMARY
               SWITCHOVER_STATUS: NORMAL
                SWITCHOVER_EPOCH: 0
                        SYNC_SCN: 1687844691346544381
                  REPLAYABLE_SCN: 1687844691346544381
                    READABLE_SCN: 1687844691346544381
              RECOVERY_UNTIL_SCN: 4611686018427387903
                        LOG_MODE: NOARCHIVELOG
      ARBITRATION_SERVICE_STATUS: ENABLED
                        UNIT_NUM: 1
              ZONE_UNIT_NUM_LIST: zone1:1,zone2:1
                      COMPATIBLE: 4.4.2.1
                       MAX_LS_ID: 1002
               RESTORE_DATA_MODE: NORMAL
               FLASHBACK_LOG_SCN: NULL
                         COMMENT:
                 PROTECTION_MODE: MAXIMUM PERFORMANCE
                PROTECTION_LEVEL: MAXIMUM PERFORMANCE
      1 row in set
      

      According to the query result, the ARBITRATION_SERVICE_STATUS column is ENABLED, which indicates that the arbitration service is enabled for the tenant.

      For more information about the DBA_OB_TENANTS view, see DBA_OB_TENANTS.

    3. Execute the following statement to disable the arbitration service for the tenant.

      The syntax is as follows:

      ALTER TENANT tenant_name [SET] ENABLE_ARBITRATION_SERVICE = false; 
      

      Here, tenant_name is the name of the tenant for which you want to disable the arbitration service. The SET keyword is optional.

      Example for disabling the arbitration service for tenant oracle001:

      obclient(root@sys)[oceanbase]> ALTER TENANT oracle001 ENABLE_ARBITRATION_SERVICE = false; 
      
    4. After the command is executed successfully, query the oceanbase.DBA_OB_TENANTS view again to confirm whether the arbitration service is disabled for the tenant.

      Example:

      obclient(root@sys)[oceanbase]> SELECT * FROM oceanbase.DBA_OB_TENANTS WHERE tenant_name = 'oracle001'\G
      

      The query result is as follows:

      *************************** 1. row ***************************
                       TENANT_ID: 1004
                     TENANT_NAME: oracle001
                     TENANT_TYPE: USER
                     CREATE_TIME: 2026-01-26 19:40:21.457857
                     MODIFY_TIME: 2026-01-27 13:51:47.053502
                    PRIMARY_ZONE: zone1;zone2
                        LOCALITY: FULL{1}@zone1, FULL{1}@zone2
               PREVIOUS_LOCALITY: NULL
              COMPATIBILITY_MODE: ORACLE
                          STATUS: NORMAL
                   IN_RECYCLEBIN: NO
                          LOCKED: NO
                     TENANT_ROLE: PRIMARY
               SWITCHOVER_STATUS: NORMAL
                SWITCHOVER_EPOCH: 0
                        SYNC_SCN: 1687845116605766616
                  REPLAYABLE_SCN: 1687845116605766616
                    READABLE_SCN: 1687845116605766616
              RECOVERY_UNTIL_SCN: 4611686018427387903
                        LOG_MODE: NOARCHIVELOG
      ARBITRATION_SERVICE_STATUS: DISABLED
                        UNIT_NUM: 1
              ZONE_UNIT_NUM_LIST: zone1:1,zone2:1
                      COMPATIBLE: 4.4.2.1
                       MAX_LS_ID: 1002
               RESTORE_DATA_MODE: NORMAL
               FLASHBACK_LOG_SCN: NULL
                         COMMENT:
                 PROTECTION_MODE: MAXIMUM PERFORMANCE
                PROTECTION_LEVEL: MAXIMUM PERFORMANCE
      1 row in set
      

      According to the query result, the ARBITRATION_SERVICE_STATUS column is DISABLED, which indicates that the arbitration service is disabled for the tenant.

    What to do next

    After you disable the arbitration service for all tenants, you can remove the arbitration service if you no longer need it. For more information about removing the arbitration service, see Remove the arbitration service.

    References

    For more information about the arbitration service, see the following:

    • Deploy an OceanBase cluster with two replicas and the arbitration service

    • Overview of the arbitration service

    • Enable the arbitration service for a tenant

    • Modify the log stream downgrade control time

    • Replace the arbitration service for a cluster

    • Remove the arbitration service for a cluster

    Previous topic

    Enable the arbitration service for a tenant
    Last

    Next topic

    Modify the log stream downgrade control time
    Next
    What is on this page
    Procedure
    What to do next
    References