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.6.0

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogWhite PaperLive 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.6.0
    iconOceanBase Database
    SQL - V 4.6.0
    Databases
    • OceanBase Database
    • OceanBase Cloud
    • OceanBase Tugraph
    • Interactive Tutorials
    • OceanBase Best Practices
    Tools
    • OceanBase Cloud Platform
    • OceanBase Migration Service
    • OceanBase Developer Center
    • OceanBase Migration Assessment
    • OceanBase Admin Tool
    • OceanBase Loader and Dumper
    • OceanBase Deployer
    • Kubernetes operator for OceanBase
    • OceanBase Diagnostic Tool
    • OceanBase Binlog Service
    Connectors and Middleware
    • OceanBase Database Proxy
    • Embedded SQL in C for OceanBase
    • OceanBase Call Interface
    • OceanBase Connector/C
    • OceanBase Connector/J
    • OceanBase Connector/ODBC
    • OceanBase Connector/NET
    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-07 11:26:24  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 requirements.

    Procedure

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

      Here is an example of connecting to the database. Please replace the actual environment variables in the example.

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

      For more information about how to connect to the database, see Overview of connecting to a database (MySQL mode) and Overview of connecting to a database (Oracle mode).

    2. Execute the following command to view the status of the arbitration service for the tenant.

      Here is an 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: ENABLED
                        UNIT_NUM: 1
              ZONE_UNIT_NUM_LIST: zone1:1,zone2:1
                      COMPATIBLE: 4.6.0.0
                       MAX_LS_ID: 1002
               RESTORE_DATA_MODE: NORMAL
               FLASHBACK_LOG_SCN: NULL
                         COMMENT:
      1 row in set
      

      If the ARBITRATION_SERVICE_STATUS column is ENABLED, 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 command to disable the arbitration service for the tenant.

      The statement is as follows:

      ALTER TENANT tenant_name [SET] ENABLE_ARBITRATION_SERVICE = false; 
      

      In this statement, tenant_name specifies the name of the tenant for which you want to disable the arbitration service. SET is an optional keyword.

      Here is an example of disabling the arbitration service for the oracle001 tenant:

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

      Here is an 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.6.0.0
                       MAX_LS_ID: 1002
               RESTORE_DATA_MODE: NORMAL
               FLASHBACK_LOG_SCN: NULL
                         COMMENT:
      1 row in set
      

      If the ARBITRATION_SERVICE_STATUS column is DISABLED, the arbitration service is disabled for the tenant.

    What to do next

    After you disable the arbitration service for all tenants, you can delete the arbitration service if you no longer need it. For more information, see Delete the arbitration service.

    References

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

    • 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 degradation timeout

    • Replace the arbitration service for a cluster

    • Delete the arbitration service for a cluster

    Previous topic

    Enable 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