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 Database

SQL - V4.2.1

  • What is OceanBase Database
    • Compatibility with MySQL
    • Overview
    • Differences between the Enterprise Edition and the Community Edition
    • Limitations
    • System architecture
    • Compatibility with Oracle
      • Overview
      • System views
      • SQL data types
      • Built-in functions
  • Get Started
    • Video tutorials
    • Quick start with OceanBase Database Community Edition
    • Try out advanced features of OceanBase Database
      • Scalable OLTP
        • Try out the hot row update capability of OceanBase Database
        • Run the TPC-C benchmark in OceanBase Database
      • Try out operational OLAP
      • Try out parallel import and data compression
      • Try out the multi-tenant feature
    • Build a sample application (Oracle mode)
      • Build a C application
      • Build a Java application
    • Learn OceanBase SQL
      • Basic SQL operations (Oracle mode)
      • Basic SQL operations (MySQL mode)
      • Before you begin
    • Build a sample application (MySQL mode)
      • Build a Python application
      • Build a Java application
      • Build a C application
      • Build a Go application
  • Develop
    • Develop applications (MySQL mode)
      • Sample applications
        • Java
          • Spring Data JDBC
          • Spring Boot
          • Spring Data JPA
          • MyBatis
          • Spring Batch
          • Hibernate
        • Python
          • PyMySQL
          • mysqlclient
        • Go
          • Go-SQL-Driver/MySQL
          • GORM
      • Write data
        • Delete data
        • Update data
        • Insert data
        • Replace data
      • Application errors
        • Common errors and troubleshooting practices
          • Table does not exist, with ERROR 1146 reported
          • Data truncated while being inserted, with ERROR 1265 reported
          • Incorrect user password, with ERROR 1045 reported
          • Transaction timed out, with ERROR 4012 reported
          • User locked, with ERROR 3118 reported
          • Idle transaction timed out, with ERROR 6002 reported
          • Table already exists, with ERROR 1050 reported
          • Duplicate data inserted, with ERROR 1062 reported
          • Disconnected from the server, with ERROR 2013 reported
          • ERROR 1215 reported in foreign key addition
        • Troubleshooting guidelines
          • About error codes
          • Error handling specifications for MySQL-compatible applications
      • Connect to OceanBase Database
        • Connect to an OceanBase Database tenant by using OBClient
        • Connect to an OceanBase Database tenant by using the mysql client
        • Connect to OceanBase Database by using ODC
        • Overview
        • Use database connection pool
          • HikariCP
          • Proxool
          • DBCP
          • Commons Pool
          • Database connection pool configuration
          • Tomcat
          • c3p0
          • Druid
      • Read data
        • Use a DBLink in queries
        • Single-table queries
        • Set operations
        • Use operators and functions in queries
          • Use aggregate functions in queries
          • Use numerical functions in queries
          • Use the SELECT ... LOCK IN SHARE MODE statement to lock query results
          • Use the CASE conditional operator in queries
          • Use type conversion functions in queries
          • Use datetime functions in queries
          • Use arithmetic operators in queries
          • Use string functions in queries
          • Use string concatenation operators in queries
          • Use NULL-related functions in queries
          • Use the SELECT ... FOR UPDATE statement to lock query results
        • Join tables
          • RIGHT JOIN queries
          • Subqueries
          • LEFT JOIN queries
          • INNER JOIN queries
          • FULL JOIN queries
      • Plan database objects
        • Create an external table
        • Create an index
        • Create a table group
        • Create a database
        • Create a table
      • Transactions
        • Roll back a transaction
        • Commit a transaction
        • Overview
        • Start a transaction
        • Savepoints
          • Mark a savepoint
          • Release a savepoint
          • Roll back a transaction to a savepoint
    • Develop applications (Oracle mode)
      • Sample applications
        • Java
          • Spring Boot
          • MyBatis
          • OceanBase Connector/J
          • Spring Data JPA
          • Spring Data JDBC
          • Hibernate
          • Spring Batch
          • JFinal
        • C/C++
          • OceanBase Connector/C
          • OceanBase Connector/ODBC
          • SqlSugar
      • Read data
        • Set operations
        • Single-table queries
        • Use a DBLink in queries
        • Join tables
          • INNER JOIN queries
          • RIGHT JOIN queries
          • LEFT JOIN queries
          • Subqueries
          • FULL JOIN queries
        • Use operators and functions in queries
          • Use arithmetic operators in queries
          • Use type conversion functions in queries
          • Use aggregate functions in queries
          • Use numerical functions in queries
          • Use string concatenation operators in queries
          • Use CASE functions in queries
          • Use the SELECT...FOR UPDATE statement to lock query results
          • Use string functions in queries
          • Use NULL-related functions in queries
          • Use datetime functions in queries
      • Connect to OceanBase Database
        • Overview
        • Connect to OceanBase Database by using ODC
        • Connect to an OceanBase Database tenant by using OBClient
        • Use database connection pool
          • c3p0
          • Database connection pool configuration
          • DBCP
          • HikariCP
          • Proxool
          • Tomcat
          • Commons Pool
          • Druid
      • Application errors
        • Common errors and troubleshooting practices
          • Transaction timed out, with Error ORA-00600 reported
          • Idle transaction timed out, with Error ORA-24761 reported
          • Duplicate data inserted, with Error ORA-00001 reported
          • Table does not exist, with Error ORA-04043 reported
          • Inconsistent data types, with Error ORA-00932 reported
          • User locked, with ERROR 3118 reported
          • Table already exists, with Error ORA-00955 reported
          • Error ORA-00600 reported in foreign key addition
          • Incorrect user password, with ERROR 1045 reported
        • Troubleshooting guidelines
          • Error handling specifications for Oracle-compatible applications
          • About error codes
      • Write data
        • Insert data
        • Update data
        • Replace data
        • Delete data
      • Transactions
        • Overview
        • Roll back a transaction
        • Commit a transaction
        • Start a transaction
        • Savepoints
          • Roll back a transaction to a savepoint
          • Mark a savepoint
      • Plan database objects
        • Create a table
        • Create an index
        • Create an external table
        • Create a table group
  • Deploy
    • Clear an OceanBase cluster
    • Overview
    • HA deployment solutions for OceanBase clusters
    • Deploy OceanBase Database Community Edition
      • Overview
      • Deploy OceanBase Database in a Kubernetes cluster
      • Deploy locally
        • Deploy OceanBase Database in a production environment by using the CLI
        • Software and hardware requirements
        • Before deployment
          • (Optional) Check resources
          • (Optional) Set password-free SSH logon
          • (Optional) Configure the clock source
          • (Optional) Perform disk planning
          • (Optional) Configure limits.conf
          • (Optional) Configure sysctl.conf
          • (Optional) Disable the firewall and SELinux
          • (Optional) Create a user
        • Deploy through GUI
          • Deploy an OceanBase cluster through the GUI of OCP
          • Deploy an OceanBase cluster through the GUI of OBD
    • Deploy OceanBase Database Enterprise Edition
      • Deployment process
      • Deploy through GUI
        • (Optional) Deploy ODP
        • Deploy OceanBase clusters using OCP
          • Deploy a standalone OceanBase database by using OCP
          • Deploy a two-replica OceanBase cluster with the arbitration service by using OCP
          • Add a server to the resource pool
          • Deploy a three-replica OceanBase cluster by using OCP
          • Deploy a single-replica OceanBase cluster by using OCP
        • Configure deployment environment using OAT
          • Add a server
        • Deploy OCP
          • Deploy OCP
          • Create MetaDB
          • Upload installation packages
          • Overview
      • Deploy through CLI
        • (Optional) Deploy ODP
        • Configure deployment environment
          • Initialize an OBServer node by using oatcli
          • (Optional) Configure the clock source
        • Deploy OceanBase clusters using CLI
          • Deploy a standalone OceanBase database by using the CLI
          • Deploy a two-replica OceanBase cluster with the arbitration service by using the CLI
          • Deploy a three-replica OceanBase cluster by using the CLI
          • Deploy a single-replica OceanBase cluster by using the CLI
      • Before deployment
        • Deploy OAT
        • Prepare installation packages
        • Configure servers
        • Prepare servers
  • Migrate
    • Import data from SQL files to OceanBase Database
    • Overview
    • Migrate from DB2 databases to OceanBase Database
      • Use OMS to migrate data from a DB2 LUW database to a MySQL tenant of OceanBase Database
      • Use OMS to migrate data from a DB2 LUW database to an Oracle tenant of OceanBase Database
      • Use DBCAT to migrate table schemas from a DB2 LUW database to OceanBase Database
    • Migrate from Oracle databases to OceanBase Database
      • Use OMS to migrate data from an Oracle database to an Oracle tenant of OceanBase Database
      • Use DataX to migrate table data from an Oracle database to OceanBase Database
      • Use DBCAT to migrate schemas from an Oracle database to OceanBase Database
      • Use OMS to migrate data from an Oracle database to a MySQL tenant of OceanBase Database
    • Migrate from OceanBase Database to MySQL databases
      • Use DataX to migrate table data from OceanBase Database to a MySQL database
      • Use OMS to migrate incremental data from an Oracle tenant of OceanBase Database to a MySQL database
      • Use Flink CDC to migrate data from OceanBase Database to a MySQL database
      • Use ChunJun to migrate data from OceanBase Database to a MySQL database
      • Use Canal to synchronize data from OceanBase Database to a MySQL database
      • Use DBCAT to migrate schemas from OceanBase Database to a MySQL database
      • Use CloudCanal to migrate data from OceanBase Database to a MySQL database
      • Use OMS to migrate data from a MySQL tenant of OceanBase Database to a MySQL database
    • Migrate data between OceanBase Database
      • Use OBLOADER & OBDUMPER to migrate data from a MySQL tenant to an Oracle tenant in OceanBase Database
      • Use OMS to migrate data from an OceanBase Database tenant to another of the same type
      • Use OMS to migrate data from an OceanBase Database tenant to another of the same type in active-active disaster recovery scenarios
      • Use OBLOADER & OBDUMPER to migrate data between Oracle tenants in OceanBase Database
      • Use OBLOADER & OBDUMPER to migrate data between MySQL tenants in OceanBase Database
      • Use OBLOADER & OBDUMPER to migrate data from an Oracle tenant to a MySQL tenant in OceanBase Database
    • Bypass import
      • Import data in bypass mode by using the INSERT INTO SELECT statement
      • Import data in bypass mode by using the LOAD DATA statement
      • Overview
    • Migrate from MySQL databases to OceanBase Database
      • Use Flink CDC to synchronize data from a MySQL database to OceanBase Database
      • Use OMS to migrate data from a MySQL database to a MySQL tenant of OceanBase Database
      • Use mydumper and myloader to migrate data from a MySQL database to OceanBase Database
      • Use ChunJun to migrate data from a MySQL database to OceanBase Database
      • Use CloudCanal to migrate data from a MySQL database to OceanBase Database
      • Use DataX to migrate table data from a MySQL database to OceanBase Database
      • Use DBCAT to migrate schemas from a MySQL database to OceanBase Database
      • Use Canal to synchronize data from a MySQL database to OceanBase Database
    • Migrate from CSV files to OceanBase Database
      • Import data by using the LOAD DATA statement
      • Use DataX to migrate CSV files to OceanBase Database
    • Migrate from OceanBase Database to Oracle databases
      • Use DBCAT to migrate schemas from OceanBase Database to an Oracle database
      • Use DataX to migrate table data from OceanBase Database to an Oracle database
      • Use OMS to migrate data from an Oracle tenant of OceanBase Database to an Oracle database
    • Migrate from PostgreSQL databases to OceanBase Database
      • Use OMS to migrate data from a PostgreSQL database to a MySQL tenant of OceanBase Database
    • Migrate data using SQL statements
      • Export data by using OUTFILE statements
      • Migrate resource units
      • Migrate data between tables
    • Migrate from OceanBase Database to DB2 databases
      • Use OMS to migrate data from a MySQL tenant of OceanBase Database to a DB2 LUW database
      • Use OMS to migrate data from an Oracle tenant of OceanBase Database to a DB2 LUW database
    • Migrate from TiDB databases to OceanBase Database
      • Use OMS to migrate data from a TiDB database to a MySQL tenant of OceanBase Database
  • Manage
    • Log on to an OceanBase Database tenant
    • Manage replicas
      • Traffic distribution
      • Data distribution
      • Overview
      • Replica distribution
        • Locality
        • Common locality operations
          • View locality
          • Adjust the distribution of replicas
          • Remove replicas
          • Add replicas
          • View the locality change history
          • Migrate units
          • Modify locality
    • Performance tuning
      • Identify bottlenecks on the data link
      • Overview
      • SQL tuning
        • SQL tuning system
        • Locate and analyze slow queries I
        • Locate and analyze slow queries II
        • Typical scenarios and cases
        • Execution plan optimization
          • Order and limit optimization
            • Overview
            • SORT assignment and optimization
            • Optimization in ORDER BY + LIMIT scenarios
          • Plan management
            • Plan cache
            • Disadvantages of the plan cache and countermeasures
            • Views related to the plan cache
          • Statistical information and row estimation
            • Overview
            • Use statistical information and row estimation
            • Statistical information
              • Overview
              • Query statistics
              • Manage statistical information
                • Overview
                • Delete and set statistics
                • Import and export statistics
                • Lock statistics
                • Query historical versions of statistics and roll back to a specified version
                • Configure statistics collection strategies
              • Collect statistical information
                • Overview
                • Manually collect statistics
                • Automatically collect statistics
            • Row estimation
              • Overview
              • Row estimation based on the selectivity
              • Row estimation based on the storage layer
          • Join order and join algorithm
            • Joins
            • Join types
            • Join order
            • Join algorithm
              • Nested loop joins
              • Hash joins
              • Merge joins
              • Common business issues
          • Index selection
            • Overview
            • Reduce row reads
            • Avoid table access by index primary key
            • Avoid sorting
        • Business logic optimization
          • SQL specifications
          • Schema specifications
      • Identify bottlenecks within components
        • ODP performance bottlenecks
        • ODP performance analysis
        • OBServer performance bottlenecks
          • Overview
          • Capacity issues
          • Hard parsing
          • Internal wait events
          • Non-optimal plan
            • Non-optimal plans
            • Cardinality
            • Buffer tables
    • Daily inspection
      • Deadlock detection
      • Overview
      • Check tenant resource usage
      • Check cluster parameters
      • Check cluster resource usage
      • Check the host status
      • Check the NTP offset
      • Check the OBServer node status
      • End-to-end tracing
        • Show end-to-end tracing information
        • Process
        • Methods
        • Overview
    • Manage clusters
      • Cluster parameters
      • Overview
      • Common cluster operations
        • Delete a zone
        • Isolate a zone
        • Add a zone
        • Restart a node
        • Delete a node
        • Modify a zone
        • Modify cluster parameters
        • Isolate a node
        • Online upgrade from standalone deployment to distributed deployment
        • View cluster parameters
        • View a zone
        • Add a node
        • Start a zone
        • View a node
        • Replace a node
        • Upgrade clusters
          • Upgrade OceanBase Database Enterprise Edition
            • Upgrade the arbitration service
            • Upgrade an OceanBase cluster
            • Overview
            • Check upgrade results
          • Upgrade OceanBase Database Community Edition
            • Upgrade OceanBase Database by using OBD
      • Troubleshoot common problems
        • Failures of a minority of nodes
        • Failures of the majority of nodes
    • Security and permissions
      • Overview
      • Access control
        • Network security access control
        • Row-level access control
        • RPC connection authentication
        • Overview
        • Users and permissions
          • Overview
          • MySQL mode
            • Privilege delegation
            • Drop a user
            • Lock or unlock a user
            • Grant privileges
            • Modify user privileges
            • View user privileges
            • Create a user
            • Privilege types in MySQL mode
          • Oracle mode
            • Privilege types in Oracle mode
            • Modify user privileges
            • Grant indirect privileges
            • Query user privileges
            • Create a user
            • Privilege delegation
            • Grant direct privileges
            • Drop a user
            • Lock or unlock a user
            • Manage roles
              • View roles
              • Create a role
              • Grant a role to a user
              • Overview
              • Activate or deactivate roles for a user
              • Revoke a role
              • Drop a role
              • Modify a role
              • Grant a role to another role
      • Transparent data encryption
        • Overview
        • Transparent data encryption test report
        • Oracle mode
          • Decrypt a table
          • Enable transparent data encryption for existing tables
          • Enable transparent data encryption for new tables
        • MySQL mode
          • Enable transparent data encryption for existing tables
          • Decrypt a table
          • Enable transparent data encryption for new tables
      • Identification and authentication
        • Oracle mode
          • Identity authentication
          • Password complexity
          • Logon failure processing
        • MySQL mode
          • Password complexity
          • Identity authentication
          • Logon failure processing
      • Security audit
        • Audit specified database objects
        • Overview
        • Enable security audit
        • Audit user logon operations
        • Set and view audit rules
        • View audit records
        • Audit user operations
      • Data transmission encryption
        • ODP transmission encryption
        • OBServer transmission encryption
        • Overview
    • Backup and restore
      • Introduction to physical backup and restore
      • Deploy NFS
      • Restore by table
        • Preparations
        • Parameters related to table restore
        • View the table restore result
        • Views related to table restore
        • View the table restore progress
        • Perform table restore
        • Cancel table restore
      • Clear backup data
        • Stop backup cleanup
        • Backup cleanup parameter
        • Query the backup cleanup history
        • Query the backup cleanup progress
        • Views related to backup cleanup
        • Automatically clean up expired backup data
      • Log archive
        • Overview
        • Disable ARCHIVELOG
        • Change the log archive destination
        • View information about pieces
        • Views related to log archiving
        • View the archiving progress
        • Preparations
        • View the archiving history
        • View the archiving parameter settings
        • Enable ARCHIVELOG
      • Restore data
        • Parameters related to physical restore
        • Views related to physical restore
        • Convert a standby tenant into primary tenant
        • Cancel physical restore
        • Preparations
        • Upgrade a tenant after restore
        • View the physical restore progress
        • View physical restore results
        • Perform physical restore
        • Replay logs to a standby tenant
      • Data backup
        • Views related to data backup
        • View data backup parameter settings
        • Change the backup destination
        • Preparations
        • View the data backup history
        • Initiate an incremental data backup job
        • Initiate a full data backup job
        • Stop a backup job
        • View the data backup progress
    • Emergency response
      • Emergency response overview
      • Analysis, diagnosis, and decision-making procedure
      • Common emergency problem handling
        • Capacity issues
          • Node data disk full
          • obproxy thread exhaustion
          • Exceptions of SQL queries
          • Tenant memory full
          • Node network card overload
          • Tenant request queue backlog
          • Node disk I/O high
          • Node clog disk full
        • Hardware issues
          • Other hardware and network issues
          • Node failure
          • ODP failure
          • Network failure
        • Other cluster issues
          • Insufficiency or leakage of system memory
          • sys tenant or RootService exceptions
    • High availability
      • Flashback queries
      • High availability overview
      • Physical standby database disaster recovery
        • Limitations
        • Overview
        • Log storage service
        • Drop primary and standby tenants
        • Log transmission service
          • Pause or resume log synchronization
          • View the log synchronization progress
          • Overview
          • Set log synchronization compression
          • Optimize the log synchronization performance
          • Set the log synchronization bandwidth limit
          • View log restore source information
          • Configure log transmission service
            • Specify a log restore source
            • Set the log recovery endpoint
        • Create a standby tenant
          • Create a standby tenant by using the BACKUP DATABASE PLUS ARCHIVELOG feature
          • Create a standby tenant by using the backup and recovery feature
          • Create an empty standby tenant
          • Preparations
        • Switch roles
          • Switchover
          • Overview of tenant roles
          • Failover
      • Multi-replica disaster recovery
        • Disaster recovery architecture and levels
        • ODP high availability
        • Database-level high availability
        • Data link introduction
      • Arbitration high availability
        • Enable the arbitration service for a tenant
        • Remove the arbitration service for a cluster
        • Disable the arbitration service for a tenant
        • Replace the arbitration service for a cluster
        • Clear residual cluster information
        • Overview
        • Modify the log stream downgrade control time
      • Manage recycle bin
        • Purge the recycle bin
        • Overview
        • Enable or disable the recycle bin
        • Restore objects from the recycle bin
        • View objects in the recycle bin
    • Manage tenants
      • User tenant introduction
      • Tenant system variables
      • Tenant capacity
      • Tenant types
      • Tenant introduction
      • Common tenant operations
        • Rename a tenant
        • Drop a tenant
        • Lock and unlock a tenant
        • Modify attributes of a tenant
        • View tenant and resource information
        • Modify attributes of a resource pool
        • Create a tenant
        • View and set the tenant allowlist
        • Modify system variables of a tenant
        • Recover a tenant
        • View tenant system variables
        • Resource isolation
          • Resource isolation overview
          • Manage resource isolation (Oracle mode)
            • Configure SQL statement-level resource isolation
            • Update a resource management plan config
            • Configure cgroups
            • Delete a resource management plan
            • Calibrate the disk performance
            • Configure user-level resource isolation
            • Delete a resource management plan config
            • Clear cgroup configurations
            • Delete a resource group
          • Manage resource isolation (MySQL mode)
            • Delete a resource management plan
            • Delete a resource group
            • Configure user-level resource isolation
            • Clear cgroup configurations
            • Delete a resource management plan config
            • Calibrate the disk performance
            • Update a resource management plan config
            • Configure cgroups
            • Configure SQL statement-level resource isolation
        • Manage unit configs
          • Query unit configs
          • Modify unit configs
          • Drop unit configs
        • Manage resource pools
          • Drop a resource pool
          • Merge and split resource pools
          • View resource pool information
          • Remove resource pools from a tenant
          • Allocate a resource pool to a tenant
        • Scale in/out
          • Modify the unit configs for a tenant
          • Modify the number of primary zones for a tenant
          • Introduction to scaling in/out
          • Modify the number of resource units for a tenant
    • Troubleshooting
      • Bootstrap
      • Log synchronization-related errors
      • Overview
      • Backup and restore
        • Physical restore failures
        • Data backup failures
      • Transaction
        • Suspended transactions
        • Long-running transactions
        • Transaction-related errors
        • Transaction rollbacks
        • Idle transactions
      • Physical standby database
        • Switchover failures
        • Log synchronization stuck for the physical standby database
      • Election
        • Leader switchover exceptions
        • Absence of the leader
        • Election
      • Storage
        • Migration, replication, and rebuild tasks
        • Minor compaction and major compaction
        • Memory-related errors
    • Monitor
      • Overview
      • Cases
      • Metrics
        • SQL monitoring
          • Overview
          • SQL audit
          • Execution plans
        • System monitoring
          • Wait events
          • Metrics
          • Latch events
          • Overview
    • Logs
      • Log levels
      • Log metrics
      • Log control
      • Overview
      • Log stability
      • View logs
        • Query the log of a previous SQL request by using the SQL Trace feature
        • Search for the logs of a specific SQL request
  • OBKV
    • Overview
    • Architecture
    • RPC message compression
    • OBKV-HBase
      • Overview
      • Compatibility with HBase
      • FAQ
      • Deployment
      • Core features
      • Performance test
      • Views
      • Use OBKV-HBase
        • Overview
        • Data model design
        • Connect to a cluster by using the OBKV-HBase client
        • Data operation examples
        • Data model
        • Delete expired data
      • OBKV-HBase integration
        • Synchronize data to OBKV-HBase by using Flink
      • OBKV-HBase management
        • Overview
        • Security and permissions
        • Monitoring metrics
        • High availability
    • OBKV-Table
      • FAQ
      • Delete expired data
      • Use the OBKV-Table GO client
        • Aggregation API
        • Use the OBKV-Table Go client to connect to a cluster
        • About queries
        • Overview of the Go client
        • Batch operations
        • Filters
        • Individual API operations
      • Use the OBKV-Table Java client
        • Use the OBKV-Table Java client
        • Set client parameters
        • Use the OBKV-Table Java client to connect to a cluster
        • Supported client interfaces
      • OBKV-Table
        • Differences between replace and insert_or_update
        • Overview
        • OBKV-Table operation types
        • Supported value types
        • OBKV-Table data models
  • Reference
    • SQL reference
      • Reserved keywords (Oracle mode)
      • Reserved keywords (MySQL mode)
      • SQL syntax
        • User tenants (MySQL mode)
          • Sequence pseudocolumns
          • Functions
            • Overview
            • JSON functions
              • Overview
              • JSON_TABLE
              • Search JSON text functions
                • JSON_OVERLAPS
                • JSON_EXTRACT
                • JSON_KEYS
                • JSON_CONTAINS
                • JSON_CONTAINS_PATH
                • MEMBER OF
                • JSON_SEARCH
                • JSON_VALUE
              • Return JSON text property functions
                • JSON_VALID
                • JSON_DEPTH
                • JSON_LENGTH
                • JSON_TYPE
              • Modify JSON text functions
                • JSON_REPLACE
                • JSON_MERGE_PATCH
                • JSON_MERGE
                • JSON_SET
                • JSON_UNQUOTE
                • JSON_REMOVE
                • JSON_INSERT
                • JSON_ARRAY_INSERT
                • JSON_ARRAY_APPEND
                • JSON_MERGE_PRESERVE
              • Create JSON text functions
                • JSON_OBJECT
                • JSON_QUOTE
                • JSON_ARRAY
              • JSON aggregate functions
                • JSON_ARRAYAGG
                • JSON_OBJECTAGG
              • JSON utility functions
                • JSON_PRETTY
                • JSON_STORAGE_SIZE
            • Single-row functions
              • Mathematical functions
                • RAND
                • GENERATOR
                • ZIPF
                • RANDOM
                • ACOS
                • CONV
                • ABS
                • LOG2
                • TAN
                • EXP
                • LOG10
                • ATAN
                • DEGREES
                • FLOOR
                • ATAN2
                • BIT_COUNT
                • LOG
                • POWER
                • CEIL
                • SIGN
                • PI
                • MOD
                • TRUNCATE
                • RADIANS
                • NEG
                • UNIFORM
                • NORMAL
                • SQRT
                • LN
                • ASIN
                • CRC32
                • RANDSTR
                • CEILING
                • POW
                • SIN
                • ROUND
                • COT
                • COS
              • Datetime functions
                • DATE
                • CURRENT_TIMESTAMP
                • TIME
                • SUBTIME
                • UTC_DATE
                • FROM_UNIXTIME
                • DATE_FORMAT
                • DATE_ADD
                • LOCALTIME
                • GET_FORMAT
                • TIME_TO_USEC
                • SECOND
                • TIME_TO_SEC
                • QUARTER
                • USEC_TO_TIME
                • TIME_FORMAT
                • LAST_DAY
                • MICROSECOND
                • SEC_TO_TIME
                • YEARWEEK
                • CURRENT_DATE
                • MINUTE
                • TO_SECONDS
                • TIMESTAMPADD
                • MAKEDATE
                • PERIOD_DIFF
                • YEAR
                • DAYOFYEAR
                • SUBDATE
                • UTC_TIMESTAMP
                • CONVERT_TZ
                • HOUR
                • SYSDATE
                • DAYOFWEEK
                • CURDATE
                • STR_TO_DATE
                • MONTH
                • WEEK
                • TIMEDIFF
                • MAKETIME
                • DAY
                • UNIX_TIMESTAMP
                • WEEKDAY
                • CURTIME
                • ADDTIME
                • DAYOFMONTH
                • EXTRACT
                • TIMESTAMPDIFF
                • DAYNAME
                • UTC_TIME
                • DATE_SUB
                • WEEKOFYEAR
                • CURRENT_TIME
                • DATEDIFF
                • PERIOD_ADD
                • MONTHNAME
                • NOW
                • ADDDATE
                • FROM_DAYS
                • LOCALTIMESTAMP
                • TO_DAYS
                • TIMESTAMP
              • String functions
                • LPAD
                • RTRIM
                • UCASE
                • REPLACE
                • LOWER
                • CONCAT_WS
                • REGEXP_SUBSTR
                • OCTET_LENGTH
                • LTRIM
                • REGEXP_REPLACE
                • REGEXP_LIKE
                • WEIGHT_STRING
                • CONCAT
                • IP2INT
                • BIN
                • RPAD
                • SUBSTRING
                • SPACE
                • FORMAT
                • MAKE_SET
                • REPEAT
                • QUOTE
                • LOCATE
                • FROM_BASE64
                • SOUNDEX
                • INSERT
                • TO_BASE64
                • OCT
                • FIELD
                • LEFT
                • CHARACTER_LENGTH
                • HEX
                • RLIKE
                • POSITION
                • REVERSE
                • STRCMP
                • REGEXP
                • BIT_LENGTH
                • EXPORT_SET
                • INSTR
                • SUBSTR
                • SUBSTRING_INDEX
                • ELT
                • REGEXP_INSTR
                • MID
                • LCASE
                • UPPER
                • ORD
                • TRIM
                • LENGTH
                • CHAR
                • FIND_IN_SET
                • CHAR_LENGTH
                • ASCII
                • RIGHT
                • UNHEX
                • INT2IP
              • Comparison functions
                • INTERVAL
                • LEAST
                • GREATEST
                • ISNULL
              • Conversion functions
                • CAST
                • CONVERT
                • SCN_TO_TIMESTAMP
                • TIMESTAMP_TO_SCN
              • Process control functions
                • IF
                • NULLIF
                • IFNULL
                • ORA_DECODE
                • CASE
            • Encryption functions
              • AES_DECRYPT
              • RANDOM_BYTES
              • DES_ENCRYPT
              • COMPRESS
              • UNCOMPRESS
              • SHA1
              • SHA2
              • AES_ENCRYPT
              • DES_DECRYPT
              • ENCODE
              • UNCOMPRESSED_LENGTH
              • ENCRYPT
              • MD5
              • DECODE
              • SHA
              • VALIDATE_PASSWORD_STRENGTH
            • Aggregate functions
              • VAR_POP
              • GROUPING
              • GROUP_CONCAT
              • STD
              • COUNT
              • VARIANCE
              • STDDEV_POP
              • MIN
              • BIT_AND
              • SUM
              • BIT_XOR
              • AVG
              • STDDEV
              • APPROX_COUNT_DISTINCT
              • VAR_SAMP
              • MAX
              • BIT_OR
              • STDDEV_SAMP
            • Analysis functions
              • STDDEV_SAMP
              • BIT_XOR
              • CUME_DIST
              • STD
              • COUNT
              • LAG
              • FIRST_VALUE
              • MIN
              • STDDEV_POP
              • VAR_SAMP
              • SUM
              • STDDEV
              • RANK
              • BIT_OR
              • VARIANCE
              • DENSE_RANK
              • LAST_VALUE
              • PERCENT_RANK
              • NTILE
              • AVG
              • MAX
              • APPROX_COUNT_DISTINCT
              • VAR_POP
              • LEAD
              • NTH_VALUE
              • ROW_NUMBER
              • BIT_AND
            • Other functions
              • ANY_VALUE
              • BIN_TO_UUID
              • COALESCE
              • DEFAULT
              • NAME_CONST
              • INET_ATON
              • INET_NTOA
              • INET6_ATON
              • IS_IPV4
              • IS_IPV4_COMPAT
              • IS_IPV6
              • IS_UUID
              • UUID_TO_BIN
              • SLEEP
              • UUID
              • UUID_SHORT
              • VALUES
              • INET6_NTOA
              • NVL
            • Information functions
              • SESSION_USER
              • SCHEMA
              • BENCHMARK
              • LAST_INSERT_ID
              • SYSTEM_USER
              • ICU_VERSION
              • CONNECTION_ID
              • COERCIBILITY
              • FOUND_ROWS
              • VERSION
              • CURRENT_USER
              • USER
              • COLLATION
              • CHARSET
              • ROW_COUNT
              • DATABASE
              • OB_VERSION
            • Spatial functions
              • Spatial relation functions
              • Functions that create geometry values
              • Geometry property functions
              • Geometry format conversion functions
              • Spatial operation functions
            • Performance schema functions
              • FORMAT_BYTES
              • FORMAT_PICO_TIME
          • SQL statements
            • DROP TABLEGROUP
            • CREATE DATABASE
            • MERGE
            • SET CHARSET
            • ALTER EXTERNAL TABLE
            • HELP
            • LOCK TABLES
            • RENAME USER
            • REVOKE
            • General syntax
            • DROP RESTORE POINT
            • DROP SEQUENCE
            • SELECT INTO
            • PURGE
            • TRUNCATE TABLE
            • DROP VIEW
            • CREATE INDEX
            • PREPARE
            • DROP OUTLINE
            • RENAME TABLE
            • SET PASSWORD
            • DEALLOCATE PREPARE
            • CREATE SEQUENCE
            • DELETE
            • ALTER DATABASE
            • CREATE TABLE
            • ALTER TABLEGROUP
            • CREATE VIEW
            • VALUES
            • GRANT
            • FLASHBACK
            • CREATE OUTLINE
            • SHOW
            • ALTER OUTLINE
            • DROP USER
            • DROP DATABASE
            • ALTER TABLE
            • CREATE DATABASE LINK
            • MERGE
            • DESCRIBE
            • ALTER VIEW
            • SET
            • UPDATE
            • TRANSACTION
            • KILL
            • SET NAMES
            • CREATE USER
            • DROP INDEX
            • CREATE TABLEGROUP
            • ANALYZE
            • EXPLAIN
            • OPTIMIZE
            • CTE
            • CREATE EXTERNAL TABLE
            • DROP DATABASE LINK
            • ALTER SEQUENCE
            • SET TRANSACTION
            • REPLACE
            • SAVEPOINT
            • LOAD DATA
            • INSERT
            • ALTER USER
            • DROP TABLE
            • PURGE RECYCLEBIN
            • EXECUTE
            • USE
            • SCHEMA
            • SELECT
              • SELECT statement
              • OVER clause
              • JOIN clause
              • UNION clause
          • Basic elements
            • Schema object names
            • Comments
            • User-defined variables
            • Data types
              • SET type
              • Overview
              • ENUM type
              • Datetime types
                • TIME type
                • DATE, DATETIME, and TIMESTAMP types
                • Overview
                • YEAR type
              • Numeric types
                • Floating-point data types
                • Overview
                • Fixed-point data types
                • Bit value data type
                • Integer data types
              • Spatial data types
                • Overview
                • Spatial data formats
                • Create a spatial index
                • Create a spatial column
                • SRS
              • Large objects and text types
                • TEXT types
                • Overview
                • BLOB types
              • JSON data types
                • Overview
                • Query and modify JSON values
                • Create a JSON value
                • Convert a JSON data type
              • String types
                • BINARY and VARBINARY
                • Overview
                • CHAR and VARCHAR
            • Character set and collation
              • Database-level character sets and collations
              • Overview
              • Column-level character sets and collations
              • Collations
              • Character sets
              • Character sets and collations for client connection
              • Character sets and collations for character expressions
              • Table-level character sets and collations
            • Literals
              • Overview
              • Strings
              • NULLs
              • Boolean values
              • Bit values
              • Numbers
              • Datetime values
            • Expressions
              • Convert data types in expression evaluation
              • Expression syntax
              • Overview
          • Queries and subqueries
            • Joins
            • Overview
            • Subqueries
          • Operators
            • Bitwise operators
            • Date and time operators
            • CASE conditional operator
            • Operator precedence
            • Logical operators
            • BINARY operator
            • Assignment operators
            • Arithmetic operators
            • Overview
            • Concatenation operators
            • Comparison operators
          • DDL feature
            • Column type change rules
            • Generated column operations
            • Column operations
            • Foreign key operations
            • Partition operations
            • Overview
            • Online and offline DDL operations
            • Primary key operations
            • Index operations
            • Table operations
        • User tenants (Oracle mode)
          • Introduction to SQL
          • Functions
            • Overview
            • Single-row functions
              • JSON functions
                • Overview
                • Modify JSON text functions
                  • JSON_MERGEPATCH
                • Create JSON text functions
                  • JSON_ARRAY
                  • JSON_OBJECTAGG
                  • JSON_ARRAYAGG
                  • JSON_OBJECT
                • Query JSON text functions
                  • JSON_TABLE
                  • JSON_VALUE
                  • JSON_EXISTS
                  • JSON_QUERY
                • Validate JSON text functions
                  • JSON_EQUAL
              • Conversion functions
                • TO_CHAR(number)
                • TO_TIMESTAMP
                • RAWTOHEX
                • ASCIISTR
                • TO_DATE
                • TO_NCHAR(character)
                • TO_NCHAR(number)
                • TO_YMINTERVAL
                • TO_MULTI_BYTE
                • SCN_TO_TIMESTAMP
                • TO_BLOB
                • CHARTOROWID
                • CONVERT
                • TO_BINARY_DOUBLE
                • ROWIDTONCHAR
                • TO_DSINTERVAL
                • TO_NUMBER
                • TIMESTAMP_TO_SCN
                • TO_CHAR(datetime)
                • TO_BINARY_FLOAT
                • NUMTOYMINTERVAL
                • TO_CLOB
                • NUMTODSINTERVAL
                • UNISTR
                • HEXTORAW
                • TO_CHAR(character)
                • ROWIDTOCHAR
                • TO_NCHAR(datetime)
                • TO_TIMESTAMP_TZ
                • CAST
                • TO_SINGLE_BYTE
              • Numeric functions
                • ABS
                • ACOS
                • ASIN
                • ATAN
                • ATAN2
                • BITAND
                • CEIL
                • COS
                • COSH
                • EXP
                • FLOOR
                • LN
                • GENERATOR
                • LOG
                • MOD
                • NANVL
                • NORMAL
                • POWER
                • REMAINDER
                • ROUND
                • RANDOM
                • RANDSTR
                • SIGN
                • SIN
                • SINH
                • SQRT
                • TAN
                • TANH
                • TRUNC
                • UNIFORM
                • WIDTH_BUCKET
                • ZIPF
              • Datetime functions
                • NUMTODSINTERVAL
                • EXTRACT(datetime)
                • TRUNC(date)
                • TZ_OFFSET
                • CURRENT_DATE
                • ADD_MONTHS
                • FROM_TZ
                • SYS_EXTRACT_UTC
                • TO_TIMESTAMP
                • TO_CHAR(datetime)
                • TO_YMINTERVAL
                • SYSTIMESTAMP
                • NEXT_DAY
                • TO_DSINTERVAL
                • DBTIMEZONE
                • ROUND(date)
                • MONTHS_BETWEEN
                • NUMTOYMINTERVAL
                • SESSIONTIMEZONE
                • SYSDATE
                • LAST_DAY
                • TO_TIMESTAMP_TZ
                • LOCALTIMESTAMP
                • CURRENT_TIMESTAMP
              • Generic comparison functions
                • GREATEST
                • LEAST
              • String functions that return a string
                • CONCAT
                • INITCAP
                • CHR
                • NLS_LOWER
                • REPLACE
                • LPAD
                • SUBSTR
                • LTRIM
                • NLSSORT
                • TRANSLATE ... USING
                • TRIM
                • UPPER
                • REGEXP_REPLACE
                • TRANSLATE
                • RTRIM
                • RPAD
                • LOWER
                • NLS_UPPER
                • REGEXP_SUBSTR
              • XML functions
                • Overview
                • Construct XMLType data functions
                  • XMLAGG
                  • XMLATTRIBUTES
                  • XMLPARSE
                  • XMLELEMENT
                • Modify XMLType data functions
                  • UPDATEXML
                • Query XMLType data functions
                  • EXTRACTVALUE
                  • XMLSERIALIZE
                  • XMLCAST
                  • EXTRACT
              • Null value related functions
                • NULLIF
                • NVL2
                • COALESCE
                • NANVL
                • NVL
                • LNNVL
              • String functions that return numbers
                • INSTR
                • LENGTH
                • ASCII
                • REGEXP_COUNT
                • REGEXP_INSTR
              • Environment and identifier functions
                • SYS_GUID
                • OB_VERSION
                • UID
                • USERENV
                • SYS_CONTEXT
                • USER
              • Encoding and decoding functions
                • ORA_HASH
                • DECODE
                • VSIZE
                • DUMP
              • Hierarchical functions
                • SYS_CONNECT_BY_PATH
            • Analysis functions
              • AVG
              • CORR
              • PERCENTILE_DISC
              • VARIANCE
              • LISTAGG
              • VAR_SAMP
              • WMSYS.WM_CONCAT/WM_CONCAT
              • COVAR_SAMP
              • CUME_DIST
              • PERCENT_RANK
              • MIN
              • STDDEV_POP
              • LAG
              • Analytic functions
              • STDDEV_SAMP
              • NTILE
              • MAX
              • VAR_POP
              • RANK
              • NTH_VALUE
              • MEDIAN
              • COUNT
              • RATIO_TO_REPORT
              • FIRST_VALUE
              • STDDEV
              • SUM
              • KEEP
              • COVAR_POP
              • LEAD
              • PERCENTILE_CONT
              • REGR_(Linear Regression)
              • ROW_NUMBER
              • DENSE_RANK
              • LAST_VALUE
            • Aggregate functions
              • WMSYS.WM_CONCAT/WM_CONCAT
              • GROUPING
              • COVAR_POP
              • PERCENTILE_DISC
              • LISTAGG
              • ROLLUP
              • VAR_SAMP
              • STDDEV_POP
              • SUM
              • MAX
              • VAR_POP
              • CORR
              • AVG
              • STDDEV_SAMP
              • STDDEV
              • MIN
              • PERCENT_RANK
              • VARIANCE
              • CUME_DIST
              • PERCENTILE_CONT
              • RANK
              • REGR_(Linear Regression)
              • APPROX_COUNT_DISTINCT
              • MEDIAN
              • KEEP
              • COVAR_SAMP
              • COUNT
              • DENSE_RANK
          • SQL statements
            • DDL
              • DROP TABLESPACE
              • CREATE SYNONYM
              • DROP DATABASE LINK
              • DROP USER
              • ALTER KEYSTORE
              • CREATE TABLEGROUP
              • ALTER EXTERNAL TABLE
              • CREATE DIRECTORY
              • ALTER TABLE
              • CREATE EXTERNAL TABLE
              • ALTER SYSTEM MAJOR FREEZE
              • CREATE TABLE
              • DROP PROFILE
              • TRUNCATE TABLE
              • DROP DIRECTORY
              • CREATE PROFILE
              • DROP TABLEGROUP
              • CREATE TABLESPACE
              • ALTER SYSTEM PARAMETER
              • CREATE INDEX
              • ALTER PROFILE
              • CREATE OUTLINE
              • DROP VIEW
              • ALTER SESSION
              • CREATE KEYSTORE
              • CREATE SEQUENCE
              • CREATE USER
              • ALTER TABLEGROUP
              • CREATE ROLE
              • ALTER INDEX
              • DROP SEQUENCE
              • DROP ROLE
              • CREATE DATABASE LINK
              • ALTER ROLE
              • DROP CONTEXT
              • ALTER OUTLINE
              • CREATE CONTEXT
              • DROP INDEX
              • ALTER USER
              • DROP TABLE
              • ALTER SEQUENCE
              • RENAME
              • CREATE VIEW
              • DROP SYNONYM
              • ALTER SYSTEM FLUSH PLAN CACHE
              • DROP OUTLINE
            • DML
              • UPDATE
              • MERGE
              • PURGE
              • EXPLAIN
              • INSERT
              • DELETE
              • SELECT
                • Set-based SELECT
                • SIMPLE SELECT
                • WITH clause
            • DCL
              • SET PASSWORD
              • TRANSACTION
              • GRANT
              • SHRINK
              • SET VARIABLE
              • SET NAMES
              • AUDIT
              • ANALYZE
              • FLASHBACK TABLE BEFORE DROP
              • ALTER SYSTEM KILL SESSION
              • LOAD DATA
              • LOCK TABLE
              • COMMENT
              • COMMIT
              • REVOKE
              • SAVEPOINT
              • KILL
              • ROLLBACK
              • SHOW
              • SET ROLE
          • Pseudo columns
            • Sequence pseudocolumns
            • Overview
            • ORA_ROWSCN pseudocolumn
            • ROWNUM pseudocolumn
            • Hierarchical query pseudocolumns
            • ROWID pseudocolumn
          • Expressions
            • Function expressions
            • Datetime expressions
            • Column expressions
            • Compound expressions
            • Scalar subquery expressions
            • Overview
            • Case expressions
            • Expression list
            • Interval expressions
            • CURSOR expressions
            • Type constructor expressions
            • Simple expressions
          • DDL feature
            • Online and offline DDL operations
            • Index operations
            • Partition operations
            • Column operations
            • Primary key operations
            • Column type change rules
            • Generated column operations
            • Table operations
            • Foreign key operations
            • Overview
          • Basic elements
            • Character sets and collations
            • Built-in data types
              • Rowid data types
              • Any types
              • RAW data type
              • Overview
              • User-defined data types
              • Numeric data types
                • Precedence of numeric data types
                • NUMBER data type
                • FLOAT data type
                • Overview
                • Floating-point numbers
              • Datetime and interval data types
                • INTERVAL YEAR TO MONTH data type
                • TIMESTAMP data type
                • TIMESTAMP WITH TIME ZONE data type
                • DATE data type
                • INTERVAL DAY TO SECOND data type
                • Calculation of dates, timestamps, and intervals
                • TIMESTAMP WITH LOCAL TIME ZONE data type
                • Overview
              • Large object data types
                • CLOB data type
                • BLOB data type
                • Overview
              • JSON data types
                • Create JSON columns
                • Query JSON data
                • Overview
                • Conversion rules for JSON data types
              • Character data types
                • CHAR data type
                • Overview
                • NVARCHAR2 data type
                • NCHAR data type
                • VARCHAR2 data type
                • VARCHAR data type
              • XML data types
                • Query XMLType data
                • XML data definition
                • Convert XMLType data
                • Create an XMLType column
                • Overview
            • Database objects
              • Non-schema objects
              • Schema objects
            • Database naming conventions
              • Suggestions on schema object names
              • Overview
            • Annotations
              • Overview
              • Comments on schema and non-schema objects
              • Comments within SQL statements
              • Hints
                • Overview
                • Hint list
                  • Hints related to access path
                  • Hints related to join orders
                  • Hints related to joins
                  • Hints related to parallel execution
                  • Hints related to query strategy
                  • Hints related to query conversion
                  • Other hints
            • Database object reference methods
              • Reference an attribute or method of an object type
              • Overview
              • Reference partitioned tables and indexes
              • Reference schema objects
              • Reference objects in a remote database
                • Create a DBLink
                • Reference a DBLink
            • Literals
              • Interval literals
              • Text literals
              • Numeric literals
              • Overview
              • Datetime literals
                • Timestamp literals
                • Date literals
            • Data type comparison rules
              • Data type conversion rules
              • Date value comparison rules
              • Overview
              • Security considerations for data conversion
              • Numeric value comparison rules
              • Data type precedence
              • Character value comparison rules
            • Format model
              • Number format models
              • RR datetime format element
              • Datetime format models
              • Overview
              • String-to-date conversion rules
            • NULL value
              • Overview
              • NULLs in comparison conditions
              • NULLs in SQL functions
              • NULLs in conditional expressions
          • Conditions
            • Pattern-matching conditions
            • Logical conditions
            • NULL conditions
            • Overview
            • IN condition
            • Condition precedence
            • BETWEEN condition
            • Compound conditions
            • Floating-point conditions
            • Comparison conditions
            • EXISTS condition
          • Operators
            • Arithmetic operators
            • Set operators
            • COLLATE operator
            • Operator precedence
            • Overview
            • Hierarchical query operators
            • Concatenation operator
          • Queries and subqueries
            • DUAL table query
            • Simple query
            • Hierarchical query
            • Subquery
            • Join query
            • Compound query
            • Overview
        • System tenants
          • ALTER RESOURCE UNIT
          • CREATE RESOURCE POOL
          • SET DECRYPTION
          • DROP RESOURCE UNIT
          • CREATE TENANT
          • CREATE RESOURCE UNIT
          • SET ENCRYPTION
          • ALTER RESOURCE POOL
          • ALTER RESOURCE TENANT
          • DROP TENANT
          • ALTER TENANT
          • DROP RESOURCE POOL
          • Overview
          • ALTER SYSTEM
            • CANCEL RECOVER TABLE
            • RECOVER TABLE
            • ACTIVATE
            • REFRESH
            • RECOVER
            • ARBITRATION
            • ARCHIVELOG
            • LOG RESTORE SOURCE
            • BOOTSTRAP
            • THROTTLE
            • SWITCHOVER
            • RESTORE
            • BACKUP
            • SERVER
            • FLUSH PLAN CACHE
            • CANCEL MIGRATE UNIT
            • JOB
            • MIGRATE UNIT
            • FAILOVER
            • PARAMETER
            • BALANCE TASK
            • DELETE BACKUP
            • ZONE
            • MERGE
      • PL reference
        • PL reference (Oracle mode)
          • Reserved PL keywords
          • DDL operations on stored PL units
            • Overview
            • DROP FUNCTION
            • CREATE PACKAGE BODY
            • CREATE TRIGGER
            • DROP TYPE BODY
            • CREATE FUNCTION
            • CREATE PACKAGE
            • CREATE PROCEDURE
            • DROP TYPE
            • DROP PROCEDURE
            • DROP TRIGGER
            • ALTER PACKAGE
            • CREATE TYPE
            • DROP PACKAGE
            • ALTER TRIGGER
            • ALTER PROCEDURE
            • CREATE TYPE BODY
            • ALTER TYPE
            • ALTER FUNCTION
          • PL static SQL
            • Transaction processing and control
            • Overview
            • Cursors
              • Overview
              • Cursor attributes
              • Implicit cursors
              • Explicit cursors
              • Cursor variables
              • Traverse cursor data by using the FOR loop
              • Modify and drop a cursor
            • Autonomous transactions
              • Call autonomous functions from SQL statements
              • Autonomous triggers
              • Control an autonomous transaction
              • Overview
          • PL stored procedures and functions
            • Privilege control
            • Create a function
            • Manage stored procedures and functions
            • Collection of stored procedure information and its impact on parallel execution of SQL statements
            • Create a stored procedure
            • PL DBLink
            • Overview
            • User-defined functions
              • Use user-defined aggregate functions
              • Overview
              • Interface for user-defined aggregate functions
              • Create user-defined aggregate functions
            • Pipeline functions
              • Overview
              • Application
              • Create a pipelined function
          • PL system package (Oracle mode)
            • Overview
            • UTL_RAW
              • BIT_AND
              • CAST_TO_VARCHAR2
              • CAST_TO_BINARY_FLOAT
              • Overview
              • CAST_TO_RAW
              • CAST_FROM_BINARY_DOUBLE
              • BIT_OR
              • REVERSE
              • CAST_FROM_BINARY_FLOAT
              • CAST_TO_BINARY_DOUBLE
              • COMPARE
              • CONCAT
              • CAST_FROM_BINARY_INTEGER
              • BIT_XOR
              • CAST_FROM_NUMBER
              • CAST_TO_BINARY_INTEGER
              • SUBSTR
              • BIT_COMPLEMENT
              • COPIES
              • LENGTH
              • CAST_TO_NUMBER
            • DBMS_XPLAN
              • Overview
              • DISPLAY_ACTIVE_SESSION_PLAN
              • DISPLAY_CURSOR
              • DISPLAY
              • DISABLE_OPT_TRACE
              • DISPLAY_SQL_PLAN_BASELINE
              • ENABLE_OPT_TRACE
              • SET_OPT_TRACE_PARAMETER
            • DBMS_LOB
              • CREATETEMPORARY
              • GETLENGTH
              • OPEN
              • APPEND
              • SUBSTR
              • INSTR
              • ERASE
              • WRITEAPPEND
              • ISTEMPORARY
              • Overview
              • CLOSE
              • READ
              • TRIM
              • COPY
              • FREETEMPORARY
              • WRITE
              • ISOPEN
            • DBMS_DEBUG
              • Overview
              • ATTACH_SESSION
              • CONTINUE
              • DEBUG_ON
              • DEBUG_OFF
              • DETACH_SESSION
              • DELETE_BREAKPOINT
              • DISABLE_BREAKPOINT
              • ENABLE_BREAKPOINT
              • GET_VALUE
              • GET_VALUES
              • GET_RUNTIME_INFO
              • GET_TIMEOUT_BEHAVIOUR
              • INITIALIZE
              • PROBE_VERSION
              • PRINT_BACKTRACE
              • SET_TIMEOUT
              • SET_TIMEOUT_BEHAVIOUR
              • SET_BREAKPOINT
              • SHOW_BREAKPOINTS
            • DBMS_STATS
              • EXPORT_SCHEMA_STATS
              • LOCK_SCHEMA_STATS
              • GATHER_INDEX_STATS
              • RESET_PARAM_DEFAULTS
              • IMPORT_TABLE_STATS
              • IMPORT_COLUMN_STATS
              • IMPORT_SCHEMA_STATS
              • EXPORT_INDEX_STATS
              • IMPORT_INDEX_STATS
              • SET_GLOBAL_PREFS
              • UNLOCK_PARTITION_STATS
              • RESET_GLOBAL_PREF_DEFAULTS
              • SET_PARAM
              • LOCK_PARTITION_STATS
              • FLUSH_DATABASE_MONITORING_INFO
              • RESTORE_TABLE_STATS
              • UNLOCK_TABLE_STATS
              • DELETE_SCHEMA_STATS
              • EXPORT_COLUMN_STATS
              • GATHER_TABLE_STATS
              • PURGE_STATS
              • DELETE_TABLE_STATS
              • DELETE_TABLE_PREFS
              • GET_PREFS
              • SET_INDEX_STATS
              • DELETE_INDEX_STATS
              • DELETE_COLUMN_STATS
              • UNLOCK_SCHEMA_STATS
              • SET_TABLE_STATS
              • CREATE_STAT_TABLE
              • ALTER_STATS_HISTORY_RETENTION
              • DELETE_SCHEMA_PREFS
              • RESTORE_SCHEMA_STATS
              • SET_COLUMN_STATS
              • Overview
              • DROP_STAT_TABLE
              • SET_SCHEMA_PREFS
              • GATHER_SCHEMA_STATS
              • SET_TABLE_PREFS
              • GET_PARAM
              • EXPORT_TABLE_STATS
              • GET_STATS_HISTORY_AVAILABILITY
              • LOCK_TABLE_STATS
              • GET_STATS_HISTORY_RETENTION
            • DBMS_UTILITY
              • IS_CLUSTER_DATABASE
              • OLD_CURRENT_SCHEMA
              • GET_SQL_HASH
              • FORMAT_ERROR_BACKTRACE
              • DB_VERSION
              • FORMAT_ERROR_STACK
              • GET_ENDIANNESS
              • ACTIVE_INSTANCES
              • Overview
              • GET_HASH_VALUE
              • GET_PARAMETER_VALUE
              • PORT_STRING
              • TABLE_TO_COMMA
              • NAME_RESOLVE
              • COMMA_TO_TABLE
              • GET_TIME
              • IS_BIT_SET
              • OLD_CURRENT_USER
              • FORMAT_CALL_STACK
              • NAME_TOKENIZE
              • CURRENT_INSTANCE
            • DBMS_AUDIT_MGMT
              • CLEAN_AUDIT_TRAIL
              • SET_LAST_ARCHIVE_TIMESTAMP
              • SET_PURGE_JOB_STATUS
              • Overview
              • CREATE_PURGE_JOB
              • DROP_PURGE_JOB
            • DBMS_XA
              • DBMS_XA_XID object type
              • XA_RECOVER
              • DBMS_XA constants
              • XA_PREPARE
              • XA_SETTIMEOUT
              • XA_GETLASTOER
              • XA_START
              • XA_END
              • XA_ROLLBACK
              • XA_FORGET
              • Overview
              • DIST_TXN_SYNC
              • XA_COMMIT
            • UTL_FILE
              • FFLUSH
              • PUT
              • FREMOVE
              • FCLOSE
              • PUT_LINE
              • FGETPOS
              • FSEEK
              • NEW_LINE
              • Overview
              • FOPEN
              • FRENAME
              • GET_LINE
            • DBMS_OUTPUT
              • Overview
              • docslug#/oceanbase-database/oceanbase-database/V4.0.0/DISABLE
              • docslug#/oceanbase-database/oceanbase-database/V4.0.0/ENABLE
              • docslug#/oceanbase-database/oceanbase-database/V4.0.0/GET_LINE
              • docslug#/oceanbase-database/oceanbase-database/V4.0.0/GET_LINES
              • docslug#/oceanbase-database/oceanbase-database/V4.0.0/NEW_LINE
              • docslug#/oceanbase-database/oceanbase-database/V4.0.0/PUT
              • docslug#/oceanbase-database/oceanbase-database/V4.0.0/PUT_LINE
            • DBMS_SQL
              • DEFINE_ARRAY
              • EXECUTE_AND_FETCH
              • DESCRIBE_COLUMNS
              • Overview
              • BIND_VARIABLE
              • OPEN_CURSOR
              • EXECUTE
              • COLUMN_VALUE
              • CLOSE_CURSOR
              • LAST_ERROR_POSITION
              • IS_OPEN
              • DEFINE_COLUMN
              • PARSE
              • FETCH_ROWS
            • XMLType
              • CREATEXML
              • XMLTYPE
              • GETSTRINGVAL
              • Overview
              • TRANSFORM
              • GETCLOBVAL
            • DBMS_DESCRIBE
              • DESCRIBE_PROCEDURE
              • Overview
            • DBMS_SCHEDULER
              • Overview
              • SET_ATTRIBUTE
              • DROP_JOB
              • DISABLE
              • SET_JOB_ARGUMENT_VALUE
              • GENERATE_JOB_NAME
              • ENABLE
              • RUN_JOB
              • DROP_PROGRAM
              • CREATE_PROGRAM
              • DEFINE_PROGRAM_ARGUMENT
              • CREATE_JOB
            • DBMS_XMLGEN
              • Overview
              • CONVERT
            • UTL_I18N
              • Overview
              • RAW_TO_CHAR
              • STRING_TO_RAW
            • ODCIConst
              • ODCIStatsOptions.Options
              • ODCIIndexInfo.IndexParaDegree
              • ODCIEnv.CallProperty
              • Overview
              • ODCIIndexInfo.IndexInfoFlags
              • ODCIIndexAlter
              • ODCIStatsOptions.Flags
              • ScnFlg
              • ODCIIndexAlter parameter alter_option
              • ODCIArgDesc.ArgType
              • ODCIPredInfo.Flags
              • ODCIQueryInfo.Flags
              • Return Status
              • ODCIEnv.Envflags
            • DBMS_SESSION
              • SET_CONTEXT
              • CLEAR_CONTEXT
              • SET_IDENTIFIER
              • CLEAR_IDENTIFIER
              • CLEAR_ALL_CONTEXT
              • Overview
              • RESET_PACKAGE
            • ANYDATA TYPE
              • ENDCREATE member procedure
              • SET* member procedures
              • GETTYPE member function
              • Overview
              • GET* member functions
              • PIECEWISE member procedure
              • BEGINCREATE static procedure
              • GETTYPENAME member function
            • DBMS_RANDOM
              • TERMINATE
              • STRING
              • Overview
              • RANDOM
              • NORMAL
              • SEED
              • INITIALIZE
              • VALUE
            • UTL_ENCODE
              • Overview
              • BASE64_DECODE
              • BASE64_ENCODE
            • DBMS_UDR
              • DISABLE_RULE
              • ENABLE_RULE
              • REMOVE_RULE
              • Overview
              • CREATE_RULE
            • DBMS_LOCK
              • REQUEST
              • SLEEP
              • ALLOCATE_UNIQUE
              • ALLOCATE_UNIQUE_AUTONOMOUS
              • Overview
            • DBMS_RESOURCE_MANAGER
              • CREATE_PLAN
              • CREATE_PLAN_DIRECTIVE
              • DELETE_CONSUMER_GROUP
              • DELETE_PLAN
              • Overview
              • UPDATE_PLAN_DIRECTIVE
              • CREATE_CONSUMER_GROUP
              • DELETE_PLAN_DIRECTIVE
              • SET_CONSUMER_GROUP_MAPPING
            • DBMS_METADATA
              • Overview
              • GET_DDL
            • DBMS_JOB
              • RUN
              • Overview
              • SUBMIT
              • INTERVAL
              • BROKEN
              • ZONE
              • WHAT
              • USER_EXPORT
              • REMOVE
              • NEXT_DATE
              • CHANGE
            • DBMS_APPLICATION_INFO
              • Overview
              • READ_CLIENT_INFO
              • READ_MODULE
              • SET_ACTION
              • SET_CLIENT_INFO
              • SET_MODULE
            • DBMS_CRYPTO
              • ENCRYPT
              • DECRYPT
              • HASH
              • Overview
            • DBMS_PLAN_CACHE
              • docslug#/oceanbase-database/oceanbase-database/V4.0.0/PURGE
              • Overview
            • DBMS_WORKLOAD_REPOSITORY
              • Overview
              • ASH_REPORT
          • PL triggers
            • Query trigger information
            • INSTEAD OF DML trigger
            • Create a DML trigger
            • Overview
            • Disable or enable a trigger
            • Modify and drop a trigger
            • Compound DML trigger
          • PL label security package
            • Overview
            • SA_SESSION session management package
              • SA_SESSION.ROW_LABEL
              • SA_SESSION.RESTORE_DEFAULT_LABELS
              • SA_SESSION.SET_LABEL
              • SA_SESSION.SET_ROW_LABEL
              • Overview
              • SA_SESSION.LABEL
            • SA_LABEL_ADMIN label management package
              • SA_LABEL_ADMIN.ALTER_LABEL
              • SA_LABEL_ADMIN.CREATE_LABEL
              • SA_LABEL_ADMIN.DROP_LABEL
              • Overview
            • SA_POLICY_ADMIN policy management package
              • Overview
              • SA_POLICY_ADMIN.APPLY_TABLE_POLICY
              • SA_POLICY_ADMIN.DISABLE_TABLE_POLICY
              • SA_POLICY_ADMIN.REMOVE_TABLE_POLICY
              • SA_POLICY_ADMIN.ENABLE_TABLE_POLICY
            • SA_USER_ADMIN user label management package
              • SA_USER_ADMIN.SET_LEVELS
              • Overview
            • SA_SYSDBA policy management package
              • Overview
              • SA_SYSDBA.ALTER_POLICY
              • SA_SYSDBA.DROP_POLICY
              • SA_SYSDBA.CREATE_POLICY
            • SA_COMPONENTS label component package
              • SA_COMPONENTS.CREATE_LEVEL
              • SA_COMPONENTS.DROP_LEVEL
              • SA_COMPONENTS.ALTER_LEVEL
              • Overview
          • PL collections and records
            • Create and call a subprogram with record type parameters
            • Insert records into a table and update a table by using records
            • Varrays
            • Associative arrays
            • Collections
            • Overview
            • Collection constructor function
            • Records
            • Nested tables
            • Collection methods
              • COUNT method
              • EXISTS method
              • EXTEND method
              • FIRST and LAST methods
              • Overview
              • DELETE method
              • TRIM method
              • LIMIT method
              • PRIOR and NEXT methods
          • PL data types
            • SQL data types
            • PLS_INTEGER and BINARY_INTEGER
            • PL JSON data types
            • LOB data types
            • Arrays
            • BOOLEAN type
            • User-defined subtypes
            • Overview
          • PL language basics
            • Subprograms
            • Scope and visibility of identifiers
            • Lexical units
            • Error-reporting functions
            • Character sets
            • Declaration
            • Expressions
            • PL blocks
            • Quote identifiers
            • Assign values
          • PL exception handling
            • Exception handling processes
            • Exception types
            • Overview
            • Compile-Time alerts
          • PL process control
            • Overview
            • Sequential control
            • Loop control
            • Conditional control
          • PL dynamic SQL
            • DBMS_SQL system package
            • Execute dynamic SQL statements
            • Overview
          • PL packages
            • Create a program package
            • Manage program packages
            • Definition of the PL environment by the STANDARD package
            • Overview
            • Overloaded programs in a package
        • PL reference (MySQL mode)
          • Syntax of PL stored programs
          • Reserved and non-reserved PL keywords
          • PL system packages
            • Overview
            • DBMS_RESOURCE_MANAGER
              • CREATE_PLAN
              • DELETE_PLAN_DIRECTIVE
              • DELETE_CONSUMER_GROUP
              • SET_CONSUMER_GROUP_MAPPING
              • CREATE_CONSUMER_GROUP
              • DELETE_PLAN
              • Overview
              • CREATE_PLAN_DIRECTIVE
              • UPDATE_PLAN_DIRECTIVE
            • DBMS_STATS
              • GET_PREFS
              • CREATE_STAT_TABLE
              • DROP_STAT_TABLE
              • SET_TABLE_PREFS
              • GET_STATS_HISTORY_AVAILABILITY
              • GATHER_SCHEMA_STATS
              • SET_TABLE_STATS
              • DELETE_COLUMN_STATS
              • UNLOCK_SCHEMA_STATS
              • SET_PARAM
              • IMPORT_SCHEMA_STATS
              • RESET_PARAM_DEFAULTS
              • GET_PARAM
              • DELETE_TABLE_PREFS
              • GET_STATS_HISTORY_RETENTION
              • DELETE_TABLE_STATS
              • DELETE_INDEX_STATS
              • EXPORT_INDEX_STATS
              • FLUSH_DATABASE_MONITORING_INFO
              • DELETE_SCHEMA_STATS
              • UNLOCK_PARTITION_STATS
              • Overview
              • SET_GLOBAL_PREFS
              • ALTER_STATS_HISTORY_RETENTION
              • SET_INDEX_STATS
              • RESTORE_TABLE_STATS
              • IMPORT_TABLE_STATS
              • UNLOCK_TABLE_STATS
              • EXPORT_TABLE_STATS
              • IMPORT_COLUMN_STATS
              • DELETE_SCHEMA_PREFS
              • IMPORT_INDEX_STATS
              • LOCK_TABLE_STATS
              • SET_SCHEMA_PREFS
              • GATHER_INDEX_STATS
              • RESET_GLOBAL_PREF_DEFAULTS
              • EXPORT_COLUMN_STATS
              • LOCK_SCHEMA_STATS
              • RESTORE_SCHEMA_STATS
              • EXPORT_SCHEMA_STATS
              • PURGE_STATS
              • GATHER_TABLE_STATS
              • LOCK_PARTITION_STATS
              • SET_COLUMN_STATS
            • DBMS_XPLAN
              • DISPLAY_ACTIVE_SESSION_PLAN
              • DISABLE_OPT_TRACE
              • DISPLAY
              • DISPLAY_CURSOR
              • ENABLE_OPT_TRACE
              • SET_OPT_TRACE_PARAMETER
              • Overview
              • DISPLAY_SQL_PLAN_BASELINE
            • DBMS_UDR
              • CREATE_RULE
              • DISABLE_RULE
              • Overview
              • ENABLE_RULE
              • REMOVE_RULE
            • DBMS_WORKLOAD_REPOSITORY
              • Overview
              • ASH_REPORT
              • CREATE_SNAPSHOT
              • DROP_SNAPSHOT_RANGE
              • MODIFY_SNAPSHOT_SETTINGS
          • PL conditional control statements
            • REPEAT
            • LEAVE
            • IF
            • RETURN
            • WHILE
            • LOOP
            • CASE
            • ITERATE
          • PL exception handling
            • Exception handling and OUT/INOUT parameters
            • DECLARE ... CONDITION
            • Limitations on exception handling
            • DECLARE ... HANDLER
            • RESIGNAL
            • Diagnostics area
            • GET DIAGNOSTICS
            • Overview
            • Effective scope of an exception handler
            • SIGNAL
          • PL stored procedures
            • Variables in stored programs
            • Limitations on stored programs
            • Stored functions
            • Overview
            • Stored procedures
            • Triggers
          • PL data definition statements
            • DROP FUNCTION
            • ALTER FUNCTION
            • ALTER PROCEDURE
            • DROP PROCEDURE
            • CREATE TRIGGER
            • CREATE FUNCTION
            • DROP TRIGGER
            • CREATE PROCEDURE
          • PL related dictionary views
            • INFORMATION_SCHEMA ROUTINES
            • INFORMATION_SCHEMA PARAMETERS
            • INFORMATION_SCHEMA TRIGGERS
          • PL database management statements
            • SHOW TRIGGERS
            • SHOW CREATE TRIGGER
            • SHOW FUNCTION STATUS
            • SHOW CREATE FUNCTION
            • SHOW PROCEDURE STATUS
            • SHOW CREATE PROCEDURE
          • PL cursors
            • Overview
            • Cursor execution process
            • Limitations on server cursors
          • PL data manipulation statements
            • CALL
            • DO
        • What is PL
          • PL architecture
          • Overview
          • Main features of PL
      • SQL specifications and practices
        • Limitations on writing SQL statements
        • SQL writing specifications
          • Transactions
          • Table scan
          • SELECT statements
          • Multi-table join statements
          • Cache
          • Hint
          • DML statements
          • Others
        • SQL statement examples
          • Implicit data type conversion
          • JOIN tables
          • Weak consistency read
          • Pagination queries
    • System views
      • Overview of system views
      • Changes in views in OceanBase Database V3.x and V4.x
      • Common statistics events
      • General wait events
      • Overview
      • SYS tenant views
        • Dictionary views
          • oceanbase.CDB_WR_CONTROL
          • oceanbase.DBA_SUBPART_COL_STATISTICS
          • oceanbase.CDB_OB_KV_TTL_TASKS
          • oceanbase.DBA_RSRC_PLAN_DIRECTIVES
          • oceanbase.DBA_OB_RESOURCE_POOLS
          • oceanbase.DBA_OB_LS_LOCATIONS
          • oceanbase.CDB_OB_LS_ARB_REPLICA_TASKS
          • oceanbase.DBA_OB_TENANTS
          • oceanbase.DBA_OB_ARCHIVELOG_SUMMARY
          • oceanbase.CDB_OB_IMPORT_TABLE_TASK_HISTORY
          • oceanbase.DBA_WR_SNAPSHOT
          • oceanbase.CDB_OB_BACKUP_PARAMETER
          • oceanbase.DBA_SEQUENCES
          • oceanbase.CDB_OB_BACKUP_DELETE_JOBS
          • oceanbase.CDB_OB_TABLE_LOCATIONS
          • oceanbase.DBA_RSRC_GROUP_MAPPINGS
          • oceanbase.DBA_RSRC_CONSUMER_GROUPS
          • oceanbase.DBA_OB_RESTORE_HISTORY
          • oceanbase.CDB_OB_BACKUP_JOBS
          • oceanbase.CDB_OB_BALANCE_JOBS
          • oceanbase.CDB_OB_COLUMN_CHECKSUM_ERROR_INFO
          • oceanbase.DBA_OB_USER_DEFINED_RULES
          • oceanbase.CDB_OB_TABLET_CHECKSUM_ERROR_INFO
          • oceanbase.DBA_OB_CONCURRENT_LIMIT_SQL
          • oceanbase.CDB_OB_LS
          • oceanbase.DBA_DB_LINKS
          • oceanbase.DBA_OB_OUTLINE_CONCURRENT_HISTORY
          • oceanbase.DBA_OB_IMPORT_TABLE_TASK_HISTORY
          • oceanbase.DBA_WR_STATNAME
          • oceanbase.DBA_OB_TABLE_STAT_STALE_INFO
          • oceanbase.DBA_OB_FREEZE_INFO
          • oceanbase.DBA_OB_SERVER_JOBS
          • oceanbase.DBA_OB_ROOTSERVICE_EVENT_HISTORY
          • oceanbase.CDB_TABLES
          • oceanbase.DBA_OB_USERS
          • oceanbase.DBA_SUBPART_KEY_COLUMNS
          • oceanbase.DBA_OB_ZONE_MAJOR_COMPACTION
          • oceanbase.DBA_OB_EXTERNAL_TABLE_FILES
          • oceanbase.DBA_OB_BALANCE_TASKS
          • oceanbase.DBA_OB_CLUSTER_EVENT_HISTORY
          • oceanbase.DBA_OB_TABLEGROUP_TABLES
          • oceanbase.CDB_OB_TABLET_REPLICAS
          • oceanbase.DBA_OB_TENANT_EVENT_HISTORY
          • oceanbase.DBA_OB_LS_REPLICA_TASKS
          • oceanbase.CDB_OB_ARCHIVELOG_PIECE_FILES
          • oceanbase.DBA_OB_TASK_OPT_STAT_GATHER_HISTORY
          • oceanbase.CDB_OB_RECOVER_TABLE_JOBS
          • oceanbase.CDB_OB_RESTORE_HISTORY
          • oceanbase.DBA_OB_IMPORT_TABLE_JOB_HISTORY
          • oceanbase.CDB_TAB_COLS_V$
          • oceanbase.DBA_OB_BALANCE_JOB_HISTORY
          • oceanbase.CDB_OB_TABLET_TO_LS
          • oceanbase.CDB_OB_BACKUP_TASK_HISTORY
          • oceanbase.DBA_PART_TABLES
          • oceanbase.CDB_OB_LS_LOCATIONS
          • oceanbase.DBA_OB_SERVERS
          • oceanbase.DBA_OB_ACCESS_POINT
          • oceanbase.DBA_OB_DATABASE_PRIVILEGE
          • oceanbase.DBA_SCHEDULER_WINDOWS
          • oceanbase.DBA_OB_RESTORE_PROGRESS
          • oceanbase.CDB_WR_ACTIVE_SESSION_HISTORY
          • oceanbase.DBA_OB_KV_TTL_TASK_HISTORY
          • oceanbase.CDB_OB_TENANT_EVENT_HISTORY
          • oceanbase.CDB_OB_DATABASES
          • oceanbase.CDB_OB_BALANCE_TASKS
          • oceanbase.CDB_OB_ARCHIVE_DEST
          • oceanbase.DBA_SUBPARTITION_TEMPLATES
          • oceanbase.CDB_OB_IMPORT_TABLE_TASKS
          • oceanbase.DBA_TAB_STATS_HISTORY
          • oceanbase.DBA_WR_CONTROL
          • oceanbase.CDB_IND_PARTITIONS
          • oceanbase.DBA_IND_PARTITIONS
          • oceanbase.CDB_OB_DATABASE_PRIVILEGE
          • oceanbase.CDB_PART_KEY_COLUMNS
          • oceanbase.DBA_TAB_COL_STATISTICS
          • oceanbase.CDB_OB_DEADLOCK_EVENT_HISTORY
          • oceanbase.CDB_OB_BACKUP_STORAGE_INFO_HISTORY
          • oceanbase.DBA_OB_TABLEGROUPS
          • oceanbase.CDB_OB_BALANCE_TASK_HISTORY
          • oceanbase.DBA_WR_ACTIVE_SESSION_HISTORY
          • oceanbase.DBA_TAB_STATISTICS
          • oceanbase.CDB_OB_TRANSFER_TASK_HISTORY
          • oceanbase.DBA_OB_TABLEGROUP_SUBPARTITIONS
          • oceanbase.DBA_OB_BALANCE_TASK_HISTORY
          • oceanbase.DBA_OB_DEADLOCK_EVENT_HISTORY
          • oceanbase.CDB_OB_BACKUP_DELETE_POLICY
          • oceanbase.DBA_OBJECTS
          • oceanbase.DBA_OB_AUTO_INCREMENT
          • oceanbase.DBA_OB_TRANSFER_TASK_HISTORY
          • oceanbase.DBA_PART_INDEXES
          • oceanbase.CDB_OB_LS_ARB_REPLICA_TASK_HISTORY
          • oceanbase.DBA_OB_LS_ARB_REPLICA_TASKS
          • oceanbase.DBA_OB_LS_LOG_ARCHIVE_PROGRESS
          • oceanbase.CDB_OB_TABLEGROUP_TABLES
          • oceanbase.DBA_OB_TRANSFER_TASKS
          • oceanbase.DBA_OB_LS
          • oceanbase.CDB_OB_USERS
          • oceanbase.DBA_OB_TABLEGROUP_PARTITIONS
          • oceanbase.CDB_OB_BACKUP_DELETE_TASK_HISTORY
          • oceanbase.DBA_PART_COL_STATISTICS
          • oceanbase.CDB_OB_RESTORE_PROGRESS
          • oceanbase.CDB_OB_TABLEGROUP_PARTITIONS
          • oceanbase.CDB_OB_LS_LOG_ARCHIVE_PROGRESS
          • oceanbase.DBA_IND_SUBPARTITIONS
          • oceanbase.CDB_OB_ZONE_MAJOR_COMPACTION
          • oceanbase.CDB_OB_AUTO_INCREMENT
          • oceanbase.DBA_SQL_MANAGEMENT_CONFIG
          • oceanbase.CDB_OB_BALANCE_JOB_HISTORY
          • oceanbase.DBA_OB_DATA_DICTIONARY_IN_LOG
          • oceanbase.CDB_OB_BACKUP_JOB_HISTORY
          • oceanbase.CDB_OB_FREEZE_INFO
          • oceanbase.DBA_TAB_MODIFICATIONS
          • oceanbase.CDB_OB_BACKUP_STORAGE_INFO
          • oceanbase.CDB_OB_SYS_VARIABLES
          • oceanbase.DBA_OB_ARCHIVELOG
          • oceanbase.DBA_OB_ZONES
          • oceanbase.DBA_OB_BACKUP_DELETE_TASK_HISTORY
          • oceanbase.DBA_OB_SEQUENCE_OBJECTS
          • oceanbase.DBA_OB_BACKUP_DELETE_JOBS
          • oceanbase.DBA_OB_TABLET_TO_LS
          • oceanbase.DBA_OB_BACKUP_DELETE_TASKS
          • oceanbase.CDB_OB_ARCHIVELOG_SUMMARY
          • oceanbase.CDB_OB_BACKUP_SET_FILES
          • oceanbase.CDB_SUBPART_KEY_COLUMNS
          • oceanbase.CDB_WR_SYSSTAT
          • oceanbase.CDB_OB_TABLEGROUPS
          • oceanbase.CDB_OB_TRANSFER_TASKS
          • oceanbase.DBA_SUBPART_HISTOGRAMS
          • oceanbase.DBA_OB_ARBITRATION_SERVICE
          • information_schema.QUERY_RESPONSE_TIME
          • oceanbase.CDB_TAB_COLS
          • oceanbase.DBA_OB_UNITS
          • oceanbase.DBA_OB_BACKUP_TASKS
          • oceanbase.DBA_OB_RSRC_IO_DIRECTIVES
          • oceanbase.CDB_TAB_PARTITIONS
          • oceanbase.DBA_SQL_PLAN_BASELINES
          • oceanbase.DBA_OB_BACKUP_STORAGE_INFO
          • oceanbase.DBA_TAB_HISTOGRAMS
          • oceanbase.DBA_OB_BACKUP_DELETE_POLICY
          • oceanbase.DBA_TAB_PARTITIONS
          • oceanbase.CDB_OB_IMPORT_TABLE_JOB_HISTORY
          • oceanbase.DBA_OB_IMPORT_TABLE_TASKS
          • oceanbase.DBA_OB_TABLET_REPLICAS
          • oceanbase.DBA_OB_RECOVER_TABLE_JOBS
          • oceanbase.CDB_PART_TABLES
          • oceanbase.DBA_OB_UNIT_JOBS
          • oceanbase.DBA_PART_KEY_COLUMNS
          • oceanbase.CDB_OB_ARCHIVELOG
          • oceanbase.CDB_IND_COLUMNS
          • oceanbase.CDB_INDEXES
          • oceanbase.CDB_PART_INDEXES
          • oceanbase.DBA_OB_TABLE_LOCATIONS
          • oceanbase.ALL_OB_EXTERNAL_TABLE_FILES
          • oceanbase.CDB_OB_LOG_RESTORE_SOURCE
          • oceanbase.DBA_OB_LOG_RESTORE_SOURCE
          • oceanbase.DBA_OB_TENANT_JOBS
          • oceanbase.CDB_OB_BACKUP_DELETE_TASKS
          • oceanbase.DBA_OB_BACKUP_JOBS
          • oceanbase.CDB_OB_ACCESS_POINT
          • oceanbase.DBA_OB_BACKUP_TASK_HISTORY
          • oceanbase.DBA_OB_LS_ARB_REPLICA_TASK_HISTORY
          • oceanbase.CDB_SUBPARTITION_TEMPLATES
          • oceanbase.DBA_OB_BACKUP_DELETE_JOB_HISTORY
          • oceanbase.DBA_OB_UNIT_CONFIGS
          • oceanbase.DBA_OB_ARCHIVELOG_PIECE_FILES
          • oceanbase.CDB_TAB_SUBPARTITIONS
          • oceanbase.DBA_OB_DATABASES
          • oceanbase.CDB_IND_SUBPARTITIONS
          • oceanbase.DBA_OB_BACKUP_JOB_HISTORY
          • oceanbase.CDB_OB_RECOVER_TABLE_JOB_HISTORY
          • oceanbase.DBA_OB_LS_HISTORY
          • oceanbase.DBA_OB_BALANCE_JOBS
          • oceanbase.DBA_PART_HISTOGRAMS
          • oceanbase.DBA_OB_IMPORT_TABLE_JOBS
          • oceanbase.CDB_OB_EXTERNAL_TABLE_FILES
          • oceanbase.DBA_OB_OUTLINES
          • oceanbase.CDB_OB_LS_HISTORY
          • oceanbase.DBA_WR_SYSSTAT
          • oceanbase.DBA_TAB_SUBPARTITIONS
          • oceanbase.DBA_OB_ARCHIVE_DEST
          • oceanbase.DBA_SCHEDULER_JOBS
          • oceanbase.CDB_OB_KV_TTL_TASK_HISTORY
          • oceanbase.CDB_WR_SNAPSHOT
          • oceanbase.DBA_RSRC_PLANS
          • oceanbase.DBA_OB_BACKUP_PARAMETER
          • oceanbase.DBA_OB_MAJOR_COMPACTION
          • oceanbase.DBA_OB_SERVER_EVENT_HISTORY
          • oceanbase.DBA_OB_RECOVER_TABLE_JOB_HISTORY
          • oceanbase.CDB_OB_DATA_DICTIONARY_IN_LOG
          • oceanbase.CDB_OB_TABLEGROUP_SUBPARTITIONS
          • oceanbase.CDB_OB_BACKUP_TASKS
          • oceanbase.CDB_OBJECTS
          • oceanbase.CDB_OB_BACKUP_DELETE_JOB_HISTORY
          • oceanbase.CDB_OB_IMPORT_TABLE_JOBS
          • oceanbase.CDB_OB_MAJOR_COMPACTION
          • oceanbase.DBA_OB_BACKUP_SET_FILES
          • oceanbase.DBA_IND_STATISTICS
          • oceanbase.DBA_OB_TABLE_OPT_STAT_GATHER_HISTORY
          • oceanbase.CDB_OB_LS_REPLICA_TASKS
          • oceanbase.DBA_OB_KV_TTL_TASKS
          • oceanbase.CDB_TAB_COL_STATISTICS
          • oceanbase.DBA_OB_BACKUP_STORAGE_INFO_HISTORY
          • oceanbase.CDB_WR_STATNAME
        • Performance views
          • GV$OB_COMPACTION_SUGGESTIONS
          • GV$OB_UNITS
          • GV$OB_COMPACTION_PROGRESS
          • GV$OB_PARAMETERS
          • V$OB_TENANT_MEMORY
          • GV$OB_MEMORY
          • V$OB_PLAN_CACHE_PLAN_STAT
          • V$OB_ENCRYPTED_TABLES
          • GV$OB_TRANSACTION_PARTICIPANTS
          • GV$OB_RPC_INCOMING
          • V$OB_TABLET_COMPACTION_HISTORY
          • GV$OB_SQL_AUDIT
          • V$OB_ARBITRATION_SERVICE_STATUS
          • V$SYSSTAT
          • V$OB_TENANT_RUNTIME_INFO
          • GV$OB_PLAN_CACHE_STAT
          • V$OB_PLAN_CACHE_PLAN_EXPLAIN
          • V$SESSION_WAIT_HISTORY
          • V$OB_TRANSACTION_PARTICIPANTS
          • V$OB_IO_BENCHMARK
          • GV$OB_PLAN_CACHE_PLAN_STAT
          • GV$LATCH
          • GV$ACTIVE_SESSION_HISTORY
          • V$OB_IO_CALIBRATION_STATUS
          • GV$OB_KVCACHE
          • GV$OB_PX_WORKER_STAT
          • V$OB_SERVERS
          • V$OB_LOCKS
          • V$OB_SQL_PLAN
          • V$OB_ARBITRATION_MEMBER_INFO
          • GV$OB_OPT_STAT_GATHER_MONITOR
          • GV$OB_MEMSTORE_INFO
          • GV$OB_ARBITRATION_MEMBER_INFO
          • GV$OB_PX_P2P_DATAHUB
          • GV$SQL_WORKAREA
          • V$STATNAME
          • GV$OB_IO_BENCHMARK
          • V$OB_PX_TARGET_MONITOR
          • GV$OB_TENANT_RUNTIME_INFO
          • V$OB_RPC_INCOMING
          • GV$OB_SQL_WORKAREA_MEMORY_INFO
          • GV$OB_IO_CALIBRATION_STATUS
          • GV$OB_LOCKS
          • GV$SESSION_EVENT
          • V$LATCH
          • V$OB_MERGE_INFO
          • V$OB_PS_STAT
          • GV$OB_PS_ITEM_INFO
          • V$OB_PX_P2P_DATAHUB
          • GV$OB_MEMSTORE
          • V$OB_RPC_OUTGOING
          • V$OB_SQL_WORKAREA_MEMORY_INFO
          • V$SQL_WORKAREA_HISTOGRAM
          • V$OB_SSTABLES
          • V$OB_COMPACTION_SUGGESTIONS
          • V$SESSTAT
          • GV$OB_PX_TARGET_MONITOR
          • V$OB_DTL_INTERM_RESULT_MONITOR
          • GV$SQL_WORKAREA_HISTOGRAM
          • GV$SQL_PLAN_MONITOR
          • GV$OB_COMPACTION_DIAGNOSE_INFO
          • GV$OB_DTL_INTERM_RESULT_MONITOR
          • GV$OB_FLT_TRACE_CONFIG
          • V$OB_PLAN_CACHE_STAT
          • V$OB_COMPACTION_PROGRESS
          • GV$OB_PLAN_CACHE_PLAN_EXPLAIN
          • V$OB_KVCACHE
          • V$SQL_WORKAREA_ACTIVE
          • GV$SESSION_WAIT
          • V$SESSION_WAIT
          • V$OB_MEMSTORE_INFO
          • GV$OB_LOG_STAT
          • V$OB_PS_ITEM_INFO
          • GV$SYSSTAT
          • V$OB_TABLET_COMPACTION_PROGRESS
          • V$OB_TIMESTAMP_SERVICE
          • V$OB_SERVER_SCHEMA_INFO
          • V$OB_THREAD
          • V$OB_OPT_STAT_GATHER_MONITOR
          • V$SESSION_LONGOPS
          • V$OB_PARAMETERS
          • GV$OB_SERVER_SCHEMA_INFO
          • V$OB_COMPACTION_DIAGNOSE_INFO
          • GV$SESSION_WAIT_HISTORY
          • GV$OB_SQL_PLAN
          • V$ACTIVE_SESSION_HISTORY
          • V$RSRC_PLAN
          • GV$OB_PS_STAT
          • V$OB_LOG_STAT
          • V$OB_UNITS
          • V$OB_ARCHIVE_DEST_STATUS
          • V$OB_MEMSTORE
          • GV$SESSTAT
          • GV$OB_TENANT_MEMORY
          • GV$OB_TABLET_COMPACTION_HISTORY
          • V$SQL_MONITOR_STATNAME
          • V$EVENT_NAME
          • GV$OB_ARBITRATION_SERVICE_STATUS
          • GV$OB_SSTABLES
          • V$OB_PROCESSLIST
          • GV$DML_STATS
          • V$ENCRYPTED_TABLESPACES
          • V$SESSION_EVENT
          • V$SYSTEM_EVENT
          • GV$OB_PROCESSLIST
          • GV$OB_MERGE_INFO
          • V$DML_STATS
          • GV$SYSTEM_EVENT
          • GV$OB_TABLET_COMPACTION_PROGRESS
          • V$OB_LS_REPLICA_TASK_PLAN
          • V$OB_LS_LOG_RESTORE_STATUS
          • V$OB_PX_WORKER_STAT
          • GV$OB_THREAD
          • V$SQL_JOIN_FILTER
          • GV$OB_RPC_OUTGOING
          • GV$OB_SERVERS
          • GV$SQL_WORKAREA_ACTIVE
          • V$OB_MEMORY
          • GV$SQL_JOIN_FILTER
          • GV$SESSION_LONGOPS
          • V$SQL_PLAN_MONITOR
          • V$OB_SQL_AUDIT
          • V$SQL_WORKAREA
      • MySQL tenant views
        • Performance views
          • GV$SYSTEM_EVENT
          • GV$ACTIVE_SESSION_HISTORY
          • V$OB_IO_CALIBRATION_STATUS
          • V$OB_MEMORY
          • V$SQL_JOIN_FILTER
          • GV$OB_PX_WORKER_STAT
          • V$SESSION_WAIT_HISTORY
          • V$RSRC_PLAN
          • V$OB_DTL_INTERM_RESULT_MONITOR
          • V$OB_LOCKS
          • V$OB_SQL_PLAN
          • V$OB_KVCACHE
          • GV$OB_RPC_OUTGOING
          • V$OB_TRANSACTION_PARTICIPANTS
          • GV$OB_PS_ITEM_INFO
          • V$OB_PROCESSLIST
          • V$OB_PX_P2P_DATAHUB
          • V$OB_SQL_WORKAREA_MEMORY_INFO
          • V$OB_MERGE_INFO
          • V$OB_PX_WORKER_STAT
          • V$OB_ENCRYPTED_TABLES
          • V$SESSION_LONGOPS
          • GV$OB_COMPACTION_SUGGESTIONS
          • GV$LATCH
          • GV$SESSION_WAIT_HISTORY
          • GV$OB_SQL_AUDIT
          • V$SQL_WORKAREA_HISTOGRAM
          • GV$OB_SERVER_SCHEMA_INFO
          • V$SQL_WORKAREA_ACTIVE
          • V$OB_COMPACTION_PROGRESS
          • V$SQL_MONITOR_STATNAME
          • GV$OB_SERVERS
          • GV$OB_PROCESSLIST
          • V$OB_THREAD
          • GV$OB_COMPACTION_PROGRESS
          • GV$OB_MEMSTORE
          • GV$SQL_JOIN_FILTER
          • GV$OB_PS_STAT
          • V$OB_SQL_AUDIT
          • V$SESSION_EVENT
          • GV$SESSION_EVENT
          • V$OB_ARCHIVE_DEST_STATUS
          • GV$OB_PARAMETERS
          • GV$SESSTAT
          • V$OB_LS_REPLICA_TASK_PLAN
          • GV$SYSSTAT
          • V$OB_PX_TARGET_MONITOR
          • V$OB_IO_BENCHMARK
          • GV$OB_PX_TARGET_MONITOR
          • V$OB_MEMSTORE
          • V$STATNAME
          • GV$SQL_WORKAREA_ACTIVE
          • GV$OB_PLAN_CACHE_PLAN_STAT
          • GV$OB_SQL_WORKAREA_MEMORY_INFO
          • GV$OB_PLAN_CACHE_PLAN_EXPLAIN
          • V$SQL_PLAN_MONITOR
          • GV$SESSION_WAIT
          • V$OB_UNITS
          • V$OB_PLAN_CACHE_PLAN_EXPLAIN
          • V$OB_MEMSTORE_INFO
          • V$OB_ARBITRATION_SERVICE_STATUS
          • V$OB_TABLET_COMPACTION_PROGRESS
          • V$ENCRYPTED_TABLESPACES
          • V$OB_LOG_STAT
          • V$LATCH
          • V$OB_RPC_INCOMING
          • GV$OB_SQL_PLAN
          • V$OB_PARAMETERS
          • V$OB_RPC_OUTGOING
          • V$EVENT_NAME
          • GV$OB_ARBITRATION_SERVICE_STATUS
          • V$OB_COMPACTION_DIAGNOSE_INFO
          • V$SESSTAT
          • V$SQL_WORKAREA
          • V$OB_OPT_STAT_GATHER_MONITOR
          • GV$SQL_WORKAREA
          • GV$OB_LOG_STAT
          • GV$SQL_PLAN_MONITOR
          • GV$SESSION_LONGOPS
          • V$OB_SERVERS
          • GV$OB_THREAD
          • GV$OB_COMPACTION_DIAGNOSE_INFO
          • GV$OB_MEMORY
          • V$OB_SERVER_SCHEMA_INFO
          • V$OB_TIMESTAMP_SERVICE
          • V$OB_TENANT_MEMORY
          • V$SESSION_WAIT
          • GV$OB_TABLET_COMPACTION_HISTORY
          • GV$SQL_WORKAREA_HISTOGRAM
          • V$DML_STATS
          • V$SYSTEM_EVENT
          • GV$OB_UNITS
          • GV$OB_SSTABLES
          • V$OB_PLAN_CACHE_PLAN_STAT
          • GV$OB_TENANT_MEMORY
          • GV$OB_TABLET_COMPACTION_PROGRESS
          • GV$OB_TRANSACTION_PARTICIPANTS
          • GV$OB_KVCACHE
          • V$SYSSTAT
          • V$OB_PLAN_CACHE_STAT
          • V$OB_TABLET_COMPACTION_HISTORY
          • V$OB_SSTABLES
          • V$OB_PS_STAT
          • GV$OB_ARBITRATION_MEMBER_INFO
          • GV$OB_PX_P2P_DATAHUB
          • GV$OB_PLAN_CACHE_STAT
          • GV$DML_STATS
          • GV$OB_MEMSTORE_INFO
          • GV$OB_OPT_STAT_GATHER_MONITOR
          • V$OB_ARBITRATION_MEMBER_INFO
          • V$OB_LS_LOG_RESTORE_STATUS
          • V$ACTIVE_SESSION_HISTORY
          • GV$OB_RPC_INCOMING
          • GV$OB_IO_CALIBRATION_STATUS
          • V$OB_PS_ITEM_INFO
          • GV$OB_LOCKS
          • GV$OB_MERGE_INFO
          • V$OB_COMPACTION_SUGGESTIONS
          • GV$OB_IO_BENCHMARK
          • GV$OB_DTL_INTERM_RESULT_MONITOR
        • Dictionary views
          • oceanbase.DBA_OB_BACKUP_JOB_HISTORY
          • information_schema.GLOBAL_STATUS
          • information_schema.PARTITIONS
          • oceanbase.DBA_OB_ZONE_MAJOR_COMPACTION
          • information_schema.ST_GEOMETRY_COLUMNS
          • oceanbase.DBA_IND_SUBPARTITIONS
          • oceanbase.DBA_OB_EXTERNAL_TABLE_FILES
          • oceanbase.DBA_OB_TABLEGROUP_SUBPARTITIONS
          • oceanbase.DBA_OB_BACKUP_JOBS
          • oceanbase.DBA_OB_BACKUP_DELETE_TASKS
          • mysql.proc
          • mysql.user
          • information_schema.COLUMN_PRIVILEGES
          • information_schema.CHARACTER_SETS
          • oceanbase.DBA_OB_TENANTS
          • mysql.time_zone
          • oceanbase.DBA_OB_LS_ARB_REPLICA_TASK_HISTORY
          • oceanbase.DBA_OB_OUTLINES
          • oceanbase.DBA_OB_LS
          • oceanbase.DBA_OB_RECOVER_TABLE_JOB_HISTORY
          • oceanbase.DBA_OB_TABLEGROUPS
          • oceanbase.DBA_OB_MAJOR_COMPACTION
          • mysql.db
          • oceanbase.DBA_OB_LS_HISTORY
          • oceanbase.DBA_OB_LOG_RESTORE_SOURCE
          • oceanbase.DBA_RSRC_CONSUMER_GROUPS
          • oceanbase.DBA_OB_BACKUP_SET_FILES
          • oceanbase.DBA_OB_ARCHIVELOG_SUMMARY
          • oceanbase.DBA_IND_PARTITIONS
          • oceanbase.DBA_WR_CONTROL
          • oceanbase.DBA_PART_HISTOGRAMS
          • oceanbase.DBA_OB_DATABASES
          • oceanbase.DBA_OB_BALANCE_TASK_HISTORY
          • oceanbase.DBA_TAB_STATS_HISTORY
          • information_schema.VIEW_TABLE_USAGE
          • oceanbase.DBA_OB_TRANSFER_TASKS
          • oceanbase.DBA_RSRC_PLAN_DIRECTIVES
          • oceanbase.DBA_OB_LS_LOG_ARCHIVE_PROGRESS
          • information_schema.PARAMETERS
          • oceanbase.DBA_TAB_PARTITIONS
          • oceanbase.DBA_DB_LINKS
          • mysql.time_zone_transition_type
          • mysql.time_zone_name
          • oceanbase.DBA_OB_BALANCE_JOB_HISTORY
          • oceanbase.DBA_OB_TASK_OPT_STAT_GATHER_HISTORY
          • information_schema.QUERY_RESPONSE_TIME
          • information_schema.VIEWS
          • oceanbase.DBA_OB_LS_REPLICA_TASKS
          • oceanbase.DBA_OB_FREEZE_INFO
          • oceanbase.DBA_OB_DEADLOCK_EVENT_HISTORY
          • oceanbase.DBA_SCHEDULER_JOBS
          • information_schema.COLLATION_CHARACTER_SET_APPLICABILITY
          • information_schema.PROCESSLIST
          • oceanbase.DBA_OB_RECOVER_TABLE_JOBS
          • oceanbase.DBA_OB_BACKUP_DELETE_TASK_HISTORY
          • oceanbase.DBA_PART_COL_STATISTICS
          • oceanbase.DBA_OB_IMPORT_TABLE_JOB_HISTORY
          • information_schema.ST_SPATIAL_REFERENCE_SYSTEMS
          • oceanbase.DBA_SUBPART_COL_STATISTICS
          • information_schema.STATISTICS
          • oceanbase.DBA_WR_SNAPSHOT
          • information_schema.ROUTINES
          • oceanbase.DBA_OB_AUTO_INCREMENT
          • oceanbase.DBA_OB_BACKUP_TASK_HISTORY
          • oceanbase.DBA_OB_USERS
          • oceanbase.DBA_OB_BALANCE_TASKS
          • oceanbase.DBA_TAB_MODIFICATIONS
          • oceanbase.DBA_OB_ARCHIVE_DEST
          • oceanbase.DBA_OB_BALANCE_JOBS
          • oceanbase.DBA_OBJECTS
          • oceanbase.DBA_SCHEDULER_WINDOWS
          • oceanbase.DBA_OB_KV_TTL_TASKS
          • information_schema.TABLE_CONSTRAINTS
          • oceanbase.DBA_OB_USER_DEFINED_RULES
          • oceanbase.DBA_SQL_MANAGEMENT_CONFIG
          • oceanbase.DBA_SQL_PLAN_BASELINES
          • oceanbase.DBA_OB_ARCHIVELOG_PIECE_FILES
          • oceanbase.DBA_WR_ACTIVE_SESSION_HISTORY
          • oceanbase.DBA_OB_RESTORE_PROGRESS
          • information_schema.TABLES
          • information_schema.ENGINES
          • information_schema.GLOBAL_VARIABLES
          • oceanbase.DBA_OB_CLUSTER_EVENT_HISTORY
          • oceanbase.DBA_IND_STATISTICS
          • information_schema.KEY_COLUMN_USAGE
          • oceanbase.DBA_TAB_SUBPARTITIONS
          • oceanbase.DBA_WR_SYSSTAT
          • oceanbase.DBA_OB_BACKUP_PARAMETER
          • oceanbase.DBA_OB_ARCHIVELOG
          • oceanbase.DBA_OB_BACKUP_DELETE_JOB_HISTORY
          • information_schema.USER_PRIVILEGES
          • oceanbase.DBA_SUBPART_HISTOGRAMS
          • oceanbase.DBA_OB_TABLE_STAT_STALE_INFO
          • information_schema.CHECK_CONSTRAINTS
          • oceanbase.DBA_OB_TABLET_REPLICAS
          • information_schema.REFERENTIAL_CONSTRAINTS
          • information_schema.CONNECTION_CONTROL_FAILED_LOGIN_ATTEMPTS
          • oceanbase.DBA_OB_TABLE_OPT_STAT_GATHER_HISTORY
          • mysql.help_category
          • oceanbase.DBA_WR_STATNAME
          • information_schema.SESSION_VARIABLES
          • information_schema.COLUMNS
          • information_schema.COLLATIONS
          • oceanbase.DBA_OB_DATA_DICTIONARY_IN_LOG
          • oceanbase.DBA_OB_IMPORT_TABLE_TASK_HISTORY
          • oceanbase.DBA_OB_TENANT_EVENT_HISTORY
          • oceanbase.DBA_OB_DATABASE_PRIVILEGE
          • mysql.help_keyword
          • oceanbase.DBA_OB_CONCURRENT_LIMIT_SQL
          • mysql.time_zone_transition
          • mysql.help_relation
          • oceanbase.DBA_OB_LS_ARB_REPLICA_TASKS
          • oceanbase.DBA_OB_SEQUENCE_OBJECTS
          • oceanbase.DBA_PART_INDEXES
          • oceanbase.DBA_OB_BACKUP_STORAGE_INFO
          • oceanbase.DBA_OB_LS_LOCATIONS
          • oceanbase.DBA_RSRC_PLANS
          • oceanbase.DBA_OB_TABLET_TO_LS
          • oceanbase.DBA_OB_KV_TTL_TASK_HISTORY
          • oceanbase.DBA_TAB_COL_STATISTICS
          • oceanbase.DBA_OB_OUTLINE_CONCURRENT_HISTORY
          • oceanbase.DBA_OB_BACKUP_DELETE_POLICY
          • oceanbase.DBA_OB_RSRC_IO_DIRECTIVES
          • oceanbase.DBA_OB_ACCESS_POINT
          • oceanbase.DBA_TAB_HISTOGRAMS
          • oceanbase.DBA_OB_TABLE_LOCATIONS
          • information_schema.SCHEMATA
          • oceanbase.DBA_PART_KEY_COLUMNS
          • oceanbase.DBA_SUBPARTITION_TEMPLATES
          • oceanbase.DBA_OB_RESTORE_HISTORY
          • information_schema.TABLE_PRIVILEGES
          • information_schema.SCHEMA_PRIVILEGES
          • oceanbase.DBA_OB_TABLEGROUP_TABLES
          • oceanbase.DBA_SEQUENCES
          • oceanbase.DBA_RSRC_GROUP_MAPPINGS
          • oceanbase.DBA_PART_TABLES
          • oceanbase.DBA_OB_BACKUP_DELETE_JOBS
          • oceanbase.DBA_OB_BACKUP_TASKS
          • oceanbase.DBA_OB_IMPORT_TABLE_TASKS
          • information_schema.SESSION_STATUS
          • oceanbase.DBA_SUBPART_KEY_COLUMNS
          • oceanbase.DBA_TAB_STATISTICS
          • oceanbase.DBA_OB_BACKUP_STORAGE_INFO_HISTORY
          • oceanbase.ALL_OB_EXTERNAL_TABLE_FILES
          • oceanbase.DBA_OB_TABLEGROUP_PARTITIONS
          • oceanbase.DBA_OB_TRANSFER_TASK_HISTORY
          • mysql.help_topic
          • oceanbase.DBA_OB_IMPORT_TABLE_JOBS
      • Oracle tenant views
        • Dictionary views
          • DBA_PART_TABLES
          • DBA_INDEXES
          • DBA_OB_DATA_DICTIONARY_IN_LOG
          • USER_IND_PARTITIONS
          • USER_TRIGGERS
          • USER_DB_LINKS
          • DBA_OB_TRANSFER_TASK_HISTORY
          • DBA_SCHEDULER_PROGRAM
          • DBA_OB_FREEZE_INFO
          • DBA_SYS_PRIVS
          • ALL_SCHEDULER_JOB_ARGS
          • DBA_RSRC_CONSUMER_GROUPS
          • DBA_OB_TENANT_EVENT_HISTORY
          • ALL_PART_INDEXES
          • DBA_RSRC_PLANS
          • DBA_OB_IMPORT_TABLE_TASKS
          • DBA_SCHEDULER_WINDOWS
          • USER_POLICY_CONTEXTS
          • ALL_POLICY_CONTEXTS
          • DBA_METHOD_PARAMS
          • DBA_OB_RECOVER_TABLE_JOBS
          • DBA_OBJ_AUDIT_OPTS
          • USER_OBJECTS
          • NLS_SESSION_PARAMETERS
          • DBA_OB_TABLET_REPLICAS
          • ALL_TYPE_METHODS
          • ALL_PART_TABLES
          • ALL_METHOD_PARAMS
          • USER_PROCEDURES
          • DBA_CONTEXT
          • ALL_CONS_COLUMNS
          • DBA_IND_STATISTICS
          • ALL_SUBPART_COL_STATISTICS
          • ALL_TRIGGER_ORDERING
          • DBA_TABLESPACES
          • DBA_OB_CONCURRENT_LIMIT_SQL
          • USER_SEC_RELEVANT_COLS
          • DBA_RSRC_PLAN_DIRECTIVES
          • ROLE_SYS_PRIVS
          • USER_COL_PRIVS
          • USER_RECYCLEBIN
          • DBA_OB_EXTERNAL_TABLE_FILES
          • ALL_SUBPART_HISTOGRAMS
          • ALL_CONSTRAINTS
          • USER_ERRORS
          • DBA_OB_TABLE_LOCATIONS
          • DBA_TYPE_METHODS
          • USER_AUDIT_TRAIL
          • USER_TAB_MODIFICATIONS
          • DBA_PART_INDEXES
          • DBA_USERS
          • DBA_SQL_MANAGEMENT_CONFIG
          • USER_POLICY_GROUPS
          • USER_TAB_COMMENTS
          • DBA_OB_BACKUP_DELETE_TASKS
          • DBA_OB_LOG_RESTORE_SOURCE
          • ALL_DB_LINKS
          • DBA_TYPES
          • USER_TABLES
          • DICT
          • DBA_OB_ARCHIVE_DEST
          • DBA_DB_LINKS
          • DBA_OB_BACKUP_DELETE_TASK_HISTORY
          • DBA_IND_PARTITIONS
          • DBA_SUBPARTITION_TEMPLATES
          • DBA_OB_ACCESS_POINT
          • DBA_TYPE_ATTRS
          • USER_SYNONYMS
          • USER_TAB_STATS_HISTORY
          • DBA_IND_EXPRESSIONS
          • USER_COL_COMMENTS
          • ALL_TAB_HISTOGRAMS
          • USER_TAB_PARTITIONS
          • DBA_OB_LS_REPLICA_TASKS
          • DBA_POLICIES
          • DBA_OB_TABLE_OPT_STAT_GATHER_HISTORY
          • DBA_OB_ARCHIVELOG_PIECE_FILES
          • USER_TYPE_METHODS
          • DBA_WR_SYSSTAT
          • USER_DEPENDENCIES
          • USER_ROLE_PRIVS
          • ALL_TAB_COLS
          • ALL_TRIGGERS
          • ALL_POLICIES
          • DBA_IND_SUBPARTITIONS
          • DBA_SUBPART_COL_STATISTICS
          • USER_SCHEDULER_JOB_ARGS
          • ALL_PROCEDURES
          • DBA_AUDIT_STATEMENT
          • DBA_OB_IMPORT_TABLE_TASK_HISTORY
          • DBA_AUDIT_SESSION
          • DBA_TRIGGERS
          • DBA_OB_BACKUP_DELETE_JOBS
          • USER_SYS_PRIVS
          • DBA_PART_KEY_COLUMNS
          • STMT_AUDIT_OPTION_MAP
          • USER_AUDIT_OBJECT
          • DBA_AUDIT_EXISTS
          • ALL_POLICY_GROUPS
          • DBA_OB_OUTLINE_CONCURRENT_HISTORY
          • ALL_OB_EXTERNAL_TABLE_FILES
          • DBA_OB_LS_LOG_ARCHIVE_PROGRESS
          • DBA_AUDIT_TRAIL
          • ALL_ALL_TABLES
          • ALL_TYPES
          • DBA_OB_BACKUP_DELETE_JOB_HISTORY
          • ALL_PART_COL_STATISTICS
          • DBA_SUBPART_KEY_COLUMNS
          • ALL_IND_COLUMNS
          • DBA_OB_OUTLINES
          • DBA_OB_MAJOR_COMPACTION
          • DBA_SQL_PLAN_BASELINES
          • DBA_OB_BALANCE_TASKS
          • DBA_SCHEDULER_PROGRAM_ARGS
          • DBA_OB_TASK_OPT_STAT_GATHER_HISTORY
          • USER_SEQUENCES
          • USER_PART_HISTOGRAMS
          • USER_INDEXES
          • DBA_TAB_COLUMNS
          • DBA_ROLES
          • DBA_POLICY_CONTEXTS
          • USER_JOBS
          • TENANT_VIRTUAL_SESSION_VARIABLE
          • USER_AUDIT_STATEMENT
          • DBA_OB_LS_ARB_REPLICA_TASK_HISTORY
          • USER_TRIGGER_ORDERING
          • USER_PART_COL_STATISTICS
          • ALL_SOURCE
          • DBA_STMT_AUDIT_OPTS
          • ALL_TAB_SUBPARTITIONS
          • ALL_TYPE_ATTRS
          • DBA_OB_BACKUP_STORAGE_INFO_HISTORY
          • DBA_OB_DEADLOCK_EVENT_HISTORY
          • DBA_RSRC_GROUP_MAPPINGS
          • DBA_OB_RSRC_IO_DIRECTIVES
          • USER_TAB_COL_STATISTICS
          • DBA_DEPENDENCIES
          • DBA_TAB_PRIVS
          • DBA_CONS_COLUMNS
          • DBA_TAB_COL_STATISTICS
          • USER_SUBPART_KEY_COLUMNS
          • DBA_WR_ACTIVE_SESSION_HISTORY
          • DBA_TAB_MODIFICATIONS
          • DBA_CONSTRAINTS
          • DBA_OB_TABLEGROUP_TABLES
          • DBA_COLL_TYPES
          • DBA_OB_BACKUP_TASK_HISTORY
          • DBA_OB_ARCHIVELOG_SUMMARY
          • USER_SUBPART_COL_STATISTICS
          • DBA_TAB_COMMENTS
          • DBA_VIEWS
          • USER_TAB_SUBPARTITIONS
          • ALL_PART_HISTOGRAMS
          • DBA_JOBS_RUNNING
          • DBA_SEQUENCES
          • DBA_TAB_SUBPARTITIONS
          • USER_SOURCE
          • ALL_SCHEDULER_PROGRAM_ARGS
          • DBA_OB_BACKUP_TASKS
          • ALL_PART_KEY_COLUMNS
          • ALL_IND_SUBPARTITIONS
          • ROLE_TAB_PRIVS
          • DBA_SUBPART_HISTOGRAMS
          • DBA_OB_TABLEGROUP_SUBPARTITIONS
          • DBA_OB_USER_DEFINED_RULES
          • USER_TAB_COLUMNS
          • USER_TYPES
          • USER_IND_COLUMNS
          • ALL_TAB_PRIVS
          • ALL_IND_PARTITIONS
          • DBA_TAB_STATS_HISTORY
          • DBA_TAB_STATISTICS
          • USER_TYPE_ATTRS
          • ALL_TAB_COL_STATISTICS
          • USER_SUBPART_HISTOGRAMS
          • USER_TAB_STATISTICS
          • ALL_OBJECTS
          • DBA_OBJECTS
          • ALL_TAB_STATS_HISTORY
          • DBA_TAB_HISTOGRAMS
          • DBA_RECYCLEBIN
          • USER_TAB_COLS
          • DBA_PROCEDURES
          • DBA_OB_BACKUP_STORAGE_INFO
          • DBA_OB_BALANCE_TASK_HISTORY
          • ALL_DIRECTORIES
          • DBA_ARGUMENTS
          • DICTIONARY
          • DBA_OB_LS_HISTORY
          • ALL_COL_PRIVS
          • USER_SEGMENTS
          • USER_CONSTRAINTS
          • DBA_OB_BACKUP_DELETE_POLICY
          • USER_PROFILES
          • DBA_SEC_RELEVANT_COLS
          • ALL_TAB_COMMENTS
          • DBA_OB_BALANCE_JOBS
          • DBA_OB_TABLEGROUPS
          • DBA_WR_STATNAME
          • DBA_PROFILES
          • DBA_OB_BALANCE_JOB_HISTORY
          • DBA_SYNONYMS
          • ALL_TAB_MODIFICATIONS
          • ROLE_ROLE_PRIVS
          • DBA_WR_SNAPSHOT
          • DBA_OB_DATABASES
          • DBA_OB_TABLET_TO_LS
          • ALL_INDEXES
          • USER_TAB_HISTOGRAMS
          • DBA_ALL_TABLES
          • DBA_IND_COLUMNS
          • DBA_PART_COL_STATISTICS
          • DBA_ROLE_PRIVS
          • DBA_OB_ZONE_MAJOR_COMPACTION
          • USER_POLICIES
          • ALL_DEPENDENCIES
          • DBA_OB_IMPORT_TABLE_JOBS
          • DBA_OB_IMPORT_TABLE_JOB_HISTORY
          • USER_PART_KEY_COLUMNS
          • USER_IND_EXPRESSIONS
          • DBA_OB_RESTORE_HISTORY
          • DBA_OB_TABLE_STAT_STALE_INFO
          • ALL_SUBPARTITION_TEMPLATES
          • DBA_OB_LS_LOCATIONS
          • ALL_TAB_COLUMNS
          • ALL_SEC_RELEVANT_COLS
          • DBA_OB_RECOVER_TABLE_JOB_HISTORY
          • DBA_ERRORS
          • DBMS_LOCK_ALLOCATED
          • USER_PART_TABLES
          • DBA_TAB_COLS
          • DBA_OB_LS
          • ALL_COLL_TYPES
          • USER_IND_SUBPARTITIONS
          • DBA_AUDIT_OBJECT
          • DBA_OB_TRANSFER_TASKS
          • ALL_USERS
          • DBA_TAB_PARTITIONS
          • USER_AUDIT_SESSION
          • USER_TABLESPACES
          • ALL_PROFILES
          • DBA_WR_CONTROL
          • ALL_TAB_PARTITIONS
          • USER_ALL_TABLES
          • AUDIT_ACTIONS
          • DBA_SEGMENTS
          • USER_TAB_PRIVS
          • ALL_SCHEDULER_WINDOWS
          • ALL_IND_EXPRESSIONS
          • DBA_OB_TABLEGROUP_PARTITIONS
          • ALL_SEQUENCES
          • DBA_PART_HISTOGRAMS
          • NLS_DATABASE_PARAMETERS
          • DBA_OB_ARCHIVELOG
          • USER_VIEWS
          • USER_IND_STATISTICS
          • ALL_TAB_STATISTICS
          • USER_ARGUMENTS
          • DBA_COL_COMMENTS
          • ALL_SYNONYMS
          • DBA_SOURCE
          • DBA_OB_BACKUP_JOBS
          • USER_SUBPARTITION_TEMPLATES
          • USER_CONS_COLUMNS
          • DBA_COL_PRIVS
          • DBA_OB_LS_ARB_REPLICA_TASKS
          • ALL_ARGUMENTS
          • DBA_OB_BACKUP_PARAMETER
          • DBA_TABLES
          • ALL_DEF_AUDIT_OPTS
          • DBA_SCHEDULER_JOB_RUN_DETAILS
          • DBA_JOBS
          • TENANT_VIRTUAL_GLOBAL_VARIABLE
          • ALL_ERRORS
          • DBA_OB_TENANTS
          • DBA_OB_RESTORE_PROGRESS
          • DBA_OB_DATABASE_PRIVILEGE
          • ALL_COL_COMMENTS
          • DBA_SCHEDULER_JOB_ARGS
          • ALL_VIEWS
          • DBA_TRIGGER_ORDERING
          • USER_COLL_TYPES
          • USER_PART_INDEXES
          • ALL_SUBPART_KEY_COLUMNS
          • DBA_DIRECTORIES
          • NLS_INSTANCE_PARAMETERS
          • ALL_IND_STATISTICS
          • ALL_TABLES
          • DBA_OB_BACKUP_SET_FILES
          • DBA_OB_BACKUP_JOB_HISTORY
          • DBA_SCHEDULER_JOBS
          • DBA_POLICY_GROUPS
          • USER_SCHEDULER_PROGRAM_ARGS
        • Performance views
          • GV$SYSSTAT
          • V$DBLINK
          • V$SYSTEM_EVENT
          • GV$OB_PX_P2P_DATAHUB
          • GV$ACTIVE_SESSION_HISTORY
          • GV$OB_UNITS
          • V$SYSSTAT
          • V$ENCRYPTED_TABLESPACES
          • GV$OB_FLT_TRACE_CONFIG
          • GV$OB_THREAD
          • GV$OB_PARAMETERS
          • GV$OB_SSTABLES
          • V$OB_MEMSTORE_INFO
          • V$OB_PARAMETERS
          • V$OB_PLAN_CACHE_PLAN_STAT
          • V$OB_TENANT_MEMORY
          • V$OB_SSTABLES
          • V$OB_UNITS
          • V$OB_TABLET_COMPACTION_PROGRESS
          • GV$OB_MEMSTORE_INFO
          • GV$OB_TABLET_COMPACTION_PROGRESS
          • GV$SQL_PLAN_MONITOR
          • GV$OPEN_CURSOR
          • GV$OB_GLOBAL_TRANSACTION
          • GV$OB_COMPACTION_PROGRESS
          • GV$SESSION_WAIT_HISTORY
          • V$OB_PX_WORKER_STAT
          • GV$OB_LOCKS
          • GV$DBLINK
          • V$SQL_PLAN_MONITOR
          • V$OB_COMPACTION_DIAGNOSE_INFO
          • V$SQL_WORKAREA_HISTOGRAM
          • GV$OB_KVCACHE
          • GV$OB_SERVER_SCHEMA_INFO
          • V$OB_TRANSACTION_PARTICIPANTS
          • GV$GLOBAL_TRANSACTION
          • GV$SESSTAT
          • GV$DML_STATS
          • V$OB_PX_TARGET_MONITOR
          • V$OPEN_CURSOR
          • GV$SQL_WORKAREA_HISTOGRAM
          • V$OB_PROCESSLIST
          • V$OB_COMPACTION_PROGRESS
          • GV$SQL_JOIN_FILTER
          • GV$SESSION_WAIT
          • GV$SQL_WORKAREA
          • V$OB_SQL_AUDIT
          • V$OB_LS_REPLICA_TASK_PLAN
          • V$SESSION_WAIT_HISTORY
          • V$VERSION
          • GV$OB_MEMORY
          • GV$OB_COMPACTION_DIAGNOSE_INFO
          • GV$OB_TENANT_MEMORY
          • V$OB_LOCKS
          • V$OB_LOG_STAT
          • V$OB_MEMORY
          • GV$OB_SQL_PLAN
          • V$OB_SERVER_SCHEMA_INFO
          • GV$OB_PROCESSLIST
          • V$OB_PS_STAT
          • GV$OB_PX_WORKER_STAT
          • V$INSTANCE
          • GV$OB_SQL_AUDIT
          • GV$OB_TABLET_COMPACTION_HISTORY
          • V$EVENT_NAME
          • V$OB_PS_ITEM_INFO
          • GV$OB_OPT_STAT_GATHER_MONITOR
          • V$OB_TABLET_COMPACTION_HISTORY
          • V$OB_PX_P2P_DATAHUB
          • GV$OB_PLAN_CACHE_PLAN_STAT
          • V$OB_THREAD
          • V$TIMEZONE_NAMES
          • V$OB_ENCRYPTED_TABLES
          • V$OB_PLAN_CACHE_PLAN_EXPLAIN
          • V$OB_DTL_INTERM_RESULT_MONITOR
          • V$OB_OPT_STAT_GATHER_MONITOR
          • V$DML_STATS
          • GV$OB_LOG_STAT
          • V$SQL_WORKAREA_ACTIVE
          • GV$OB_SQL_WORKAREA_MEMORY_INFO
          • V$RSRC_PLAN
          • GV$SQL_WORKAREA_ACTIVE
          • V$SQL_JOIN_FILTER
          • GV$OB_PS_STAT
          • V$ACTIVE_SESSION_HISTORY
          • GV$INSTANCE
          • GV$OB_PX_TARGET_MONITOR
          • GV$OB_PS_ITEM_INFO
          • GV$OB_ARBITRATION_MEMBER_INFO
          • V$OB_COMPACTION_SUGGESTIONS
          • GV$OB_ARBITRATION_SERVICE_STATUS
          • GV$OB_PLAN_CACHE_PLAN_EXPLAIN
          • V$GLOBALCONTEXT
          • GV$SYSTEM_EVENT
          • V$OB_ARBITRATION_SERVICE_STATUS
          • V$SESSTAT
          • GV$OB_MEMSTORE
          • V$SQL_MONITOR_STATNAME
          • GV$OB_DTL_INTERM_RESULT_MONITOR
          • V$NLS_PARAMETERS
          • GV$OB_PLAN_CACHE_STAT
          • V$OB_LS_LOG_RESTORE_STATUS
          • GV$OB_COMPACTION_SUGGESTIONS
          • V$OB_TIMESTAMP_SERVICE
          • V$OB_SQL_PLAN
          • V$OB_SQL_WORKAREA_MEMORY_INFO
          • V$SESSION_WAIT
          • GV$OB_TRANSACTION_PARTICIPANTS
          • V$OB_PLAN_CACHE_STAT
          • V$GLOBAL_TRANSACTION
          • V$OB_KVCACHE
          • V$OB_ARCHIVE_DEST_STATUS
          • V$SQL_WORKAREA
          • V$OB_MEMSTORE
          • V$OB_ARBITRATION_MEMBER_INFO
          • V$OB_GLOBAL_TRANSACTION
    • Platforms
      • OMA
      • OMS
      • OCP
      • ODC
      • OCP Express
        • OCP Express
        • View cluster overview information
        • Tenant management
        • Monitor a cluster
        • Diagnostic analysis
        • Log service
      • OAT
    • Parameters and system variables
      • Overview
      • System variables
        • Overview
        • Global variables
          • explicit_defaults_for_timestamp
          • block_encryption_mode
          • optimizer_capture_sql_plan_baselines
          • error_on_overlap_time
          • init_connect
          • nls_comp
          • parallel_degree_limit
          • sql_auto_is_null
          • div_precision_increment
          • runtime_filter_wait_time_ms
          • nls_calendar
          • default_password_lifetime
          • validate_password_number_count
          • character_set_connection
          • nls_length_semantics
          • ob_enable_blk_nestedloop_join
          • version
          • performance_schema
          • optimizer_dynamic_sampling
          • character_set_database
          • collation_database
          • ob_read_consistency
          • ob_early_lock_release
          • ob_enable_transmission_checksum
          • ob_tcp_invited_nodes
          • max_user_connections
          • ob_global_debug_sync
          • query_cache_size
          • ob_enable_jit
          • sql_throttle_current_priority
          • ob_plan_cache_evict_low_percentage
          • ob_reserved_meta_memory_percentage
          • nls_currency
          • net_read_timeout
          • sql_safe_updates
          • secure_file_priv
          • sql_quote_show_create
          • group_concat_max_len
          • ob_default_replica_num
          • ob_enable_truncate_flashback
          • nls_characterset
          • lower_case_table_names
          • sql_throttle_rt
          • ob_trx_timeout
          • log_row_value_options
          • transaction_read_only
          • datadir
          • net_buffer_length
          • sql_throttle_priority
          • validate_password_mixed_case_count
          • ob_enable_rich_error_msg
          • sql_select_limit
          • debug_sync
          • collation_server
          • nls_territory
          • event_scheduler
          • ob_create_table_strict_mode
          • character_set_results
          • sql_warnings
          • identity
          • regexp_time_limit
          • character_set_filesystem
          • sql_throttle_network
          • parallel_servers_target
          • nls_date_format
          • parallel_max_servers
          • ob_query_timeout
          • character_set_system
          • character_set_server
          • cursor_sharing
          • max_sp_recursion_depth
          • validate_password_special_char_count
          • nls_iso_currency
          • ob_compatibility_mode
          • ob_pl_block_timeout
          • nls_timestamp_format
          • query_cache_type
          • innodb_strict_mode
          • ob_sql_work_area_percentage
          • auto_increment_cache_size
          • max_connections
          • nls_date_language
          • validate_password_policy
          • nls_numeric_characters
          • ob_enable_sql_audit
          • validate_password_length
          • ob_proxy_global_variables_version
          • ob_timestamp_service
          • tx_isolation
          • binlog_row_image
          • nls_timestamp_tz_format
          • ob_bnl_join_cache_size
          • autocommit
          • ob_enable_plan_cache
          • auto_increment_increment
          • runtime_filter_max_in_num
          • license
          • nls_nchar_conv_excp
          • max_allowed_packet
          • ob_enable_hash_group_by
          • ob_trx_idle_timeout
          • nls_dual_currency
          • ob_log_level
          • character_set_client
          • transaction_isolation
          • ob_plan_cache_percentage
          • ob_max_read_stale_time
          • parallel_min_scan_time_threshold
          • auto_increment_offset
          • collation_connection
          • sql_mode
          • interactive_timeout
          • resource_manager_plan
          • optimizer_features_enable
          • optimizer_use_sql_plan_baselines
          • ob_plan_cache_evict_high_percentage
          • ob_enable_transformation
          • tx_read_only
          • recyclebin
          • ob_route_policy
          • runtime_filter_type
          • nls_sort
          • runtime_bloom_filter_max_size
          • ob_sql_audit_percentage
          • parallel_degree_policy
          • ob_enable_aggregation_pushdown
          • server_uuid
          • ob_enable_index_direct_select
          • version_comment
          • read_only
          • ob_trx_lock_timeout
          • foreign_key_checks
          • system_time_zone
          • validate_password_check_user_name
          • wait_timeout
          • nls_nchar_characterset
          • regexp_stack_limit
          • ob_temp_tablespace_size_percentage
          • cte_max_recursion_depth
          • net_write_timeout
          • time_zone
          • connect_timeout
          • plugin_dir
          • default_storage_engine
        • Session-level variables
          • runtime_bloom_filter_max_size
          • nls_language
          • last_insert_id
          • ob_org_cluster_id
          • ob_trace_info
          • is_result_accurate
          • runtime_filter_max_in_num
          • ob_max_read_stale_time
          • timestamp
          • parallel_min_scan_time_threshold
          • optimizer_dynamic_sampling
          • runtime_filter_type
          • ob_enable_show_trace
          • runtime_filter_wait_time_ms
          • ob_proxy_partition_hit
          • parallel_degree_policy
          • tracefile_identifier
          • ob_capability_flag
          • ob_proxy_set_trx_executed
          • parallel_degree_limit
          • ob_last_schema_version
      • Parameters
        • Overview
        • Cluster-level parameters
          • location_cache_priority
          • stack_size
          • tableapi_transport_compress_func
          • devname
          • cluster_id
          • disk_io_thread_count
          • enable_pg
          • minor_merge_concurrency
          • tablet_size
          • default_transport_compress_func
          • backup_dest_option
          • ofs_list
          • clog_transport_compress_func
          • row_purge_thread_count
          • rpc_timeout
          • high_priority_net_thread_count
          • location_fetch_concurrency
          • lease_time
          • get_leader_candidate_rpc_timeout
          • ob_esi_memory_limit
          • enable_manual_merge
          • global_index_build_single_replica_timeout
          • datafile_size
          • datafile_maxsize
          • schema_history_recycle_interval
          • schema_history_expire_time
          • cluster
          • location_cache_refresh_sql_timeout
          • weak_read_version_refresh_interval
          • opt_tab_stat_cache_priority
          • enable_auto_leader_switch
          • data_dir
          • storage_meta_cache_priority
          • balancer_timeout_check_interval
          • minor_deferred_gc_time
          • merger_completion_percentage
          • enable_upgrade_mode
          • backup_recovery_window
          • index_block_cache_priority
          • log_archive_checkpoint_interval
          • sql_login_thread_count
          • ob_esi_io_concurrency
          • clog_expire_days
          • user_block_cache_priority
          • trx_2pc_retry_interval
          • memory_chunk_cache_size
          • tcp_keepintvl
          • log_storage_warning_tolerance_time
          • backup_dest
          • server_balance_disk_tolerance_percent
          • backup_backup_dest
          • cpu_count
          • token_reserved_percentage
          • server_data_copy_out_concurrency
          • cpu_reserved
          • switchover_process_thread_count
          • trx_try_wait_lock_timeout
          • ob_ratelimit_stat_period
          • dtl_buffer_size
          • enable_sys_table_ddl
          • rootservice_list
          • dead_socket_detection_timeout
          • local_ip
          • tenant_groups
          • server_permanent_offline_time
          • memstore_limit_percentage
          • backup_zone
          • tablet_meta_table_check_interval
          • location_cache_refresh_min_interval
          • server_data_copy_in_concurrency
          • standby_fetch_log_bandwidth_limit
          • minor_warm_up_duration_time
          • election_blacklist_interval
          • net_thread_count
          • virtual_table_location_cache_expire_time
          • multiblock_read_gap_size
          • rpc_port
          • autoinc_cache_refresh_interval
          • replica_safe_remove_time
          • leak_mod_to_check
          • observer_id
          • ob_esi_session_timeout
          • enable_record_trace_id
          • enable_global_freeze_trigger
          • enable_ddl
          • log_archive_batch_buffer_limit
          • sql_protocol_min_tls_version
          • enable_rootservice_standalone
          • plan_cache_evict_interval
          • datafile_next
          • restore_concurrency
          • memory_limit
          • enable_rich_error_msg
          • system_cpu_quota
          • syslog_io_bandwidth_limit
          • enable_ob_ratelimit
          • wait_leader_batch_count
          • sys_bkgd_io_low_percentage
          • diag_syslog_per_error_limit
          • zone_merge_concurrency
          • sys_bkgd_migration_change_member_list_timeout
          • auto_broadcast_location_cache_rate_limit
          • log_disk_percentage
          • mysql_port
          • enable_one_phase_commit
          • log_disk_size
          • tcp_keepcnt
          • ilog_index_expire_time
          • obconfig_url
          • enable_ob_esi_process
          • ignore_replay_checksum_error
          • enable_record_trace_log
          • min_observer_version
          • migrate_concurrency
          • large_query_threshold
          • data_storage_warning_tolerance_time
          • merge_thread_count
          • zone_merge_order
          • global_major_freeze_residual_memory
          • balancer_log_interval
          • memory_reserved
          • workers_per_cpu_quota
          • px_task_size
          • rootservice_ready_check_interval
          • enable_cgroup
          • partition_table_check_interval
          • enable_sys_unit_standalone
          • clog_cache_priority
          • resource_soft_limit
          • syslog_level
          • debug_sync_timeout
          • enable_async_syslog
          • plan_cache_high_watermark
          • tenant_task_queue_size
          • global_write_halt_residual_memory
          • index_clog_cache_priority
          • clog_sync_time_warn_threshold
          • enable_rereplication
          • system_memory
          • enable_syslog_wf
          • enable_log_archive
          • clog_disk_usage_limit_percentage
          • index_info_block_cache_priority
          • ob_startup_mode
          • ob_event_history_recycle_interval
          • migration_disable_time
          • tenant_cpu_variation_per_server
          • config_additional_dir
          • recyclebin_object_expire_time
          • memory_limit_percentage
          • enable_syslog_recycle
          • unit_balance_resource_weight
          • rpc_client_authentication_method
          • max_px_worker_count
          • use_large_pages
          • tablet_meta_table_scan_batch_count
          • server_balance_critical_disk_waterlevel
          • sys_bkgd_net_percentage
          • data_storage_error_tolerance_time
          • enable_sql_operator_dump
          • max_string_print_length
          • user_row_cache_priority
          • enable_major_freeze
          • bf_cache_priority
          • auto_refresh_location_cache_rate_limit
          • server_check_interval
          • ls_meta_table_check_interval
          • balancer_emergency_percentage
          • datafile_disk_percentage
          • enable_tcp_keepalive
          • system_trace_level
          • internal_sql_execute_timeout
          • location_cache_expire_time
          • auto_leader_switch_interval
          • cache_wash_threshold
          • backup_concurrency
          • ignore_replica_checksum_error
          • zone_merge_timeout
          • data_copy_concurrency
          • max_syslog_file_count
          • ssl_external_kms_info
          • default_compress
          • balance_blacklist_retry_interval
          • micro_block_merge_verify_level
          • enable_merge_by_turn
          • tcp_keepidle
          • merger_switch_leader_duration_time
          • sys_bkgd_migration_retry_num
          • ssl_client_authentication
          • enable_perf_event
          • ob_esi_rpc_port
          • flush_log_at_trx_commit
          • merger_warm_up_duration_time
          • large_query_worker_percentage
          • builtin_db_data_verify_cycle
          • ob_esi_syslog_level
          • rootservice_memory_limit
          • default_compress_func
          • balance_blacklist_failure_threshold
          • location_refresh_thread_count
          • rpc_server_authentication_method
          • location_cache_cpu_quota
          • server_balance_cpu_mem_tolerance_percent
          • px_workers_per_cpu_quota
          • merge_stat_sampling_ratio
          • enable_auto_refresh_location_cache
          • election_cpu_quota
          • index_cache_priority
          • plan_cache_low_watermark
          • minor_freeze_times
          • location_cache_refresh_rpc_timeout
          • all_cluster_list
          • sql_audit_memory_limit
          • multiblock_read_size
          • clog_disk_utilization_threshold
          • zone
          • resource_hard_limit
          • backup_net_limit
          • bf_cache_miss_count_threshold
          • enable_sql_audit
          • all_server_list
          • rootservice_async_task_thread_count
          • data_disk_usage_limit_percentage
          • backup_log_archive_option
          • user_iort_up_percentage
          • enable_election_group
          • sys_bkgd_io_high_percentage
          • rdma_io_thread_count
          • backup_backup_dest_option
          • user_tab_col_stat_cache_priority
          • ob_esi_max_syslog_file_count
          • server_cpu_quota_min
          • trx_force_kill_threshold
          • fuse_row_cache_priority
          • max_kept_major_version_number
          • trace_log_slow_query_watermark
          • enable_separate_sys_clog
          • sys_cpu_limit_trigger
          • enable_smooth_leader_switch
          • balancer_tolerance_percentage
          • balancer_task_timeout
          • row_compaction_update_limit
          • rootservice_async_task_queue_size
          • enable_asan_for_memory_context
          • fast_recovery_concurrency
          • backup_region
          • sql_net_thread_count
          • gc_wait_archive
          • rebuild_replica_data_lag_threshold
          • server_cpu_quota_max
          • trace_log_sampling_interval
          • tablet_ls_cache_priority
          • default_row_format
        • Tenant-level parameters
          • audit_sys_operations
          • audit_trail
          • clog_max_unconfirmed_log_count
          • clog_persistence_compress_func
          • connection_control_failed_connections_threshold
          • connection_control_min_connection_delay
          • connection_control_max_connection_delay
          • enable_clog_persistence_compress
          • enable_early_lock_release
          • enable_monotonic_weak_read
          • external_kms_info
          • enable_sql_extension
          • default_progressive_merge_num
          • io_category_config
          • log_disk_utilization_limit_threshold
          • log_disk_utilization_threshold
          • major_compact_trigger
          • compaction_low_thread_score
          • max_stale_time_for_weak_consistency
          • compaction_high_thread_score
          • minor_compact_trigger
          • compaction_mid_thread_score
          • ob_enable_batched_multi_statement
          • ob_proxy_readonly_transaction_routing_policy
          • ob_ssl_invited_common_names
          • open_cursors
          • plsql_code_type
          • plsql_debug
          • plsql_optimize_level
          • plsql_warnings
          • sql_work_area
          • tde_method
          • writing_throttling_maximum_duration
          • writing_throttling_trigger_percentage
          • workarea_size_policy
          • plsql_v2_compatibility
          • job_queue_processes
          • ha_high_thread_score
          • ha_mid_thread_score
          • ha_low_thread_score
          • ob_compaction_schedule_interval
          • default_auto_increment_mode
          • ob_query_switch_leader_retry_timeout
          • default_enable_extended_rowid
          • major_freeze_duty_time
          • undo_retention
          • query_response_time_stats
          • query_response_time_flush
          • query_response_time_range_base
          • merger_check_interval
          • freeze_trigger_percentage
          • cpu_quota_concurrency
          • arbitration_timeout
          • compatible
          • log_transport_compress_all
          • log_transport_compress_func
          • rpc_memory_limit_percentage
          • tenant_sql_login_thread_count
          • tenant_sql_net_thread_count
          • dump_data_dictionary_to_log_interval
          • enable_user_defined_rewrite_rules
          • partition_balance_schedule_interval
          • log_disk_throttling_percentage
          • enable_rebalance
          • balancer_idle_time
          • log_disk_throttling_maximum_duration
          • ls_gc_delay_time
          • standby_db_preferred_upstream_log_region
          • archive_lag_target
          • range_optimizer_max_mem_size
          • log_restore_concurrency
          • log_archive_concurrency
          • standby_db_fetch_log_rpc_timeout
          • enable_transfer
          • kv_ttl_duty_duration
          • kv_ttl_history_recycle_interval
          • enable_kv_ttl
          • ttl_thread_score
          • compaction_dag_cnt_limit
          • compaction_schedule_tablet_batch_cnt
    • Database object management
      • Overview
      • Oracle mode
        • Manage synonyms
        • Manage sequences
        • Manage directory objects
        • Manage views
        • Create and manage DBLinks
          • Drop a DBLink
          • Use a DBLink to access data in a remote database
          • Query existing DBLinks
          • Use a DBLink to modify data in a remote database
          • Install and configure OCI
          • Create a DBLink
        • Create and manage table groups
          • Drop a table group
          • Query information about a table group
          • Manage tables in a table group
          • Add tables to a table group
          • Modify the SHARDING attribute of a table group
          • Overview
          • Create a table group
        • Create and manage partitions
          • Overview
          • Drop a partition
          • Create a partitioned table
          • Rename a partition
          • Partition pruning
          • Truncate a partition
          • Add a partition
          • Query data in specified partitions
          • Modify partitioning rules
          • Create indexes on partitioned tables
            • Global indexes
            • Local indexes
            • Overview
        • Create and manage tables
          • Overview
          • Create a table
          • Define column constraints
          • Query the definition of a table
          • Modify a table
          • Empty a table
          • Drop a table
          • Lock a table
          • Create and manage external tables
            • Create an external table
            • Overview
            • Manage external files
        • Create and manage triggers
          • Create an INSTEAD OF trigger
          • Modify and drop a trigger
          • Create a DML trigger
          • Query trigger information
          • Disable or enable a trigger
          • Create a composite trigger
          • Overview
        • Create and manage indexes
          • Overview
          • Create an index
          • Query indexes
          • System functions not supported for function-based indexes
          • System functions supported for function-based indexes
          • Drop an index
      • MySQL mode
        • Create and manage databases
          • Create a database
          • View databases
          • Modify a database
          • Drop a database
        • Create and manage tables
          • Empty a table
          • Create a table
          • Define column constraints
          • Lock a table
          • Modify a table
          • Query the definition of a table
          • Drop a table
          • Define an auto-increment column
          • Overview
          • Create and manage external tables
            • Overview
            • Manage external files
            • Create an external table
        • Create and manage partitions
          • Create a partitioned table
          • Query data in specified partitions
          • Drop a partition
          • Modify partitioning rules
          • Truncate a partition
          • Overview
          • Partition pruning
          • Add a partition
          • Create indexes on partitioned tables
            • Overview
            • Local indexes
            • Global indexes
        • Create and manage table groups
          • Manage tables in a table group
          • Overview
          • Drop a table group
          • Add tables to a table group
          • Create a table group
          • Modify the SHARDING attribute of a table group
          • Query information about a table group
        • Create and manage indexes
          • System functions supported for function-based indexes
          • Query indexes
          • Drop an index
          • System functions not supported for function-based indexes
          • Create an index
          • Overview
        • Manage views
        • Create and manage sequences
          • Modify a sequence
          • Query sequences
          • Create a sequence
          • Drop a sequence
          • Reference a sequence
        • Create and manage triggers
          • Drop a trigger
          • Query trigger information
          • Overview
          • Create a DML trigger
        • Create and manage DBLinks
          • Use a DBLink to access data in a remote database
          • Query a DBLink
          • Drop a DBLink
          • Create a DBLink
    • System principles
      • Development of OceanBase Database
      • Architecture of OceanBase Database
      • Database objects
        • Oracle mode
          • Partitions
            • Overview
            • Partitioning keys
            • Partitioning types
            • Partitioned indexes
          • Tables
            • Overview
            • Data type
              • ROWID data types
              • Numeric data types
              • Datetime data types
              • LOB data types
              • Character data types
              • Multi-model data types
              • Overview
              • Format model
                • Number format models
                • Overview
                • Datetime format models
            • Integrity constraints
            • Table storage
            • Table compression
            • Partitioned table
            • Tables with and without a primary key
            • Temporary tables
          • Views
            • View categorization
            • Data operations in views
            • Oracle-compatible views
            • OceanBase-specific views
            • Overview
            • Data access from views
            • Updatable views
          • Introduction
            • Overview
            • Database object types
            • Database object storage
            • Dependencies between database objects
          • Other objects
            • Sequences
            • Synonyms
          • Data integrity
            • Overview
            • Use of integrity constraints
            • Integrity constraint type
              • UNIQUE KEY constraints
              • Overview
              • FOREIGN KEY constraints
              • PRIMARY KEY constraints
              • NOT NULL constraints
              • CHECK constraints
          • System views
            • Dictionary views
            • Performance views
          • Indexes
            • Local and global indexes
            • Unique and non-unique indexes
            • Index storage
            • Use indexes
            • About indexes
        • MySQL mode
          • Data integrity
            • Use of integrity constraints
            • Overview
            • Integrity constraint type
              • PRIMARY KEY constraints
              • Overview
              • NOT NULL constraints
              • UNIQUE KEY constraints
              • FOREIGN KEY constraints
          • Introduction
            • Overview
            • Database object types
            • Database object storage
            • Dependencies between database objects
          • Indexes
            • About indexes
            • Index storage
            • Use indexes
            • Unique and non-unique indexes
            • Spatial indexes
            • Local and global indexes
          • Views
            • OceanBase-specific views
            • Updatable views
            • View categorization
            • Oracle-compatible views in MySQL tenants
            • Overview
            • Oracle-compatible views in the sys tenant
            • Data access from views
            • MySQL-compatible views
            • Data operations in views
          • Partitions
            • Partitioned indexes
            • Overview
            • Partitioning types
            • Partitioning keys
          • Tables
            • Table storage
            • Tables with and without a primary key
            • Partitioned table
            • Table compression
            • Integrity constraints
            • Overview
            • Data type
              • Numeric data types
              • LOB data types
              • Datetime data types
              • Overview
              • Multi-model data types
              • JSON data types
              • Spatial data types
              • Character data types
          • System views
            • Performance views
            • Dictionary views
      • OBServer node architecture
        • Structure of the OBServer node installation directory
        • Configuration files
        • Logs
        • Memory management
          • Memory-related views
          • Memory-related parameters
          • Diagnose memory errors
          • Memory usage logs
          • Overview
        • observer thread model
          • Threads
          • Worker threads
          • Background threads
      • User interface and query language
        • Client programming languages
        • SQL
          • Query SQL execution plans
          • Execution process of SQL queries
          • Introduction
            • SQL data access
            • SQL standards
            • Overview
          • Distributed execution plan
            • Perform distributed execution and parallel queries
            • Manage distributed execution plans
            • Run and disable a parallel query
            • Generate distributed execution plans
            • Perform parameter tuning for a parallel query
          • SQL statements
            • Overview
            • DDL statements
            • DCL statements
            • DML statements
        • PL
          • PL subprogram execution mechanism
          • PL concepts
            • MySQL mode
              • Functions
              • Stored procedures
              • Subprograms
              • Triggers
            • Oracle mode
              • Subprograms
              • Triggers
              • Functions
              • Stored procedures
              • Packages
      • Data link
        • Overview
        • Database proxy
          • SQL routing
          • ODP configuration management
          • Connection management
          • Overview
          • Logs and monitoring
        • Database connector
          • Overview
          • OBCI
          • OceanBase Connector/J
          • OceanBase Connector/C
      • Distributed database objects
        • Overview
        • Cluster architecture
        • Data partitions and replicas
          • Overview
          • Log streams
          • Partition replica type
            • Overview
            • Full-featured replica
          • Multi-replica consensus protocols
        • Dynamic scaling
          • Cluster scaling
          • Tenant resource scaling
            • Horizontal scaling of tenant resources
            • Overview
            • Cross-zone management of tenant resources
            • Vertical scaling of tenant resources
      • Storage architecture
        • Overview
        • Multi-level caches
        • Query processing
        • Data integrity
          • Detect silent data corruption
        • Data storage
          • Overview
          • MemTables
          • SSTables
          • Compression and encoding
        • Compaction
          • Overview
          • Major compaction
          • Minor compaction
      • Multi-tenant architecture
        • Tenants
        • Overview
        • Compatibility modes
        • Tenants and resource management
          • Resource unit balancing
          • Multi-tenant resource isolation
          • Tenant resource management
      • Transaction management
        • Transaction concurrency and consistency
          • Overview
          • Multi-version read consistency
          • Concurrency control
            • Lock mechanism
            • Overview
          • Transaction isolation level
            • Transaction isolation levels in MySQL mode
            • Overview
            • Transaction isolation levels in Oracle mode
          • Weak consistency read
        • Transaction
          • Overview
          • Statement-level atomicity
          • Redo logs
          • Transaction structure
          • XA transactions
          • Local transactions
          • GTS
          • Transaction control
            • Active transactions
            • Overview
            • Savepoint
            • Transaction control statements
              • MySQL transaction control
              • Oracle transaction control
          • Distributed transaction
            • Two-phase commit
            • Overview
      • Data reliability and high availability
        • Deployment solutions for disaster recovery
        • Data protection
          • Recycle bin
          • Flashback queries
          • Overview
        • High availability architecture
          • Automatic handling of node failures
          • ODP high availability
          • Paxos protocol
          • Leader election in distributed systems
          • Multi-replica log synchronization
          • Overview
        • Backup and restore
          • Overview
          • Backup directory structures
          • Restore architecture
          • Backup architecture
      • Database security
        • Security audit
        • Monitoring and alerting
        • Access control
        • Authentication
        • Data transmission encryption
        • Data storage encryption
        • Overview
    • Database design specifications and practices
      • Character set specifications
      • Comments
      • ORM conventions
      • Database connection specifications
      • Exception handling
      • Object structure design specifications
        • Field design
        • Partitioned table design
        • Index design
        • Table structure design
        • Other structural designs
      • Object naming conventions
        • Tenant naming conventions
        • Overview
        • Other naming conventions
        • User naming conventions
        • Field naming conventions
        • Table naming conventions
    • Performance tuning
      • Overview
      • SQL tuning
        • Execution process of SQL queries
        • SQL execution plans
          • Fast parameterization
          • Plan cache
          • Real-time execution plan display
          • Introduction to SQL execution plans
          • SQL tuning practice with EXPLAIN
          • Execution plan operators
            • SUBPLAN FILTER
            • COUNT
            • INTERSECT
            • SUBPLAN SCAN
            • JOIN
            • DELETE
            • SEQUENCE
            • EXCHANGE
            • GROUP BY
            • FOR UPDATE
            • TABLE SCAN
            • UNION
            • MERGE
            • EXCEPT/MINUS
            • UPDATE
            • WINDOW FUNCTION
            • SELECT INTO
            • GI
            • LIMIT
            • DISTINCT
            • MATERIAL
            • INSERT
            • SORT
        • Distributed execution plans
          • Schedule distributed execution plans
          • Parallel DML
          • Parallel execution enabling methods and their priority
          • Perform parameter tuning for a parallel query
          • Manage distributed execution plans
          • Perform distributed execution and parallel queries
          • Auto DOP
          • Execute parallel queries
          • Generate a distributed plan
        • SQL tuning
          • General procedure
          • Overview
          • SQL execution performance monitoring
            • SQL Trace
            • GV$OB_SQL_AUDIT
            • Plan cache views
            • SQL performance analysis example
              • Query SQL traffic distribution and QPS
              • Analyze queries related to distributed plans
              • Find the TOP N queries with the longest execution time within a certain period
              • Check whether the RPC execution count of a distributed subplan is balanced across servers in a cluster
              • Find the TOP N SQL queries
              • Check whether SQL queries are balanced across servers in a cluster
              • Find full table scan SQL statements in a tenant
              • Analyze SQL queries that cause an abrupt RT jitter
              • Analyze slow SQL queries
              • Use SQL Audit to analyze wait events in a query
              • Analyze whether an unusually large number of remote execution requests exist in the system or the execution of an SQL statement
              • View and analyze the shape of an execution plan
          • Query rewrite
            • Cost-based query rewrite
            • Overview
            • Rule-based query rewrite
          • Query optimization
            • Join algorithm
              • Overview
              • Join algorithms
              • Runtime filters
              • Join order
            • Access path
              • Cost-based path selection
              • Overview
              • Rule-based path selection
          • Optimizer statistics
            • Overview of statistics
            • Statistics collection methods
              • Histograms
              • Dynamic sampling
              • Overview
              • Online statistics collection
              • Automatic statistics collection
              • Manual statistics collection
            • Statistics management
              • Manage statistics history
              • Lock and unlock statistics
              • Manage statistics preferences
              • Overview
              • Import and export statistics
              • Delete statistics
              • Set statistics
            • Monitoring and diagnostics for statistics collection
            • Examples
          • Manage execution plans
            • Optimizer hints
            • Plan binding
            • SQL plan management
        • Glossary
        • General issues in SQL tuning
      • System tuning
        • OS parameter tuning
        • Database parameter tuning
          • CPU parameters
          • I/O parameters
          • Memory-related parameters
          • Network transmission parameters
        • ODP parameter tuning
          • Network transmission parameters
          • Routing parameters on nodes
          • CPU parameters
      • Performance related tools
        • OCP
        • System tools
          • CPU tools
          • Memory tools
          • Top
          • Network tools
          • Disk I/O tools
        • Internal tables
          • GV$OB_SQL_AUDIT
          • GV$OB_TRANSACTION_PARTICIPANTS
          • GV$SYSSTAT
        • Logs
          • slow trans
          • dump tenant info
          • Trace logs
      • Performance diagnosis
        • Monitor and diagnose the cluster performance
        • Diagnose tenant performance
        • Monitor ODP performance
        • Monitor host performance
        • WR management
          • Overview
          • Manage WR
          • Monitor historical session performance
          • Clean up WR data
        • ASH report
          • Analyze ASH reports
          • Generate ASH reports
          • ASH
      • Business model tuning
        • SQL diagnostics
        • Distributed transactions
        • Load balancing
    • System management
      • Configuration management
        • General system parameters
        • Overview
        • Set parameters
        • Default production parameters
        • Minimum resource configurations
        • Set variables
      • Storage management
        • Major compaction management
          • View the major compaction process
          • Overview
          • Manually initiate a major compaction
          • Configure scheduled major compactions
          • Automatically trigger a major compaction
          • Modify major compaction settings
          • Manually control a major compaction
          • Adaptive major compactions
        • Minor compaction management
          • Modify minor compaction settings
          • Automatically trigger a minor compaction
          • Manually initiate a minor compaction
          • Overview
          • View minor compaction information
        • Data compression
          • Data encoding and compression
          • Overview
      • Memory management
        • Overview
        • Manage the memory of the plan cache
        • Manage internal system memory
        • Set the maximum memory for an OceanBase database
        • Manage internal tenant memory
        • FAQ about memory
        • Memleak-based regular memory leak diagnostics mechanism
        • Memory structure
        • Query memory usage information
      • Process management
        • Background threads of OceanBase Database
        • Overview
        • Multi-tenant threads of OceanBase Database
        • FAQ about multi-tenant threads
        • View the thread status
      • Disk management
        • Configure automatic scale-out of disk space for data files
    • Components & tools
      • O&M management
        • ob_error
        • OBD
        • ob_admin
          • dump_backup
          • dumpsst
          • Overview
          • clog
            • log_tool
            • Format of clogs
            • Transaction logs
        • ob-operator
          • Upgrade ob-operator
          • Quick start
          • Overview
          • Deploy ob-operator
          • User guide
            • Manage clusters
              • Create a cluster
              • Delete a cluster
              • Upgrade a cluster
              • Scale out clusters
                • Add zones to a cluster
                • Add OBServer nodes to zones
              • Scale in clusters
                • Delete zones from a cluster
                • Delete OBServer nodes from zones
            • Manage tenants
              • Create a tenant
              • Delete a tenant
              • Modify tenants
                • Modify other parameters
                • Manage replicas
                • Manage resources
            • Backup and restore
              • Restore data from a backup
              • Back up a cluster
              • Back up a tenant
      • Data integration
        • OBLogProxy
        • OBLOADER & OBDUMPER
        • Partition calculator
          • Overview
          • Use the ob-partition-calculator component
        • CDC
          • Overview
          • obcdc
            • FAQ about obcdc
            • Deploy and use obcdc
              • Install and deploy obcdc
              • obcdc development instructions
              • obcdc_tailf
            • obcdc parameters
              • General obcdc parameters
              • obcdc parameters
          • oblogmsg
            • Install and deploy oblogmsg
            • Description of some oblogmsg APIs
      • Monitoring and diagnostics
        • obdiag
        • DOOBA
        • SQL diagnoser
          • Overview
          • SQL diagnoser remarks
            • Built-in diagnostic items
            • Diagnostic rule expression
            • Diagnostic items of SQL review
            • APIs
          • Deploy and use SQL diagnoser
            • Install SQL Diagnoser
            • Use SQL Diagnoser
      • Stress testing tools
        • mysqltest
          • Use obd.sh to run mysqltest
          • Use of cases
            • Add a test case
            • General test case writing commands
            • Test case writing conventions
    • Database proxy
      • Connection and routing
      • View tenant sessions
      • Physical connections
      • Terminate a tenant session
      • OceanBase Database Proxy
      • Set the maximum number of connections for a tenant
      • Logical connection
        • Query session variables
        • Terminate a server session
        • Query the metrics of a session
        • Query all sessions
        • Query the details of a session
      • Route management
        • LDC-based routing
        • Table-based routing of ODP
        • ODP routing policy
          • Transaction routing
          • Blocklist mechanism
          • Follower-first read
          • Read/Write splitting
      • ODP
        • ODP startup parameters
        • Overview
        • Manage ODP
          • Start an ODP
          • Stop an ODP
          • Restart an ODP
          • Refresh ODP configurations
          • Add an ODP
          • Upgrade one or more ODPs
          • Delete an ODP
        • Manage ODP clusters
          • Restart all ODPs in an ODP cluster
          • Create an ODP cluster
          • Delete an ODP cluster
          • Manage ODP cluster parameters
          • Upgrade all ODPs in an ODP cluster
          • Manage OceanBase clusters connected to an ODP cluster
          • Monitor ODP cluster performance
    • Error codes
      • Oracle mode
        • ORA-01000 to ORA-01499
        • ORA-30000 to ORA-49999
        • ORA-20000 to ORA-29999
        • ORA-10000 to ORA-19999
        • ORA-50000 to ORA-99999
        • ORA-05000 to ORA-10000
        • ORA-01500 to ORA-01999
        • PLS-00000 to PLS-00999
        • ORA-00000 to ORA-00999
        • Overview
        • ORA-02000 to ORA-04999
      • MySQL mode
        • 7000 - 7999
        • 4000 - 4499
        • 5000 - 5999
        • Overview
        • 9500 - 9999
        • 4500 - 4999
        • 8000 - 8999
        • 9000 - 9499
        • 6000 - 6999
        • 0001 - 3999
        • 22998, 30926, 38104, and 38105
    • Drivers
      • OBCI
      • OceanBase Connector/ODBC
      • ECOB
      • OceanBase Connector/J
      • OceanBase Connector/C
    • Performance test
      • Run the TPC-H benchmark on OceanBase Database
      • Run the TPC-C benchmark on OceanBase Database
      • Sysbench benchmark report of OceanBase Database
      • TPC-C benchmark report of OceanBase Database
      • TPC-H benchmark report of OceanBase Database
      • Run the Sysbench benchmark on OceanBase Database
      • Achieve high performance with Sysbench on OceanBase Database: deployment and troubleshooting
  • FAQ
    • Products
    • SQL statements
    • Deployment
    • Cluster management
    • High availability
  • Release Notes
    • Version rules
    • OceanBase Database Enterprise Edition
      • V3.2
        • OceanBase Database Enterprise Edition V3.2.0
        • OceanBase Database Enterprise Edition V3.2.3
        • OceanBase Database Enterprise Edition V3.2.4
        • OceanBase Database Enterprise Edition V3.2.2
        • OceanBase Database Enterprise Edition V3.2.1
      • V4.1
        • OceanBase Database Enterprise Edition V4.1.0
      • V4.2
        • OceanBase Database Enterprise Edition V4.2.1
        • OceanBase Database Enterprise Edition V4.2.0
      • V3.1
        • OceanBase Database Enterprise Edition V3.1.1
        • OceanBase Database Enterprise Edition V3.1.2
      • V2.2
        • OceanBase Database Enterprise Edition V2.2.77
        • OceanBase Database Enterprise Edition V2.2.76
        • OceanBase Database Enterprise Edition V2.2.30
    • OceanBase Database Community Edition
      • V4.0
        • OceanBase Database Community Edition V4.0.0
      • V3.1
        • OceanBase Database Community Edition V3.1.3
        • OceanBase Database Community Edition V3.1.4
        • OceanBase Database Community Edition V3.1.2
        • OceanBase Database Community Edition V3.1.1
        • OceanBase Database Community Edition V3.1.5
      • V4.2
        • OceanBase Database Community Edition V4.2.0
        • OceanBase Database Community Edition V4.2.1
      • V4.1
        • OceanBase Database Community Edition V4.1.0
  • Glossary

