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 Admin Tool

V4.5.0

  • What's New
  • Product Introduction
    • What is OAT?
    • Architecture
    • Glossary
  • Quick Start
    • Install OAT
    • Get started with OAT
  • oatcli
  • Upgrade Guide
  • User Guide
    • Log in to OAT
    • Page layout of the OAT console
    • Servers
      • Add a server
      • Edit a server
      • Maintain a server
      • Remove servers
      • Manage credentials
    • Product services
      • Product service versions that support IPv6
      • Install, upgrade, roll back, and uninstall OCP
      • Install, upgrade, roll back, and uninstall ODC
      • Install, upgrade, and uninstall OMS
      • Install, upgrade, roll back, and uninstall OAS
      • Install, upgrade, roll back, modify, and uninstall OB Sharding
      • Install, upgrade, and uninstall MetaDB
      • Install and uninstall OBDNS
      • Install and uninstall InfluxDB
      • Install and uninstall NLB
      • Install and uninstall OpenSearch
      • Install and uninstall SQLAuditStore
      • Create, upgrade, and uninstall an arbitration service
      • Install and uninstall OBLB
      • Take over OCP
      • Take over ODC
      • Take over OB Sharding
      • Take over OMS
      • Take over MetaDB
      • Take over OBDNS
      • Take over InfluxDB
      • Take over NLB
      • Take over the Arbitration Service
      • Manage images
      • Change resources of services and components
      • Manage tools
      • Refresh data
      • Manage containers
    • Operation and maintenance
      • In-depth inspection
        • Overview
        • Configure inspection items
        • Initiate an in-depth inspection
          • Initiate an in-depth inspection for a single object
          • Initiate a global in-depth inspection
          • Initiate an in-depth inspection for multiple objects
        • View an inspection task
        • Manage an inspection report
          • View an inspection report
          • Download an inspection report
      • High availability testing
        • Create a high availability test
        • View the high availability test
    • System security
      • Use the task center
      • Manage packages
      • Manage users
      • Audit operations
      • System parameters
        • View and modify system parameters
        • OAT configuration parameters
  • FAQ
  • Release Notes
    • OAT V4.5.0
    • OAT V4.4.1
    • OAT V4.4.0
    • OAT V4.3.2
    • OAT V4.3.1
    • OAT V4.3.0

Download PDF

What's New What is OAT? Architecture Glossary Install OAT Get started with OAT oatcli Upgrade Guide Log in to OAT Page layout of the OAT console Add a server Edit a server Maintain a server Remove servers Manage credentials Product service versions that support IPv6 Install, upgrade, roll back, and uninstall OCP Install, upgrade, roll back, and uninstall ODC Install, upgrade, and uninstall OMS Install, upgrade, roll back, and uninstall OAS Install, upgrade, roll back, modify, and uninstall OB Sharding Install, upgrade, and uninstall MetaDB Install and uninstall OBDNS Install and uninstall InfluxDB Install and uninstall NLB Install and uninstall OpenSearch Install and uninstall SQLAuditStore Create, upgrade, and uninstall an arbitration service Install and uninstall OBLB Take over OCP Take over ODC Take over OB Sharding Take over OMS Take over MetaDB Take over OBDNS Take over InfluxDB Take over NLB Take over the Arbitration Service Manage images Change resources of services and components Manage tools Refresh data Manage containers Use the task center Manage packages Manage users Audit operations FAQ OAT V4.5.0 OAT V4.4.1 OAT V4.4.0 OAT V4.3.2 OAT V4.3.1 OAT V4.3.0
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 Admin Tool
  3. V4.5.0
iconOceanBase Admin Tool
V 4.5.0
  • V 4.5.0
  • V 4.4.1
  • V 4.4.0
  • V 4.3.2
  • V 4.3.1
  • V 4.3.0
  • V 4.2.1
  • V 4.1.2

Install, upgrade, roll back, modify, and uninstall OB Sharding

