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 Cloud Platform

V4.3.0

    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 Cloud Platform
    3. V4.3.0
    iconOceanBase Cloud Platform
    V 4.3.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
    • V 4.3.6
    • V 4.3.5
    • V 4.3.4
    • V 4.3.3
    • V 4.3.2
    • V 4.3.1
    • V 4.3.0
    • V 4.2.2
    • V 4.0.0 and earlier

    Create MetaDB

    Last Updated:2026-04-14 07:51:05  Updated
    Share
    What is on this page
    Prerequisites
    Procedure

    folded

    Share

    Before you deploy OceanBase Cloud Platform (OCP), you must create the MetaDB component for OCP in OceanBase Admin Toolkit (OAT). If you want to use a deployed MetaDB, you can take it over to OAT. For more information, see Take Over MetaDB.

    This topic describes how to create MetaDB in OAT.

    Prerequisites

    Before you create MetaDB, make sure that:

    • You have installed and logged on to OAT as a super administrator or an O&M engineer. For more information, see Install OAT.
    • You have added the server where MetaDB is to be installed. For more information, see Add a server.
    • Your server meets the resource requirements for installing MetaDB.

    Procedure

    1. Log on to OAT.

    2. In the left-side navigation pane, choose Product Service > Component Management.

    3. On the Component Management page, click Create a component in the upper-right corner and then select Create MetaDB.

      1

    4. On the Create MetaDB page, specify related parameters.

      1. Specify the basic information of MetaDB.

        Parameter
        Description
        MetaDB image The Docker image file of MetaDB. Click Manage image files in the drop-down list. In the panel that appears, select Local scan or Remote connection as the mode for adding an image file.
        • The Local scan mode is recommended. You need to upload the image file to the /data/images directory of the OAT container. If the host directory is mounted when OAT is started, you can directly copy the MetaDB image to the directory to which the host is mapped.
        • The Remote connection mode applies when the image repository can be accessed. Enter the address of the Docker repository in Image Repository, such as reg.docker.alibaba-inc.com/xxx/xxx. Enter the image version in Image label, such as 3.3.9-x64. Select an architecture in Architecture as needed.
        Component name The name of the component, which must not be the same as that of any other components. Default value: metadb.
        Server The IP address of the server where MetaDB is to be installed. You can specify multiple server IP addresses. If so, a MetaDB will be installed on each server.
        CPU The number of CPU cores on the server for MetaDB. Default value: 32C.
        Memory The size of memory on the server for MetaDB. Default value: 90GB.
        MetaDB cluster name The name of the MetaDB cluster.
        root@sys password The password of the root user of the sys tenant.

        1

      2. Optional. Configure the installation path of MetaDB.

        Parameter
        Description
        Installation directory The installation path of MetaDB. Default value: /home/admin/oceanbase. You can change the value.
        Data Directory The data storage path of MetaDB. Default value: /data/1. You can change the value.
        Log Directory The log storage path of MetaDB. Default value: /log/1. You can change the value.
        Backup Directory Optional. The backup path of MetaDB. By default, this parameter is unspecified. You can specify a directory.

        2

      3. Optional. Configure the startup parameters of MetaDB.

        Parameter
        Description
        MySQL Port The MySQL port of MetaDB. Default value: 2881.
        RPC Port The RPC port of MetaDB. Default value: 2882.
        OBProxy service port The service port of OBProxy. Default value: 2883.
        SSHD Port The SSHD port in the MetaDB container. Default value: 2022. OCP connects to the SSHD port to deploy OCP Agent.
        root Password The password of the root user in the MetaDB container.

        3

        Note

        • The CPU and memory resources required by MetaDB are the sum of MetaDB resources, MonitorDB resources, resources of the sys tenant, the system memory, and resources of OBProxy. When you allocate resources to MetaDB, we recommend that you reserve a certain margin. This is because the sys tenant itself will also consume resources.
        • When you configure the installation path of MetaDB, make sure that the data directory, installation directory, and log directory are empty, and that the owner of these directories is admin.
        • Make sure that MetaDB images in the same MetaDB cluster use the same hardware architecture. At present, OAT does not support heterogeneous MetaDB images.
        • To deploy a multi-node MetaDB, you can specify multiple server IP addresses in the Server field when you configure basic MetaDB information.****
    5. Click Submit. For any errors in configurations, click Reset to restore the default configurations.

    6. Choose System and Security > Task list. On the task list page that appears, click the task name to view the task details.

    Previous topic

    Prepare installation media
    Last

    Next topic

    Install OCP
    Next
    What is on this page
    Prerequisites
    Procedure