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

    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.6
    iconOceanBase Cloud Platform
    V 4.3.6
    • 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 a standalone deployment

    Last Updated:2026-04-09 07:15:59  Updated
    share
    What is on this page
    Background information
    Prerequisites
    Procedure
    Step 1: Go to the Create Cluster page
    Step 2: Configure the basic information of the cluster
    Step 3: Enable Cgroup
    Step 4: Set the CPU overcommit ratio
    Step 5: Configure cluster parameters
    Step 6: Configure users, paths, and ports
    Step 7: Verify the configuration information
    Step 8: Create a tenant

    folded

    share

    A standalone deployment is a database system where OceanBase Database is deployed on a single server or computer. All core components, such as the database engine, storage, and transaction processing, run on the same physical or virtual host. This topic describes how to create a standalone deployment.

    Background information

    OceanBase Database is tailored for small and medium-sized workloads, and offers high compatibility with the MySQL and Oracle protocols, enabling seamless migration of existing applications. Its native multi-tenant architecture allows multiple businesses to share a single standalone instance, ensuring resource isolation and usage on demand, while delivering exceptional standalone performance.

    Prerequisites

    • The current login user in OCP is the ADMIN or ORG_ADMIN role.

    • Only standalone versions V4.1.0 and later are supported.

    Procedure

    Step 1: Go to the Create Cluster page

    1. Log in to the OCP console. In the left-side navigation pane, click Cluster to go to the Cluster page. Find the option to create a new cluster based on your business scenario.

      1. If you don't have any clusters that you can manage, the system will prompt you to create a cluster on the Clusters tab. Click Create Cluster in the prompt.

      2. If you already have clusters that you can manage, click Create Cluster in the upper-right corner of the Clusters tab.

    2. On the Create Cluster page, select Standalone.

    Step 2: Configure the basic information of the cluster

    The following table describes the basic information required for creating a standalone cluster.

    Parameter
    Description
    Cluster Name The name of the cluster to be managed. The cluster name must start with an English letter and end with an English letter or a number. The name can contain English letters, numbers, and underscores, and must be 2 to 32 characters long.
    Root@sys Password You can specify a custom password or generate a random password. The password must meet the following complexity requirements:
    • Must be 8 to 32 characters long.
    • Must contain at least three of the following four types: digits (0-9), uppercase letters (A-Z), lowercase letters (a-z), and special characters. The supported special characters are ~!@#%^&*_-+=|(){}[]:;,.?/.
    OceanBase version Select an existing OceanBase cluster version from the list. If the required version is not available, click Add Version at the bottom of the list to upload it.
    Zone Name You can keep the default value or specify a custom value. The zone name must start with an English letter and end with an English letter or a number. The name can contain English letters, numbers, and underscores, and must be 2 to 32 characters long.
    Host Select a host that is consistent with the architecture of OceanBase version. Only one host can be selected as the OBServer & rootserver. If no host is available in the drop-down list, you can click Add Host.
    Load Type You can select a load type for the cluster. The load type mainly affects the judgment time of SQL queries (parameter: large_query_threshold). It can significantly affect the response time (RT) for OLTP-type loads. Therefore, you must select a load type carefully. OCP supports five cluster load types. The specific descriptions are as follows.
    • Express OLTP: This type is suitable for workloads such as core systems in trade and payment, and high-throughput internet applications. It does not support foreign keys, stored procedures, long transactions, or large transactions. It does not support complex joins or subqueries.
      Version Limitation: This type applies to OceanBase V4.2.5 and later.
    • HTAP: This type is suitable for workloads that combine hybrid OLAP and OLTP. It is typically used to obtain real-time insights from active operational data, fraud detection, and personalized recommendations.
      Version Limitation: This type applies to OceanBase V4.2.5 and later.
    • OLAP: This type is suitable for real-time data warehouse analysis scenarios.
      Version Limitation: This type applies to OceanBase V4.3.0 and later.
    • Complex OLTP: This type is suitable for workloads such as banking and insurance systems. These workloads typically involve complex joins, complex correlated subqueries, PL-written batch jobs, long transactions, and large transactions. Parallel execution is sometimes used for queries that run for a short time.
      Version Limitation: This type applies to OceanBase V4.2.5 and later.
    • OBKV: This type is suitable for key-value workloads and wide-column workloads similar to HBase. These workloads usually have very high throughput and are sensitive to latency.
      Version Limitation: This type applies to OceanBase V4.2.5 and later.

    Step 3: Enable Cgroup

    Cgroup is used to isolate CPU resources among tenants in an OceanBase cluster and within a tenant. You can choose whether to enable Cgroup for the cluster based on your business requirements to achieve stronger CPU/IOPS isolation.

    • Enabling Cgroup may result in a 7% performance drop. If your business scenario involves a single tenant, small-scale servers (<14C), or requires higher database performance, we recommend that you disable Cgroup.
    • If the kernel version of the host operating system is below 5.1.0, we recommend that you disable Cgroup for the cluster. Otherwise, it may lead to a decline in system performance or instability.
    • If the kernel version of the host operating system is below 4.1.9, tenants cannot be created in the cluster. In this case, Cgroup is disabled by default and the Cgroup switch is not displayed.

    Step 4: Set the CPU overcommit ratio

    When different business scenarios have overlapping workloads, OceanBase clusters may experience overload during operation, leading to thread competition among tenants for CPU resources and slowing down actual business scenarios. To ensure that different tenant workloads can run in a controlled manner, you can set the CPU resource overcommit ratio to improve resource utilization.

    In the CPU Overcommit Ratio section, you can configure the overcommit ratio using a slider or an input field. The default value is 120%, with a range of 101% to 200%.

    Note

    The CPU overcommit feature relies on Cgroup. Before configuring the CPU overcommit ratio, make sure that Cgroup is enabled for the cluster.

    Step 5: Configure cluster parameters

    In the Parameter Settings module, you can customize the cluster parameters.

    • Click Add Startup Parameters to add startup parameters one by one and configure their values.

    • Click Auto-populate by Selecting a Template to select a parameter template from the drop-down list, and the system will automatically populate the template parameters to this section.

      • The system provides the following 6 built-in templates, each containing common parameter settings. You can directly apply these templates for cluster initialization. For more information about the built-in templates, see the following table.

        Template
        Description
        COMPLEX_OLTP Default Parameter Template Corresponds to the Complex OLTP workload type. This template is applicable only to OceanBase Database V4.2.5 and later.
        HTAP Default Parameter Template Corresponds to the HTAP workload type. This template is applicable only to OceanBase Database V4.2.5 and later.
        KV Default Parameter Template Corresponds to the OBKV workload type. This template is applicable only to OceanBase Database V4.2.5 and later.
        EXPRESS_OLAP Default Parameter Template Corresponds to the Express OLAP workload type. This template is applicable only to OceanBase Database V4.2.5 and later.
        OLAP Default Parameter Template Corresponds to the OLAP workload type. This template is applicable only to OceanBase Database V4.3.0 and later.
        Default Parameter Template for OceanBase Database V2.2.77 Recommends parameter settings for OceanBase clusters of V2.2.77 for production environments.
      • You can also click Create Cluster Parameter Template to create a custom parameter template for the cluster. For more information, see Manage cluster parameter templates.

    Note

    If you have specific customization requirements for the CPU, memory, data disk, and log disk usage at the cluster level, set the following parameters: cpu_count, memory_limit_percentage, system_memory, data_disk_usage_limit_percentage, datafile_size, clog_disk_usage_limit_percentage, and log_disk_size. For more information about these parameters, refer to the Overview of Cluster Parameters on the OceanBase official website.

    Step 6: Configure users, paths, and ports

    In the Custom Settings section, you can configure users, paths, and ports for the cluster, such as the operating system user and paths for software installation, data disk, and log disk, and the SQL and RPC ports.

    1. Configure the operating system user:

      This user is used to install and run the OBServer. It cannot be modified. You can change this user by adjusting the default value of the ocp.operation.default.os.user parameter. This change only affects the creation of distributed clusters, standalone clusters, OBProxy clusters, and arbitration services. It does not affect the configurations of existing clusters.

    2. Configure the paths:

      Configuration
      Description
      Software Installation Path
      • When Operating System User is admin, the default value is /home/admin/oceanbase, which can be customized.
      • When Operating System User is not admin, the default value is /opt/oceanbase/oceanbase, which can be customized.
      Data Disk Path The default value is /data/1, which can be customized.
      Log Disk Path The default value is /data/log1, which can be customized. In a production environment, OceanBase Database recommends that the log disk space be at least three times the host memory space. To avoid performance issues, we recommend that you do not mount the data directory and log directory to the same disk.

      Note

      Starting from OCP 4.3.0 BP1, when the OceanBase cluster created is of the [V4.2.4.0, V4.3.0.0) or [V4.3.1.0, +∞) version, the slog directory is placed on the log disk and is no longer bound to the data disk. If you set log_disk_size=0, it will be considered as exclusive use for clogs, with the default value of log_disk_percentage being 90%. If the size of the disk that contains both slog and clogs is less than 40 GiB, the reserved space for slog will be less than 4 GiB, which may affect the writing of slog. For more information about slog, see Directory structure for installing OBServer nodes.
    3. Configure the ports:

      Configuration
      Description
      SQL Port The default value is 2881, which can be customized.
      RPC Port The default value is 2882, which can be customized.
    4. After the configurations are complete, click Test to verify whether the specified paths and ports are available.

      • If the test succeeds, click Submit.
      • If the test fails, perform troubleshooting based on the error message.

    Step 7: Verify the configuration information

    In the right-side panel, check whether the configuration information is correct. If yes, click OK.

    Step 8: Create a tenant

    In the Note dialog box, specify whether to create a tenant.

    • If you do not want to create a tenant, click Skip. In this case, only the cluster is created, and no tenant is created. You can create a tenant later by referring to Create a tenant.

    • If you want to create a tenant, you need to specify the tenant mode and tenant name. After you configure the information, click Create and Submit. You can view the task progress in Task Center.

      The following table describes the related parameters.

      Parameter
      Description
      Tenant Mode Specifies the tenant mode. You can switch the tenant mode. Valid values: Oracle and MySQL. The default value is MySQL.
      Tenant Name The name is the same as the tenant mode by default. You can specify a custom name.

    Previous topic

    Create a distributed cluster
    Last

    Next topic

    Create a standby cluster
    Next
    What is on this page
    Background information
    Prerequisites
    Procedure
    Step 1: Go to the Create Cluster page
    Step 2: Configure the basic information of the cluster
    Step 3: Enable Cgroup
    Step 4: Set the CPU overcommit ratio
    Step 5: Configure cluster parameters
    Step 6: Configure users, paths, and ports
    Step 7: Verify the configuration information
    Step 8: Create a tenant