Download PDF

Compatibility with MySQL Overview Differences between the Enterprise Edition and the Community Edition Limitations System architecture Overview System views SQL data types Built-in functions Video tutorials Quick start with OceanBase Database Community Edition Try out operational OLAP Try out parallel import and data compression Try out the multi-tenant feature Build a C application Build a Java application Basic SQL operations (Oracle mode) Basic SQL operations (MySQL mode) Before you begin Build a Python application Build a Java application Build a C application Build a Go application Clear an OceanBase cluster Overview HA deployment solutions for OceanBase clusters Overview Deploy OceanBase Database in a Kubernetes cluster Deployment process Import data from SQL files to OceanBase Database Overview Use OMS to migrate data from a DB2 LUW database to a MySQL tenant of OceanBase Database Use OMS to migrate data from a DB2 LUW database to an Oracle tenant of OceanBase Database Use DBCAT to migrate table schemas from a DB2 LUW database to OceanBase Database Use OMS to migrate data from an Oracle database to an Oracle tenant of OceanBase Database Use DataX to migrate table data from an Oracle database to OceanBase Database Use DBCAT to migrate schemas from an Oracle database to OceanBase Database Use OMS to migrate data from an Oracle database to a MySQL tenant of OceanBase Database Use DataX to migrate table data from OceanBase Database to a MySQL database Use OMS to migrate incremental data from an Oracle tenant of OceanBase Database to a MySQL database Use Flink CDC to migrate data from OceanBase Database to a MySQL database Use ChunJun to migrate data from OceanBase Database to a MySQL database Use Canal to synchronize data from OceanBase Database to a MySQL database Use DBCAT to migrate schemas from OceanBase Database to a MySQL database Use CloudCanal to migrate data from OceanBase Database to a MySQL database Use OMS to migrate data from a MySQL tenant of OceanBase Database to a MySQL database Use OBLOADER & OBDUMPER to migrate data from a MySQL tenant to an Oracle tenant in OceanBase Database Use OMS to migrate data from an OceanBase Database tenant to another of the same type Use OMS to migrate data from an OceanBase Database tenant to another of the same type in active-active disaster recovery scenarios Use OBLOADER & OBDUMPER to migrate data between Oracle tenants in OceanBase Database Use OBLOADER & OBDUMPER to migrate data between MySQL tenants in OceanBase Database Use OBLOADER & OBDUMPER to migrate data from an Oracle tenant to a MySQL tenant in OceanBase Database Import data in bypass mode by using the INSERT INTO SELECT statement Import data in bypass mode by using the LOAD DATA statement Overview Use Flink CDC to synchronize data from a MySQL database to OceanBase Database Use OMS to migrate data from a MySQL database to a MySQL tenant of OceanBase Database Use mydumper and myloader to migrate data from a MySQL database to OceanBase Database Use ChunJun to migrate data from a MySQL database to OceanBase Database Use CloudCanal to migrate data from a MySQL database to OceanBase Database Use DataX to migrate table data from a MySQL database to OceanBase Database Use DBCAT to migrate schemas from a MySQL database to OceanBase Database Use Canal to synchronize data from a MySQL database to OceanBase Database Import data by using the LOAD DATA statement Use DataX to migrate CSV files to OceanBase Database Use DBCAT to migrate schemas from OceanBase Database to an Oracle database Use DataX to migrate table data from OceanBase Database to an Oracle database Use OMS to migrate data from an Oracle tenant of OceanBase Database to an Oracle database Use OMS to migrate data from a PostgreSQL database to a MySQL tenant of OceanBase Database Export data by using OUTFILE statements Migrate resource units Migrate data between tables Use OMS to migrate data from a MySQL tenant of OceanBase Database to a DB2 LUW database Use OMS to migrate data from an Oracle tenant of OceanBase Database to a DB2 LUW database Use OMS to migrate data from a TiDB database to a MySQL tenant of OceanBase Database Log on to an OceanBase Database tenant Traffic distribution Data distribution Overview Identify bottlenecks on the data link Overview Deadlock detection Overview Check tenant resource usage Check cluster parametersCheck cluster resource usage Check the host status Check the NTP offsetCheck the OBServer node status Cluster parameters Overview Overview Introduction to physical backup and restore Deploy NFS Emergency response overview Analysis, diagnosis, and decision-making procedure Flashback queries High availability overview User tenant introduction Tenant system variables
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 Database
  3. SQL
  4. V4.2.1
