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

Interactive Tutorials

V1.0.0

  • Get Started with OceanBase Cloud
  • Explore Compatibility with OceanBase Cloud
  • Explore Complex SQL Performance with OceanBase Cloud
  • Explore High Compression of OceanBase Cloud
  • Explore Multi-Tenancy of OceanBase Cloud

Download PDF

Get Started with OceanBase Cloud Explore Compatibility with OceanBase Cloud Explore Complex SQL Performance with OceanBase Cloud Explore High Compression of OceanBase Cloud Explore Multi-Tenancy of OceanBase Cloud
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. Interactive Tutorials
  3. V1.0.0
iconInteractive Tutorials
V 1.0.0

Explore High Compression of OceanBase Cloud

Last Updated:2026-04-22 06:08:11  Updated
share
What is on this page
Concepts
Prerequisites
Procedure
High Compression Feature Analysis

folded

share

In this tutorial, you will import 1 GiB of TPC-H sample data into OceanBase and compare the data storage size before and after import to experience the high compression features of the OceanBase database.

Concepts

OceanBase Database utilizes asymmetric read-write architecture and data encoding storage compression technology to achieve high data compression, reducing storage costs.

  • Asymmetric Read-Write Architecture Storage Compression Technology

    By designing read and write blocks asymmetrically, efficient compression algorithms can be applied. Due to the structure of the LSM-Tree, which uses a read-write splitting design and row-level fine-grained record updates, data changes are kept in memory and written to disk in batches. This approach achieves the write performance of in-memory databases with the storage cost of disk databases while eliminating the disk random write bottleneck and storage fragmentation problems of traditional B+Tree structures. This results in higher data write performance and greater data compression opportunities.

  • Data Encoding Storage Compression Technology

    OceanBase uses a hybrid row-column storage format where disk data blocks are organized by columns, and has developed a set of encoding methods that combine row and column storage. By using dictionary, delta, and prefix encoding algorithms on rows and columns before applying general compression algorithms, OceanBase achieves higher compression rates.

Prerequisites

You have completed the tasks in Get Started with OceanBase Cloud or have existing tenants in the MySQL mode and the corresponding database and account in your environment.

Procedure

  1. Select your MySQL tenant.

  2. Click to navigate to Tenant Workspace.

  3. Check your current tenant disk usage .

  4. Click to navigate to Load Data.

  5. Click Import Sample Data.

  6. In the pop-up box, select the test scenario as TPC-H.

  7. Click Data volume and select 1 GiB of sample data from the drop-down menu.

  8. Select default_database or create a new database, and click Import.

  9. After the import is successful, click to navigate to Tenant Workspace and check the tenant disk usage.

High Compression Feature Analysis

The sample data size is approximately 1 GiB (1 GB is approximately 1 GiB). Before importing the data, the tenant disk usage is 0.1 GiB. After importing the data, the tenant disk usage is 0.2 GiB, an increase of about 0.1 GiB. OceanBase Database's high compression feature can reduce your storage costs by 70%~90%.

Previous topic

Explore Complex SQL Performance with OceanBase Cloud
Last

Next topic

Explore Multi-Tenancy of OceanBase Cloud
Next
What is on this page
Concepts
Prerequisites
Procedure
High Compression Feature Analysis