Last Updated:2026-04-09 08:27:14  Updated
share
What is on this page
Prerequisites
Install OB Sharding
Upgrade OB Sharding
Roll back OB Sharding
Supported scenarios
Limits
Procedure
Impacts
Modify OB Sharding
Uninstall OB Sharding
What to do next

folded

share

This topic describes how to install, upgrade, roll back, modify, and uninstall OB Sharding in the OceanBase Admin Toolkit (OAT) console.

Prerequisites

Before you install OB Sharding, make sure that the following conditions are met:

  • You have installed and logged in to OAT. For more information, see Install OAT.
  • You have added a server to install OB Sharding. For more information, see Add a server.
  • The server meets the requirements for installing OB Sharding.
  • You have created the MetaDB component for OB Sharding. For more information, see Create MetaDB.

Install OB Sharding

To install OB Sharding, perform the following steps:

  1. In the left-side navigation pane, choose Product Service > Products.

  2. On the Products page, click Install Product in the upper-right corner and choose Install OBSharding.

  3. On the Install OBSharding page, configure the parameters.

    The following table describes the basic parameters of OB Sharding.

    Parameter Description
    OBSharding Console Image The Docker image of the OB Sharding console.
    Product Name The name of the service, which must be unique.
    Server The IP address of the server on which you want to install the OB Sharding console.
    CPU The number of CPU cores available to the OB Sharding console. Default value: 4.
    Memory The size of memory available to the OB Sharding console, in GB. Default value: 8.
    HTTP Port The HTTP port number of the OB Sharding console. Default value: 8080.
    Log Directory The log storage path of the OB Sharding console. Default value: /home/admin/logs/sharding_console.

    The following table describes the parameters of the OB Sharding server.

    Parameter Description
    OBSharding Server Image The Docker image of the OB Sharding server.
    Server The IP address of the server on which you want to install the OB Sharding server.
    CPU The number of CPU cores available to the OB Sharding server. Default value: 8.
    Memory The size of memory available to the OB Sharding server, in GB. Default value: 16.
    Log Directory The log storage path of the OB Sharding server. Default value: /home/admin/logs/sharding_server.

    The following table describes the MetaDB parameters of OB Sharding.

    Parameter Description
    MetaDB Type The type of MetaDB.
    Tenant Name The name of the tenant.
    Tenant Password The password of the tenant.
    Tenant CPU The number of CPU cores available to the tenant. Default value: 2.
    Tenant Memory The size of memory available to the tenant, in GB. Default value: 5.

    The following table describes the load balancing parameters. The parameters are optional.

    Parameter Description
    Load Balancing Mode The load balancing mode.
    MetaDB TCP Proxy IP The proxy IP address or domain name used by the OB Sharding console to connect to MetaDB.
    MetaDB TCP Proxy Port The proxy port used by the OB Sharding console to connect to MetaDB. Default value: 3306.
    OBSharding Console HTTP Proxy IP The IP address for accessing the OB Sharding console.
    OBSharding Console HTTP Proxy Port The port for accessing the OB Sharding console. Default value: 80.
  4. After the parameters are configured, click Submit.

    You can also click Reset to restore to the default configurations.

Note

If OB Sharding V3.2.7 or later is installed, you are prompted to set an initial password for OB Sharding. If OB Sharding of a version earlier than V3.2.7 is installed, this prompt is not displayed.

Upgrade OB Sharding

To upgrade OB Sharding, perform the following steps:

  1. In the left-side navigation pane, choose Product Service > Products.

  2. Find the OB Sharding that you want to upgrade and click its name in the Name column to go to the details page.

    Note

    You can also search for the required OB Sharding by name at the top of the page.

  3. In the upper-right corner of the details page, click Upgrade.

  4. In the Upgrade dialog box, enter the required information.

    The following table describes the related parameters.

    Parameter Description
    Upgrade Mode The upgrade method. OAT V4.3.0 supports only Upgrade with Services Stopped. This mode applies to services without business continuity requirements. During the upgrade, OAT disables OB Sharding of the previous version and OB Sharding cannot provide services to external applications.
    Select an image file for the upgrade The image file to be used for the upgrade.
  5. Click OK.