iconOceanBase Database
SQL - V 4.2.1
SQL
KV
  • V 4.6.0
  • 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

Overview

Last Updated:2026-04-28 09:23:26  Updated
share
What is on this page
Features of the storage engine
Data storage
Minor and major compactions
Queries, reads, and writes
Data Verification

folded

share

This topic introduces the storage structure of OceanBase Database.

Storage

The storage engine of OceanBase Database is based on the LSM-tree architecture. Data is divided into static baseline data (stored in an SSTable) and dynamic incremental data (stored in a MemTable). An SSTable is read-only and stored on the disk. After an SSTable is generated, it is not modified. A MemTable can be read and written and is stored in the memory. Data related to DML operations, such as inserting, updating, and deleting, is first written into the MemTable. After the size of the MemTable reaches the specified threshold, its data is compacted with the baseline data and stored in the SSTable on the disk. After OceanBase Database receives a user query, it queries both the SSTable and the MemTable, merges the query results, and then returns the results to the SQL layer. OceanBase Database implements both block cache and row cache in the memory to prevent random read of the baseline data.

When the incremental data in a MemTable reaches a specified size, it is compacted with the baseline data and then persisted to the disk. The system performs a daily major compaction during idle hours every night.

OceanBase Database is essentially a storage engine for baseline and incremental data. OceanBase Database integrates the benefits of the LSM-tree architecture and the storage engines of specific traditional relational databases.

