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 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 & 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 Database
    3. SQL
    4. V4.4.2
    iconOceanBase Database
    SQL - V 4.4.2
    SQL
    KV
    • 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

    Preparations before table-level restore

    Last Updated:2026-04-02 06:23:56  Updated
    share
    What is on this page
    Resource planning for the auxiliary tenant
    Create a resource pool for the auxiliary tenant
    What to do next

    folded

    share

    Table-level restore requires the use of an auxiliary tenant. Therefore, before performing table-level restore, you need to create the necessary resource pools for the auxiliary tenant in the cluster where the target tenant resides.

    Resource planning for the auxiliary tenant

    During table-level restore, an auxiliary tenant must be created in the target cluster. Therefore, before starting table-level restore, you need to reserve sufficient CPU, memory, and disk resources in the cluster to prevent slow execution or failure of the table-level restore task due to insufficient resources.

    Typically, it is recommended that the specifications for the auxiliary tenant match those of the source tenant. If this is not possible, you need to select appropriate specifications based on the system version.

    In the current version, the system uses a fast restore method for table-level restore of the auxiliary tenant. The minimum specifications for the auxiliary tenant in fast restore mode are as follows:

    Resource Minimum specification Description
    CPU 2C or 4C It is not recommended to set the minimum specification too low.
    Memory Depends on the number of tablets At least 1 GB is required. Supports up to 20,000 tablets.
    Disk Backup data size/100 + restore log size The minimum recommended specification is at least 1% of the backup data size, plus the restore log size.

    Create a resource pool for the auxiliary tenant

    1. Log in to the sys tenant of the cluster where the target tenant is located as the root user.

    2. Create a unit (resource unit).

      Here is an example:

      obclient [(none)]> CREATE RESOURCE UNIT box_16c96g MAX_CPU 16, MEMORY_SIZE = '5G', MAX_IOPS 10240, MIN_IOPS=10240;
      

      For more information about how to create a resource unit, see Create a tenant.

    3. Create a resource pool.

      When creating a resource pool for the auxiliary tenant, we recommend that you keep the architecture consistent with the source tenant. In other words, we recommend that the number of unit_num in the resource pool of the auxiliary tenant be the same as that of the source tenant.

      Here is an example:

      obclient [(none)]> CREATE RESOURCE POOL restore_pool unit = 'box_16c96g', unit_num = 1, zone_list = ('z1','z2','z3');
      

      For more information about how to create a resource pool, see Create a tenant.

    What to do next

    Perform table-level restore

    Previous topic

    Overview of table-level restore
    Last

    Next topic

    Perform table-level restore
    Next
    What is on this page
    Resource planning for the auxiliary tenant
    Create a resource pool for the auxiliary tenant
    What to do next