Roll back OB Sharding

Supported scenarios

  • OB Sharding fails to be upgraded by using OAT and the issue persists. In this case, you can create a service rollback task on the Mission Center page.
  • OB Sharding is upgraded by using OAT. However, an error occurs in OB Sharding of the new version.

Limits

  • Only service upgrade tasks in OAT V4.3.0 or later support version rollbacks.
  • You can roll back OB Sharding only within three days after an OB Sharding upgrade task is initiated.
  • The metadata backup subtask must be completed before you can roll back OB Sharding in an OB Sharding upgrade task.
  • The overall OB Sharding is rolled back to the previous version in a unified manner, regardless of whether canary upgrade is performed.
  • The version of OB Sharding before the upgrade is V3.2.8 or later.

Procedure

If OB Sharding is upgraded, perform the following steps to roll back OB Sharding:

  1. In the left-side navigation pane, choose Product Service > Products.

  2. Find the OB Sharding that you want to roll back and click its name in the Name column to go to the details page.

    Note

    You can also search for the required OB Sharding by name at the top of the page.

  3. In the upper-right corner of the details page, click Version rollback.

  4. In the Version rollback dialog box, enter the required information.

    The following table describes the related parameters.

    Parameter Description
    Select a metadata backup file Optional. The metadata file used for the rollback. The version of the metadata file must meet the requirements.
    Select an image file that is rolled back from version Console. The image file used to roll back the OB Sharding console. The version of the image file must meet the requirements.
    Select a Server version to roll back the image file. The image file used to roll back the OB Sharding server. The version of the image file must meet the requirements.
    Version rollback will lose data records generated during the running of the current version. New Features/services added to the current version may be abnormal. The parameter for confirmation. Select the check box.
  5. Click OK.

Impacts

  1. OB Sharding is unavailable during the rollback.
  2. All operation data of OB Sharding of the new version is lost.
  3. After the rollback, specific features and services provided by OB Sharding of the new version may be unavailable.

Modify OB Sharding

You can replace the OB Sharding container or migrate the OB Sharding container between servers.

To modify OB Sharding, perform the following steps:

  1. In the left-side navigation pane, choose Product Service > Products.

  2. Find the OB Sharding that you want to modify and click its name in the Name column to go to the details page.

    Note

    You can also search for the required OB Sharding by name at the top of the page.

  3. In the upper-right corner of the details page, click Change.

  4. In the Change dialog box, enter the required information.

    The following table describes the related parameters.

    Parameter Description
    Server The IP address of the server on which OB Sharding is installed.
    Port The port number of the OB Sharding server.
  5. Click OK.

Uninstall OB Sharding

To uninstall OB Sharding, perform the following steps:

  1. In the left-side navigation pane, choose Product Service > Products.

  2. Find the OB Sharding that you want to uninstall and click its name in the Name column to go to the details page.

    Note

    You can also search for the required OB Sharding by name at the top of the page.

  3. In the upper-right corner of the details page, click Uninstall.

  4. In the message that appears, click Uninstall. Then, OAT displays a message indicating that the service is being uninstalled and creates an uninstallation task. You can click the task ID in the message to view the task progress.

What to do next

After you install OB Sharding, you can use OB Sharding based on your business requirements.

Previous topic

Install, upgrade, roll back, and uninstall OAS
Last

Next topic

Install, upgrade, and uninstall MetaDB
Next
What is on this page
Prerequisites
Install OB Sharding
Upgrade OB Sharding
Roll back OB Sharding
Supported scenarios
Limits
Procedure
Impacts
Modify OB Sharding
Uninstall OB Sharding
What to do next