Traditional databases divide data into many pages. OceanBase Database borrows this idea and divides data files into macroblocks of 2 MB. Each macroblock is split into multiple variable-length microblocks. During major compactions, data is reused based on the granularity of macroblocks, and non-updated macroblocks are not accessed or read again. This minimizes write amplification during major compactions and significantly reduces compaction costs compared with databases built on the traditional LSM-tree architecture.

OceanBase Database uses the baseline/incremental data design, which means that some data is baseline data and some is incremental data. In principle, every query reads both the baseline and incremental data. Therefore, OceanBase Database has undergone many optimizations, especially for single-row queries. In addition to the data block cache, OceanBase Database also caches rows. Row cache significantly accelerates single-row queries. OceanBase Database builds bloom filters to filter queries for rows that do not exist and caches these filters. Most operations related to online transaction processing (OLTP) business are small queries. OceanBase Database optimizes small queries to eliminate the overhead of parsing the entire data block as traditional databases do. This makes the performance of OceanBase Database comparable to that of an in-memory database. In addition, OceanBase Database can use effective compression algorithms, since the baseline data is read-only and is continuously stored. This ensures a high compression ratio and greatly reduces the cost without affecting the query performance.

By leveraging the benefits of traditional databases, OceanBase Database provides a more general relational database storage engine based on the LSM-tree architecture and achieves the following benefits:

  • High cost efficiency: In the LSM-tree architecture, written data is no longer updated. OceanBase Database integrates an in-house hybrid row-column encoding method with general compression algorithms, which increases the data compression ratio by more than 10 times compared with traditional databases.

  • Ease of use: Unlike other LSM-tree-based databases, OceanBase Database allows you to write data of active transactions to disks. This ensures that large or long-running transactions can be run and rolled back as expected. The multi-level major and minor compaction mechanism helps you strike a balance between performance and storage space.

  • High performance: For common point queries, OceanBase Database provides multi-level cache acceleration to minimize the response delay. For range scans, the storage engine supports calculation pushdown of filter conditions based on data encoding characteristics and provides native vectorization.

  • High reliability: In addition to end-to-end data verification, OceanBase Database also compares multiple replicas and compares primary tables with index tables during global major compactions based on its native distributed capabilities to ensure data correctness. In addition, OceanBase Database supports regular scans for background threads to prevent silent errors.

Features of the storage engine

The storage engine of OceanBase Database provides the following features:

Data storage

  • Data organization

    Like other LSM-tree-based databases, OceanBase Database also classifies data into incremental data (stored in a MemTable) and static data (stored in an SSTable). An SSTable is read-only and stored on the disk. After an SSTable is generated, it is not modified. A MemTable can be read and written and is stored in the memory. Data related to DML operations, such as inserting, updating, and deleting, is first written into the MemTable. After the size of the MemTable reaches the specified threshold, its data is compacted with the baseline data and stored in the SSTable on the disk.

    In addition, SSTables in OceanBase Database are further classified into mini SSTables, minor SSTables, and major SSTables. Data in the MemTable is compacted to mini SSTables. Multiple mini SSTables are compacted into a minor SSTable on a periodic basis. During daily compactions specific to OceanBase Database, all mini SSTables and minor SSTables of each partition are compacted into a major SSTable.

  • Storage structure

    In OceanBase Database, the basic storage unit of each partition is an SSTable, while the basic storage units of the entire database are macroblocks. When OceanBase Database is started, OceanBase Database divides each data file into macroblocks of 2 MB. Each SSTable is a collection of macroblocks.

    Each macroblock is further split into multiple microblocks. The concept of microblock is similar to that of page or block in traditional databases. However, based on the LSM-tree architecture, microblocks in OceanBase Database are compressed. When you create a table, you can set the block_size parameter to specify the size of microblocks before compression.

    OceanBase Database stores microblocks in the encoding or flat format based on the storage format that you specify. Microblock data in the encoding format is stored in hybrid row-column storage mode. Microblock data in the flat format is distributed in rows.

  • Compression and encoding

    OceanBase Database encodes and compresses microblock data based on the mode specified in the user table. If encoding is enabled in the user table, OceanBase Database uses the dictionary, run-length, constant, or differential encoding method to encode data of each microblock by column. After compression of data in each column, OceanBase Database performs inter-column equivalence encoding or inter-column substring encoding for multiple columns. Encoding helps compress your data to a smaller size. In addition, the extracted in-column characteristic information can speed up subsequent queries.

    After data is encoded, OceanBase Database allows you to compress microblock data in a lossless manner by using general compression algorithms. This further increases the data compression ratio.

Minor and major compactions

  • Minor compaction

    The concept of minor compaction in OceanBase Database is similar to that of compaction in other LSM-tree-based databases. During minor compactions, data in MemTables is written to SSTables, and data in multiple SSTables is compacted. OceanBase Database adopts the leveled and size-tiered compaction strategy. A database is divided into three layers. The L1 and L2 layers are at a fixed level, and the L0 layer is size-tiered. In the L0 layer, compactions are performed based on the write amplification factor and the number of SSTables.

  • Major compaction

    In OceanBase Database, the concept of major compaction, also known as daily compaction, has a minor difference from other LSM-tree-based databases. This concept was first proposed to indicate an overall compaction of the entire cluster at about 2:00 every morning. Major compactions are initiated by RootService of each tenant based on the write status or user settings. RootService selects a global snapshot in each major compaction of each tenant and performs major compactions for all partitions of the tenant by using the snapshot data. In this way, each major compaction of all data of the tenant generates an SSTable based on the unified snapshot. This helps you integrate incremental data regularly, improves read performance, and provides a natural data verification point. With global consistency snapshots, OceanBase Database supports physical data verification between multiple replicas and between primary tables and index tables.

Queries, reads, and writes

  • Insert

    All data tables in OceanBase Database are clustered index tables. OceanBase Database maintains hidden primary keys even for heap tables without primary keys. Therefore, when you insert data, OceanBase Database checks whether data with the same primary key already exists in the current data table before it writes the data to the MemTable. To speed up the query for duplicate primary keys, background threads asynchronously schedule and build bloom filters for SSTables based on the frequency of macroblock duplication assessment.

  • Update

    OceanBase Database is built on the LSM-tree architecture. Therefore, each update in OceanBase Database inserts a new data row. In contrast to CLOGs, data written to the MemTable during an update contains only new values of the updated column and the corresponding primary key column. The updated row does not necessarily contain data of all table columns. Continuous background compactions merge these incremental updates to speed up your queries.

  • Delete

    Similar to updates, deletions do not directly apply to the original data. Instead, a row of data is written based on the primary key of the deleted row, and a line header is used to mark the deletion. A large number of deletions are not suited to an LSM-tree-based database. Even if a data range is deleted, the database must iterate all rows with deletion markers in this range and merge the rows before it can confirm the deletion status. OceanBase Database provides an internal range deletion marker logic to resolve this issue. OceanBase Database also allows you to explicitly specify a table mode. In this way, OceanBase Database can recycle deleted rows by using special minor and major compactions to speed up your queries.

  • Query variables

    Data is incrementally updated. Therefore, when you query each row of data, OceanBase Database must go through all MemTables and SSTables from the latest to the earliest versions, merge data corresponding to the primary keys in all tables, and return the merged data. OceanBase Database speeds up data access based on caches. In large queries, the SQL layer pushes down filter conditions to the storage layer, and the storage layer performs quick underlying filtering based on characteristics of stored data. In addition, OceanBase Database supports batch calculations and responses in vectorization scenarios.

  • Multi-level caches

    To improve performance, OceanBase Database supports multi-level caches: block cache for data microblocks in queries, row cache for each SSTable, fuse row cache for fusion query results, and Bloom filter cache for null judgment during insertion. All caches in a tenant share the memory. When data is written to the MemTable in an excessively fast manner, you can flexibly schedule memory resources of cached objects for data writes.

Data Verification

As a financial-grade relational database, OceanBase Database always prioritizes data quality and security. OceanBase Database verifies every piece of persistent data in all processes. By leveraging the inherent benefits of multi-replica storage, OceanBase Database also verifies data between replicas to ensure overall data consistency.

  • Logical verification

    In a common deployment mode, each user table in OceanBase Database has multiple replicas. During daily major compaction of a tenant, consistent baseline data is generated for all replicas based on a globally unified snapshot version. When the compaction is completed, OceanBase Database compares data of all replicas with the data checksum to ensure exact consistency. Furthermore, OceanBase Database compares data with the checksum of indexed columns based on the index of the user table. In this way, program errors do not cause inaccuracy of the data returned to you.

  • Physical verification

    OceanBase Database records checksums in microblocks (the smallest I/O granularity in data storage), macroblocks, SSTables, and partitions to verify data in each data read operation. To prevent issues caused by underlying storage hardware, OceanBase Database immediately verifies data after it is written to macroblocks during minor or major compaction. In addition, each server runs a background data inspection thread to scan and verify overall data on a regular basis to detect silent errors on disks.

Previous topic

Weak consistency read
Last

Next topic

Overview
Next
What is on this page
Features of the storage engine
Data storage
Minor and major compactions
Queries, reads, and writes
Data Verification