OceanBase logo

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

International - English
中国站 - 简体中文
日本 - 日本語
Sign In
Start on Cloud

A unified distributed database ready for your transactional, analytical, and AI workloads.

DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS
OceanBase CloudOceanBase Database
ToolsConnectors and Middleware
QUICK START
OceanBase CloudOceanBase Database
BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

Start on Cloud
编组
All Products
    • Databases
    • iconOceanBase Database
    • iconOceanBase Cloud
    • iconOceanBase Tugraph
    • iconInteractive Tutorials
    • iconOceanBase Best Practices
    • Tools
    • iconOceanBase Cloud Platform
    • iconOceanBase Migration Service
    • iconOceanBase Developer Center
    • iconOceanBase Migration Assessment
    • iconOceanBase Admin Tool
    • iconOceanBase Loader and Dumper
    • iconOceanBase Deployer
    • iconKubernetes operator for OceanBase
    • iconOceanBase Diagnostic Tool
    • iconOceanBase Binlog Service
    • Connectors and Middleware
    • iconOceanBase Database Proxy
    • iconEmbedded SQL in C for OceanBase
    • iconOceanBase Call Interface
    • iconOceanBase Connector/C
    • iconOceanBase Connector/J
    • iconOceanBase Connector/ODBC
    • iconOceanBase Connector/NET
icon

OceanBase Cloud

  • Product Updates & Announcements
    • What's new
      • Release notes for 2026
      • Release notes for 2025
      • Release notes for 2024
      • Release history
    • Product announcements
      • Data development module deprecation notice
      • Optimization of Backup and Restore commercialization strategy
      • Cross-AZ data transfer billing (OceanBase Cloud on AWS)
      • Database Proxy pricing update
      • AWS instance pricing adjustment
  • Product Introduction
    • Overview
    • Management mode and scenarios
    • Core features
      • High availability with cross-cloud active-active architecture
      • High availability with cross-cloud primary-standby databases
      • Multi-level caching in shared storage
      • Multi-layer online scaling and on-demand adjustment
    • Deployment modes
    • Storage architecture
    • Product specifications
    • Product billing
      • Overview
      • Instance billing
        • Tencent Cloud instance billing
        • Alibaba Cloud instance billing
        • Huawei Cloud instance billing
        • AWS instance billing
        • GCP instance billing
      • Backup and restore billing
      • SQL audit billing
      • Migrations billing
      • Database proxy billing
      • Binlog service billing
      • Overview of OceanBase Cloud support plans
      • Read-only replica billing
    • Supported database versions
  • Get Started
    • Get started with a transactional instance
    • Get started with an analytical instance
    • Get started with a Key-Value instance
  • Work with Transactional Instances
    • Overview
    • Create an instance
      • Overview
      • Create via OceanBase Cloud official website
      • Create via AWS Marketplace
      • Create via GCP Marketplace
      • Create via Huawei Cloud Marketplace
      • Create via Alibaba Cloud Marketplace
      • Create via Azure Marketplace
    • Connect to an instance
      • MySQL compatible mode
        • Overview
        • Get connection string
          • Overview
          • Connect using AWS PrivateLink
          • Connect using Azure Private Link
          • Connect using Google Cloud Private Service Connect
          • Connect using Huawei Cloud VPC Endpoint
          • Connect using Alibaba Cloud VPC
          • Connect using a public IP address
          • Connect using a Huawei Cloud peering connection
        • Connect with clients
          • Connect to OceanBase Cloud by using Client ODC
          • Connect to OceanBase Cloud by using a MySQL client
          • Connect to OceanBase Cloud by using OBClient
        • Connect with drivers
          • Java
            • Connect to OceanBase Cloud using SpringBoot
            • SpringBatch sample application for connecting to OceanBase Cloud
            • spring-jdbc
            • SpringDataJPA sample application for connecting to OceanBase Cloud
            • Hibernate application development with OceanBase Cloud
            • Sample program for connecting to OceanBase Cloud
            • connector-j
            • Use TestContainers to connect to and use OceanBase Cloud
          • Python
            • Connect to OceanBase Cloud using mysqlclient
            • Connect to OceanBase Cloud using PyMySQL
            • Use the MySQL-connector-python driver to connect to and use OceanBase Cloud
            • Use SQLAlchemy to connect to an OceanBase Cloud database
            • Connect to an OceanBase Cloud database using Django
            • Connect to an OceanBase Cloud database by using peewee
          • C
            • Use MySQL Connector/C to connect to OceanBase Cloud
          • Go
            • Connect to OceanBase Cloud using the Go-SQL-Driver/MySQL driver
            • Connect to OceanBase Cloud using GORM
          • PHP
            • Use the EXT driver to connect to OceanBase Cloud
            • Connect to OceanBase Cloud by using the MySQLi driver
            • Use the PDO driver to connect to OceanBase Cloud
          • Rust
            • Rust application example for connecting to OceanBase Cloud
            • SeaORM example for connecting to OceanBase Cloud
          • ruby
            • ActiveRecord sample application for OceanBase Cloud
            • Connect to OceanBase Cloud by using mysql2
            • Connect to OceanBase Cloud by using Sequel
        • Use database connection pool
          • Database connection pool configuration
          • Connect to OceanBase Cloud by using a Tomcat connection pool
          • Connect to OceanBase Cloud by using a C3P0 connection pool
          • Connect to OceanBase Cloud by using a Proxool connection pool
          • Connect to OceanBase Cloud by using a HikariCP connection pool
          • Connect to OceanBase Cloud by using a DBCP connection pool
          • Connect to OceanBase Cloud by using Commons Pool
          • Connect to OceanBase Cloud by using a Druid connection pool
      • Oracle compatible mode
        • Overview
        • Get connection string
          • Overview
          • Connect using AWS PrivateLink
          • Connect using Azure Private Link
          • Connect using Google Cloud Private Service Connect
          • Connect using Huawei Cloud VPC Endpoint
          • Connect using a public IP address
        • Connect with clients
          • Connect to OceanBase Cloud by using OBClient
          • Connect to OceanBase Cloud by using Client ODC
        • Connect with drivers
          • Java
            • Connect to OceanBase Cloud using OceanBase Connector/J
            • Connect to OceanBase Cloud by using Spring Boot
            • SpringBatch application example for connecting to OceanBase Cloud
            • Connect to OceanBase Cloud using Spring JDBC
            • Connect to OceanBase Cloud by using Spring Data JPA
            • Connect to OceanBase Cloud by using Hibernate
            • Use MyBatis to connect to OceanBase Cloud
            • Use JFinal to connect to OceanBase Cloud
          • Python
            • Python Driver for Oracle Mode
          • C
            • Connect to OceanBase Cloud using OceanBase Connector/C
            • Connect to OceanBase Cloud using OceanBase Connector/ODBC
            • Use SqlSugar to connect to OceanBase Cloud
        • Use database connection pool
          • Database connection pool configuration
          • Sample program that uses a Tomcat connection pool to connect to OceanBase Cloud
          • C3P0 connection pool connects to OceanBase Cloud
          • Connect to OceanBase Cloud using Proxool connection pool
          • Sample program that uses HikariCP to connect to OceanBase Cloud
          • Use DBCP connection pool to connect to OceanBase Cloud
          • Connect to OceanBase Cloud by using Commons Pool
          • Connect to OceanBase Cloud by using a Druid connection pool
    • Developer guide
      • MySQL compatible mode
        • Plan database objects
          • Create a database
          • Create a table group
          • Create a table
          • Create an index
          • Create an external table
        • Write data
          • Insert data
          • Update data
          • Delete data
          • Replace data
          • Generate test data in batches
        • Read data
          • Single-table queries
          • Join tables
            • INNER JOIN queries
            • FULL JOIN queries
            • LEFT JOIN queries
            • RIGHT JOIN queries
            • Subqueries
            • Lateral derived tables
          • Use operators and functions in queries
            • Use arithmetic operators in queries
            • Use numerical functions in queries
            • Use string concatenation operators in queries
            • Use string functions in queries
            • Use datetime functions in queries
            • Use type conversion functions in queries
            • Use aggregate functions in queries
            • Use NULL-related functions in queries
            • Use the CASE conditional operator in queries
            • Use the SELECT ... FOR UPDATE statement to lock query results
            • Use the SELECT ... LOCK IN SHARE MODE statement to lock query results
          • Use a DBLink in queries
          • Set operations
        • Manage transactions
          • Overview
          • Start a transaction
          • Savepoints
            • Mark a savepoint
            • Roll back a transaction to a savepoint
            • Release a savepoint
          • Commit a transaction
          • Roll back a transaction
      • Oracle compatible mode
        • Plan database objects
          • Create a table group
          • Create a table
          • Create an index
          • Create an external table
        • Write data
          • Insert data
          • Update data
          • Delete data
          • Replace data
          • Generate test data in batches
        • Read data
          • Single-table queries
          • Join tables
            • INNER JOIN queries
            • FULL JOIN queries
            • LEFT JOIN queries
            • RIGHT JOIN queries
            • Subqueries
            • Lateral derived tables
          • Use operators and functions in queries
            • Use arithmetic operators in queries
            • Use numerical functions in queries
            • Use string concatenation operators in queries
            • Use string functions in queries
            • Use datetime functions in queries
            • Use type conversion functions in queries
            • Use aggregate functions in queries
            • Use NULL-related functions in queries
            • Use CASE functions in queries
            • Use the SELECT ... FOR UPDATE statement to lock query results
          • Use a DBLink in queries
          • Set operations
        • Manage transactions
          • Overview
          • Start a transaction
          • Savepoints
            • Mark a savepoint
            • Roll back a transaction to a savepoint
          • Commit a transaction
          • Roll back a transaction
    • Manage instances
      • Manage instances
        • View the instance list
        • Instance overview
        • Stop and restart instances
        • Unit migration
      • Manage tenants
        • Tenant overview
        • Create a tenant
        • Modify tenant specifications
        • Modify tenant names
        • Add an endpoint
        • Resource isolation
          • Overview
          • Manage resource groups
            • Create a resource group
            • View a resource group
            • Edit a resource group
            • Delete a resource group
          • Manage isolation rules
            • Create an isolation rule
            • View isolation rules
            • Edit an isolation rule
            • Delete a quarantine rule
        • Modify primary zone
        • Modify the maximum number of connections for a tenant proxy
        • Monitor tenant performance
          • Overview
          • View performance and SQL monitoring details
          • View transaction monitoring details
          • View storage and cache monitoring details
          • View Binlog service monitoring
          • Customize a monitoring dashboard for a tenant
        • Diagnostics
          • Real-time diagnostics
            • SQL diagnostics
              • Top SQL
              • Slow SQL
              • Suspicious SQL
              • High-risk SQL
            • SQL audit
        • Manage tenant parameters
          • Manage tenant parameters
          • Parameters for tenants
          • Parameter template overview
        • Delete a tenant
        • Manage databases and accounts
          • Create accounts
          • Manage accounts
          • Create a database (MySQL compatible mode)
          • Manage databases (MySQL compatible mode)
      • Monitor instance performance
        • Overview
        • Monitor the performance of databases in an instance
        • Monitor multidimensional metrics of an instance
        • Monitor the performance of hosts in an instance
        • Monitor database proxy
        • Monitor database proxy hosts
        • Monitor cross-cloud network performance
        • Customize a monitoring dashboard for an instance
      • Manage major compactions
        • Initiate a major compaction
        • View compaction records
        • Update time for compactions
      • Manage instance parameters
        • Manage parameters
        • Parameters for cluster instances
      • Change instance configurations
        • Enable storage auto-scaling
        • View history of configuration changes
        • Change configuration
        • Change configuration temporarily
        • Switch the deployment mode
      • Manage standby instances
        • Overview
        • Create a standby instance
        • Create a cross-cloud standby instance
        • Create a standby instance for an Alibaba Cloud primary instance
        • View details of primary and standby instances
        • Configure global endpoint
        • Enable automatic forwarding for write requests of standby databases
        • Primary-standby instance switchover
        • Initiate failover
        • Detach a standby instance
        • Release a standby instance
      • Release an instance
      • Database proxy
        • Overview
        • Manage database proxy
        • Direct load
      • Manage alerts
        • Overview
        • Manage alert rules
          • Create an alert rule
          • View an alert rule
          • Edit an alert rule
          • Delete an alert rule
        • View alert history
        • Manage alert templates
          • Create an alert template
          • View an alert template
          • Edit an alert template
          • Copy an alert rule template
          • Delete an alert template
        • Manage muting rules
          • Create an alert muting rule
          • View an alert muting rule
          • Edit an alert muting rule
          • Delete an alert muting rule
        • Manage alert notification templates
          • Create an alert notification template
          • View an alert notification template
          • Edit an alert notification template
          • Copy an alert notification template
          • Delete an alert notification template
        • Manage alert contacts
          • Add an alert contact
          • Add an alert contact group
          • View an alert contact
          • Edit an alert contact
          • Delete an alert contact
          • Obtain a webhook URL
        • Monitoring metrics for alerts
      • Backup and restore
        • Overview
        • Backup strategy
        • Initiate a backup immediately
        • Data backup
        • Initiate a restore
        • Data restore
        • Restore data from the instance recycle bin
      • Diagnostics
        • View performance monitoring data
        • Capacity diagnostics
        • One-click diagnostics
          • Initiate one-click diagnostics
          • View one-click diagnostic report
            • Exceptions
            • Real-time diagnostics
            • Optimization suggestions
            • Capacity management
            • Security management
        • Real-time diagnostics
          • SQL diagnostics
            • Top SQL
            • Slow SQL
            • Suspicious SQL
            • High-risk SQL
            • SQL details
            • SQL monitoring metrics list
          • Session management
            • Session management
          • Request analysis
            • Request analysis
        • Root cause diagnostics
          • Exception handling
          • Enable system autonomy
        • SQL audit
        • Materialized view analysis
        • Optimization center
          • Optimization suggestions
          • Manage active outlines
          • SQL review
          • View the optimization history
      • Manage tags
      • Manage read-only replicas
        • Overview
        • Instance read-only replicas
          • Add a read-only replica to an instance
          • View read-only replicas of an instance
          • Manage read-only replicas of an instance
          • Delete a read-only replica of an instance
        • Tenant read-only replicas
          • Add a read-only replica to a tenant
          • View read-only replicas of a tenant
          • Manage read-only replicas of a tenant
          • Delete a read-only replica of a tenant
      • Manage JVM-dependent services
    • Data source management
      • Create a data source
      • Manage data sources
      • User privileges
        • User privileges for compatibility assessment
        • User privileges for data migration
        • User privileges for performance assessment
        • User privileges for data archiving
        • User privileges for data cleanup
      • Connect via private network
        • AWS
        • Huawei Cloud
        • Alibaba Cloud
        • Google Cloud
        • Azure
        • Private IP address segments
      • Connect via public network
        • AWS
        • Huawei Cloud
        • Alibaba Cloud
        • Google Cloud
        • Azure
    • Data lifecycle management
      • Archive data
      • Clean up data
    • Manage recycle Bin
      • Instance recycle bin
      • Manage databases and tables in recycle bin
        • Overview
        • Instance-level recycle bin
        • Tenant-level recycle bin
  • Work with Analytical Instances
    • Overview
    • Core features
    • Create an instance
    • Connect to an instance
      • Overview
      • Get connection string
        • Overview
        • Connect using AWS PrivateLink
        • Connect using a public IP address
      • Connect with clients
        • Connect to OceanBase Cloud by using Client ODC
        • Connect to OceanBase Cloud by using a MySQL client
        • Connect to OceanBase Cloud by using OBClient
      • Connect with drivers
        • Java
          • Connect to OceanBase Cloud by using Spring Boot
          • Connect to OceanBase Cloud by using Spring Batch
          • Connect to OceanBase Cloud by using Spring Data JDBC
          • Connect to OceanBase Cloud by using Spring Data JPA
          • Connect to OceanBase Cloud by using Hibernate
          • Connect to OceanBase Cloud by using MyBatis
          • Connect to OceanBase Cloud using MySQL Connector/J
        • Python
          • Connect to OceanBase Cloud by using mysqlclient
          • Connect to OceanBase Cloud by using PyMySQL
          • Connect to OceanBase Cloud using MySQL Connector/Python
        • C
          • Connect to OceanBase Cloud using MySQL Connector/C
        • Go
          • Connect to OceanBase Cloud using Go-SQL-Driver/MySQL
        • PHP
          • Connect to OceanBase Cloud using PHP
      • Use database connection pool
        • Database connection pool configuration
        • Connect to OceanBase Cloud by using a Tomcat connection pool
        • Connect to OceanBase Cloud by using a C3P0 connection pool
        • Connect to OceanBase Cloud by using a Proxool connection pool
        • Connect to OceanBase Cloud by using a HikariCP connection pool
        • Connect to OceanBase Cloud by using a DBCP connection pool
        • Connect to OceanBase Cloud by using Commons Pool
        • Connect to OceanBase Cloud by using a Druid connection pool
    • Data table design
      • Table overview
      • Best practices
        • Unit 1: Best practices for optimizing storage structures and query performance
        • Unit 2: Best practices for creating special indexes
    • Export data
    • OceanBase data processing
    • Query acceleration
      • Statistics
      • Materialized views for query acceleration
      • Select a query parallelism level
    • Manage instances
      • Instance overview
      • Change configuration
      • Modify primary zone
      • Manage parameters
      • Backup and restore
        • Backup overview
        • Backup strategies
        • Immediate backup
        • Data backup
        • Initiate restore
        • Data restore
      • Monitor instance performance
        • Overview
        • Monitor the performance of databases in an instance
        • Monitor the performance of hosts in an instance
      • Manage major compactions
        • Initiate a major compaction
        • View compaction records
        • Update time for compactions
      • Database proxy
        • Overview
        • Manage database proxy
        • Direct load
      • Manage alerts
        • Overview
        • Manage alert rules
          • Create an alert rule
          • View an alert rule
          • Edit an alert rule
          • Delete an alert rule
        • View alert history
        • Manage alert templates
          • Create an alert template
          • View an alert template
          • Edit an alert template
          • Copy an alert template
          • Delete an alert template
        • Manage muting rules
          • Create an alert muting rule
          • View an alert muting rule
          • Edit an alert muting rule
          • Delete an alert muting rule
        • Manage alert notification templates
          • Create an alert notification template
          • View an alert notification template
          • Edit an alert notification template
          • Copy an alert notification template
          • Delete an alert notification template
        • Manage alert contacts
          • Add an alert contact
          • Add an alert contact group
          • View an alert contact
          • Edit an alert contact
          • Delete an alert contact
          • Obtain a webhook URL
        • Monitoring metrics for alerts
      • Diagnostics
        • View performance monitoring data
        • Capacity diagnostics
        • Real-time diagnostics
          • SQL diagnostics
            • Top SQL
            • Slow SQL
            • Suspicious SQL
            • High-risk SQL
            • SQL details
            • SQL monitoring metrics list
          • Session management
            • Session management
          • Optimization management
            • Manage active outlines
            • View the optimization history
          • Request analysis
            • Request analysis
      • Stop and restart instances
      • Release instances
      • Manage databases and accounts
        • Create and manage accounts
        • Create a database
        • Manage databases
      • Manage tags
    • Data lifecycle management
      • Archive data
      • Clean up data
    • Performance diagnosis and tuning
      • Use the DBMS_XPLAN package for performance diagnostics
      • Use the GV$SQL_PLAN_MONITOR view for performance analysis
      • Views related to AP performance analysis
    • Performance testing
    • Product integration
    • Manage recycle Bin
      • View instance recycle bin
      • Manage databases and tables in recycle bin
        • Overview
        • Instance recycle bin
  • Work with Key-Value Instances
    • Try out Key-Value instances
      • Create an instance
      • Create a tenant
      • Create an account for a database user
      • OBKV HBase data operation examples
    • Use Table model
      • Create an instance
      • Manage instances
        • Manage instances
          • View the instance list
          • Instance overview
          • Stop and restart instances
          • Release an instance
        • Manage tenants
          • Create a tenant
          • Modify tenant specifications
          • Modify tenant names
          • Delete a tenant
          • Tenant overview
          • Resource isolation
            • Overview
            • Manage resource groups
              • Create a resource group
              • View a resource group
              • Edit a resource group
              • Delete a resource group
            • Manage isolation rules
              • Create an isolation rule
              • View isolation rules
              • Edit an isolation rule
              • Delete a quarantine rule
          • Monitor tenant performance
            • Overview
            • View performance and SQL monitoring details
            • View transaction monitoring details
            • View storage and cache monitoring details
            • OBKV-Table
            • Customize a monitoring dashboard for a tenant
          • Diagnostics
            • Top SQL
          • Manage tenant parameters
            • Manage tenant parameters
            • Parameters for tenants
          • Manage databases and accounts
            • Create and manage accounts
            • Create a database
            • Manage databases
          • Switch primary zone
        • Monitor instance performance
          • Overview
          • Monitor the performance of databases in an instance
          • Monitor multi-dimensional metrics of an instance
          • Monitor the performance of hosts in a cluster
          • Customize monitoring dashboards for an instance
        • Manage major compactions
          • Initiate major compactions
          • View compaction records
          • Update time for compactions
        • Manage instance parameters
          • Parameter management overview
          • Parameters for cluster instances
        • Change instance configurations
          • View history of configuration changes
          • Change configuration
          • Switch the deployment mode
        • Database proxy
          • Overview
          • Manage database proxy
        • Manage alerts
          • Overview
          • Manage alert rules
            • Create an alert rule
            • View an alert rule
            • Edit an alert rule
            • Delete an alert rule
          • View alert history
          • Manage alert templates
            • Create an alert template
            • View an alert template
            • Edit an alert template
            • Copy an alert template
            • Delete an alert template
          • Manage muting rules
            • Create an alert muting rule
            • View an alert muting rule
            • Edit an alert muting rule
            • Delete an alert muting rule
          • Manage alert contacts
            • Add an alert contact
            • Add an alert contact group
            • View an alert contact
            • Edit an alert contact
            • Delete an alert contact
            • Obtain a webhook URL
          • Monitoring metrics for alerts
        • Backup and restore
          • Backup overview
          • Backup strategies
          • Immediate backup
          • Data backup
          • Initiate restore
          • Data restore
        • Diagnostics
          • View performance monitoring data
          • Top SQL
          • Capacity diagnostics
          • Request analysis
        • Manage tags
        • Manage recycle Bin
          • View instance recycle bin
          • Manage databases and tables in recycle bin
            • Overview
            • Instance-level recycle bin
            • Tenant-level recycle bin
    • Use HBase model
      • OBKV-HBase Overview
      • Create an instance
      • Develop in HBase model
        • Connect to an instance by using the OBKV-HBase client
      • Manage instances
        • Manage instances
          • View the instance list
          • Instance overview
          • Stop and restart instances
          • Release an instance
        • Manage tenants
          • Create a tenant
          • Modify tenant specifications
          • Modify tenant names
          • Delete a tenant
          • Tenant overview
          • Resource isolation
            • Overview
            • Manage resource groups
              • Create a resource group
              • View a resource group
              • Edit a resource group
              • Delete a resource group
            • Manage isolation rules
              • Create an isolation rule
              • View isolation rules
              • Edit an isolation rule
              • Delete a quarantine rule
          • Monitor tenant performance
            • Overview
            • View performance and SQL monitoring details
            • View transaction monitoring details
            • View storage and cache monitoring details
            • OBKV-HBase
            • Customize a monitoring dashboard for a tenant
          • Diagnostics
            • Top SQL
          • Manage tenant parameters
            • Manage tenant parameters
            • Parameters for tenants
          • Manage databases and accounts
            • Create and manage accounts
            • Create a database
            • Manage databases
          • Switch primary zone
        • Monitor instance performance
          • Overview
          • Monitor the performance of databases in an instance
          • Monitor multi-dimensional metrics of an instance
          • Monitor the performance of hosts in a cluster
          • Customize monitoring dashboards for an instance
        • Manage major compactions
          • Initiate major compactions
          • View compaction records
          • Update time for compactions
        • Manage instance parameters
          • Parameter management overview
          • Parameters for cluster instances
        • Change instance configurations
          • View history of configuration changes
          • Change configuration
          • Switch the deployment mode
        • Database proxy
          • Overview
          • Manage database proxy
        • Manage alerts
          • Overview
          • Manage alert rules
            • Create an alert rule
            • View an alert rule
            • Edit an alert rule
            • Delete an alert rule
          • View alert history
          • Manage alert templates
            • Create an alert template
            • View an alert template
            • Edit an alert template
            • Copy an alert template
            • Delete an alert template
          • Manage muting rules
            • Create an alert muting rule
            • View an alert muting rule
            • Edit an alert muting rule
            • Delete an alert muting rule
          • Manage alert contacts
            • Add an alert contact
            • Add an alert contact group
            • View an alert contact
            • Edit an alert contact
            • Delete an alert contact
            • Obtain a webhook URL
          • Monitoring metrics for alerts
        • Backup and restore
          • Backup overview
          • Backup strategies
          • Immediate backup
          • Data backup
          • Initiate restore
          • Data restore
        • Diagnostics
          • View performance monitoring data
          • Top SQL
          • Capacity diagnostics
          • Request analysis
        • Manage tags
        • Manage recycle Bin
          • View instance recycle bin
          • Manage databases and tables in recycle bin
            • Overview
            • Instance-level recycle bin
            • Tenant-level recycle bin
      • Performance test
    • Connect Key-Value instances
      • Overview
      • Connect using a public IP address
  • Migrations
    • Data migration and import solutions
    • Data assessment and migration quick start
    • Assess compatibility
      • Overview
      • Perform online assessment
      • Perform offline assessment
      • Manage compatibility assessment tasks
        • View a compatibility assessment task
        • View and download a compatibility assessment report
        • Stop a compatibility assessment task
        • Delete a compatibility assessment task
      • Obtain files for upload
      • Configure PrivateLink
      • Add an IP address to an allowlist
    • Migrate data
      • Overview
      • Migrations specification
      • Purchase a data migration instance
      • Migrate data from a MySQL database to a MySQL-compatible tenant of OceanBase Database
      • Migrate data from a MySQL-compatible tenant of OceanBase Database to a MySQL database
      • Migrate data between OceanBase database tenants of the same compatibility mode
      • Migrate data between OceanBase database tenants of different compatibility modes
      • Migrate data from an Oracle database to an Oracle-compatible tenant of OceanBase Database
      • Migrate data from an Oracle-compatible tenant of OceanBase Database to an Oracle database
      • Configure a two-way synchronization task
      • Migrate data from an OceanBase database to a Kafka instance
      • Migrate data from a TiDB database to a MySQL-compatible tenant of OceanBase Database
      • Migrate incremental data from a MySQL-compatible tenant of OceanBase Database to a TiDB Database
      • Migrate data from a PostgreSQL database to an OceanBase database
      • Migrate incremental data from an OceanBase Database to a PostgreSQL database
      • Manage data migration tasks
        • View details of a data migration task
        • Rename a data migration task
        • View and modify migration objects
        • View and modify migration parameters
        • Configure alert monitoring
        • Manage data migration tasks by using tags
        • Start, stop, and resume a data migration task
        • Clone a data migration task
        • Terminate and release a data migration task
      • Features
        • Custom DML/DDL configurations
        • DDL synchronization scope
        • Use SQL conditions to filter data
        • Rename a migration object
        • Set an incremental synchronization timestamp
        • Instructions on schema migration
        • Configure and modify matching rules
        • Wildcard rules
        • Import migration objects
        • Download conflict data
        • Change a topic
        • Column filtering
        • Data formats
      • Authorize an Alibaba Cloud account
      • SQL statements for querying table objects
      • Online DDL tools
      • Create a trigger
      • Modify the log level of a self-managed PostgreSQL instance
      • Supported DDL statements for synchronization and their limitations
        • DDL synchronization from Aurora MySQL DB clusters to MySQL-compatible tenants of OceanBase Database
        • DDL synchronization from MySQL-compatible tenants of OceanBase Database to Aurora MySQL DB clusters
        • DDL synchronization between MySQL-compatible tenants of OceanBase Database
        • DDL synchronization from Oracle databases to Oracle-compatible tenants of OceanBase Database
        • DDL synchronization from Oracle-compatible tenants of OceanBase Database to Oracle databases
        • DDL synchronization between Oracle-compatible tenants of OceanBase Database
        • DDL synchronization from OceanBase databases to Kafka instances
    • Data subscription
      • Create a data subscription task
      • Manage data subscription tasks
        • View details of a data subscription task
        • Configure subscription information
        • Modify the name of a data subscription task
        • View and modify subscription objects
        • View data subscription parameters
        • Set up data subscription alerts
        • Start, stop, and resume data subscription tasks
        • Clone a data subscription task
        • Release a data subscription task
      • Manage private connections for data subscriptions
      • Configure consumer subscription
      • Message formats
    • Data validation
      • Overview
      • Create a data validation task
      • Manage data validation tasks
        • View details of a data validation task
        • View and modify validation objects
        • View and modify validation parameters
        • Manage data validation tasks with tags
        • Start, pause, and resume data validation tasks
        • Clone a data validation task
        • Release a data validation task
      • Features
        • Import validation objects
        • Rename the validation object
        • Filter objects by using SQL conditions
        • Configure the matching rules for the validation object
    • Assess performance
      • Overview
      • Obtain traffic files from a database instance
      • Create a full performance assessment task
      • Create an SQL file parsing task
      • Create an SQL file replay task
      • Manage performance assessment tasks
        • View the details of a performance assessment task
        • View a performance assessment report
        • Retry and stop a performance assessment task
        • Delete a performance assessment task
      • Obtain a database instance
      • Create an access key
    • Import data
      • Import data
      • Direct load
      • Supported file formats and encoding formats for Data Import
      • Sample data introduction
    • Binlog service
      • Overview
      • Purchase the Binlog service
      • Manage Binlog Service
        • View details of the Binlog service
        • Change configuration
        • Modify the auto-scaling strategy for storage space
        • Modify the elasticity strategy for compute units
        • Disable the Binlog service
  • Security
    • OceanBase Cloud account settings
      • Modify login password
      • Multi-factor authentication
      • Manage AccessKeys
      • Time zone settings
      • Manage cloud marketplace accounts
      • Account audit
    • Organizations and projects
      • Overview
      • Manage organization information
      • Project management
        • Manage projects
        • Cross-project bidirectional authorization
        • Subscribe to project messages
      • Manage members
      • Permissions for roles
      • Cost management
        • Overview
        • Cost details
        • Manage cost units
      • Operation audit
    • Database accounts and privileges
      • Account privileges
      • Authorize cloud vendor accounts
      • AWS KMS key management
      • Support access control
    • Security and encryption
      • Set allowlist groups
      • SSL encryption
      • Transparent Data Encryption (TDE)
    • Monitoring dashboard
    • Events
  • SQL Console
    • Overview
    • Access SQL Console
    • SQL editing and execution
    • PL compilation
    • Result set editing
    • Execution analysis
    • Database object management
      • Create a table
      • Create a view
      • Create a function
      • Create a stored procedure
      • Create a program package
      • Create a trigger
      • Create a type
      • Create a sequence
      • Create a synonym
    • Session variable management
    • Functional keys in SQL Console
  • Integrations
    • Overview
    • Schema evolution
      • Liquibase
      • Flyway
    • Data ingestion
      • Canal
      • dbt
      • Debezium
      • Flink
      • Glue
      • Informatica Cloud
      • Kafka
      • Maxwell
      • SeaTunnel
      • DataWorks
      • NiFi
    • SQL development
      • DataGrip
      • DBeaver
      • Navicat
      • TablePlus
    • Orchestration
      • DolphinScheduler
      • Linkis
      • Airflow
    • Visualization
      • Grafana
      • Power BI
      • Quick BI
      • Superset
      • Tableau
    • Observability
      • Datadog
      • Prometheus
    • Database management
      • Bytebase
    • AI
      • LlamaIndex
      • Dify
      • LangChain
      • Tongyi Qianwen
      • OpenAI
      • n8n
      • Trae
      • SpringAI
      • Cline
      • Cursor
      • Continue
      • Toolbox
      • CamelAI
      • Firecrawl
      • Hugging Face
      • Ollama
      • Google Gemini
      • Cloudflare Workers AI
      • Qoder
      • OpenCode
      • Claude Code
      • GitHub Copilot
      • Codex
      • Jina AI
      • Augment Code
      • Claude Code
      • Kiro
    • Development tools
      • Cloudflare Workers
      • Vercel
  • Best practices
    • Best practices for achieving high availability through cross-cloud active-active deployment
    • High availability through cross-cloud primary-standby databases (1:1)
    • High availability through cross-cloud primary-standby databases (1:n)
    • High host CPU usage
    • Best practices for read/write splitting in OceanBase Cloud
  • References
    • System architecture
    • System management
    • Database object management
    • Database design and specification constraints
    • SQL reference
    • System views
    • Parameters and system variables
    • Error codes
    • Performance tuning
    • Open API References
      • Overview
      • Service endpoints
      • Using API
      • Open APIs
        • Cluster management
          • DescribeInstances
          • DescribeInstance
          • CreateInstance
          • DeleteInstance
          • ModifyInstanceName
          • describe-node-options
          • StopCluster
          • StartCluster
          • ModifyInstanceSpec
          • DescribeInstanceTopology
          • DescribeReadonlyInstances
          • CreateReadonlyInstance
          • ModifyReadonlyInstanceSpec
          • ModifyReadonlyInstanceDiskSize
          • ModifyReadonlyInstanceNodeNum
          • DeleteReadonlyInstance
          • DescribeInstanceAvailableRoZones
          • DescribeInstanceParameters
          • UpdateInstanceParameters
          • DescribeInstanceParametersHistory
          • ModifyInstanceTagList
          • ModifyInstanceNodeNum
        • Tenant management
          • DescribeTenants
          • DescribeTenant
          • CreateTenants
          • DeleteTenants
          • ModifyTenantName
          • ModifyTenant
          • ModifyTenantUserDescription
          • ModifyTenantUserStatus
          • GetTenantCreateConstraints
          • ModifyTenantPrimaryZone
          • GetTenantCreateCpuConstraints
          • GetTenantCreateMemConstraints
          • GetTenantModifyCpuConstraints
          • GetTenantModifyMemConstraints
          • CreateTenantSecurityIpGroup
          • DescribeTenantSecurityIpGroups
          • ModifyTenantSecurityIpGroup
          • DeleteTenantSecurityIpGroup
          • DescribeTenantPrivateLink
          • DeletePrivatelinkConnection
          • CreatePrivatelinkService
          • ConnectPrivatelinkService
          • AddPrivatelinkServiceUser
          • BatchKillProcessList
          • DescribeProcessStatsComposition
          • DescribeTenantAvailableRoZones
          • DescribeTenantAddressInfo
          • ModifyTenantReadonlyReplica
          • DescribeTenantParameters
          • UpdateTenantParameters
          • DescribeTenantParametersHistory
          • ModifyTenantTagList
        • Tenant user management
          • CreateTenantUser
          • DescribeTenantUsers
          • DeleteTenantUsers
          • ModifyTenantUserPassword
          • ModifyTenantUserRoles
        • Database management
          • CreateDatabase
          • DescribeDatabases
          • DeleteDatabases
          • ModifyDatabaseUserRoles
        • Backup and restore
          • DescribeDataBackupSet
          • DescribeRestorableTenants
          • ModifyBackupStrategy
          • CreateTenantRestoreTask
          • CreateDataBackupTask
          • DescribeOneDataBackupSet
        • Database proxy management
          • CreateTenantAddress
          • CreateTenantSingleTunnelSLBAddress
          • DeleteTenantAddress
          • DescribeTenantAddress
          • ModifyOdpClusterSpec
          • ModifyTenantAddressPort
          • ModifyTenantAddressDomainPrefix
          • ConfirmPrivatelinkConnection
          • DescribeTenantAddressInfo
        • Monitoring management
          • DescribeTenantMetrics
          • DescribeMetricsData
          • DescribeNodeMetrics
        • Diagnostic management
          • DescribeOasTopSQLList
          • DescribeOasAnomalySQLList
          • DescribeOasSlowSQLList
          • DescribeOasSQLText
          • DescribeSqlAudits
          • DescribeOutlineBinding
          • DescribeSampleSqlRawTexts
          • DescribeSQLTuningAdvices
          • DescribeOasSlowSQLSamples
          • DescribeOasSQLTrends
          • DescribeOasSQLPlanGroup
        • Security management
          • CreateSecurityIpGroup
          • DescribeInstanceSSL
          • ModifyInstanceSSL
          • DescribeTenantEncryption
          • ModifyTenantEncryption
          • ModifySecurityIps
          • DeleteSecurityIpGroup
          • DescribeTenantSecurityConfigs
          • DescribeInstanceSecurityConfigs
        • Tag management
          • DescribeTags
          • CreateTags
          • UpdateTag
          • DeleteTag
        • Historical event management
          • DescribeOperationEvents
      • Differences between ApsaraDB for OceanBase APIs and OceanBase Cloud APIs
    • Download OBClient
      • Download OBClient
      • Download OceanBase Connector/J
      • Download client ODC
      • Download OceanBase Connector/ODBC
      • Download OBClient Libs
    • Metrics References
      • Cluster database
      • Cluster hosts
      • Binlog service
      • Cross-cloud network channel connection
      • Performance and SQL
      • Transactions
      • Storage and caching
      • Proxy database
      • Proxy host
    • ODC User Guide
      • What is ODC?
        • What is ODC?
        • Limitations
      • Quick Start
        • Client ODC
          • Overview
          • Install Client ODC
          • Use Client ODC
        • Web ODC
          • Overview
          • Use Web ODC
      • Data Source Management
        • Create a data source
        • Data sources and project collaboration
        • Database O&M
          • Session management
          • Global variable management
          • Recycle bin management
      • SQL Development
        • Edit and execute SQL statements
        • Perform PL compilation and debugging
        • Edit and export the result set of an SQL statement
        • Execution analysis
        • Generate test data
        • System settings
        • Database objects
          • Table objects
            • Overview
            • Create a table
          • View objects
            • Overview
            • Create a view
            • Manage views
          • Materialized view objects
            • Overview
            • Create a materialized view
            • Manage materialized views
          • Function objects
            • Overview
            • Create a function
            • Manage functions
          • Stored procedure objects
            • Overview
            • Create a stored procedure
            • Manage stored procedures
          • Sequence objects
            • Overview
            • Create a sequence
            • Manage sequences
          • Package objects
            • Overview
            • Create a program package
            • Manage program packages
          • Trigger objects
            • Overview
            • Create a trigger
            • Manage triggers
          • Type objects
            • Overview
            • Create a type
            • Manage types
          • Synonym objects
            • Overview
            • Create a synonym
            • Manage synonyms
      • Import and Export
        • Import schemas and data
        • Export schemas and data
      • Database Change Management
        • User Permission Management
          • Users and roles
          • Automatic authorization
          • User permission management
        • Project collaboration management
        • Risk levels, risk identification rules, and approval processes
        • SQL check specifications
        • SQL window specification
        • Database change management
        • Batch database change management
        • Online schema changes
        • Synchronize shadow tables
        • Schema comparison
      • Data Lifecycle Management
        • Partitioning Plan Management
          • Manage partitioning plans
          • Set partitioning strategies
          • Examples
        • SQL plan task
      • Data Desensitization and Auditing
        • Desensitize data
        • Operation records
      • Notification Management
        • Overview
        • View notification records
        • Manage Notification Channel
          • Create a notification channel
          • View, edit, and delete a notification channel
          • Configure a custom channel
        • Manage notification rules
      • Best Practices
        • Tips for SQL development
        • Explore ODC team workspaces
        • Understanding real-time SQL diagnostics for OceanBase AP
        • OceanBase historical database solutions
        • ODC SQL check for automatic identification of high-risk operations
        • Manage and modify sharded databases and tables via ODC
        • Data masking and control practices
        • Enterprise-level control and collaboration: Safeguard every database change
    • Data Development
      • Overview
      • Workspace management
      • Worksheet management
      • Compute node pool management
      • Workflow management
      • Dashboard management
      • Manage Git repositories
      • SQL development
        • SQL editing and execution
        • Result set editing
        • Execution analysis
        • Database object management
          • Create a table
          • Create a view
          • Create a function
          • Create a stored procedure
        • Session variable management
        • Git integration
      • Sample datasets
      • Data development terms
  • Manage Billing
    • Access billing
    • View monthly bills
    • View payment details
    • View orders
    • Use vouchers for payment
    • View invoices
  • Legal Agreements
    • OceanBase Cloud Services Agreement
    • Service Level Agreement
    • OceanBase Data Processing Addendum
    • Service Level Agreement for OceanBase Cloud Migration Service

Download PDF

Release notes for 2026 Release notes for 2025 Release notes for 2024 Release history Data development module deprecation notice Optimization of Backup and Restore commercialization strategy Cross-AZ data transfer billing (OceanBase Cloud on AWS) Database Proxy pricing update AWS instance pricing adjustment Overview Management mode and scenarios High availability with cross-cloud active-active architecture High availability with cross-cloud primary-standby databases Multi-level caching in shared storage Multi-layer online scaling and on-demand adjustment Deployment modes Storage architecture Product specifications Overview Backup and restore billing SQL audit billing Migrations billing Database proxy billing Binlog service billing Overview of OceanBase Cloud support plans Read-only replica billing Supported database versions Get started with a transactional instance Get started with an analytical instance Get started with a Key-Value instance Overview Overview Create via OceanBase Cloud official website Create via AWS Marketplace Create via GCP Marketplace Create via Huawei Cloud Marketplace Create via Alibaba Cloud Marketplace Create via Azure Marketplace Release an instance Manage tags Manage JVM-dependent services Create a data source Manage data sources Archive data Clean up data Instance recycle bin Overview Core features Create an instance Overview Table overview Export data OceanBase data processing Statistics Materialized views for query acceleration Select a query parallelism level Instance overview Change configuration Modify primary zone Manage parameters Stop and restart instances Release instances Manage tags Archive data Clean up data Use the DBMS_XPLAN package for performance diagnostics Use the GV$SQL_PLAN_MONITOR view for performance analysis Views related to AP performance analysis Performance testing Product integration View instance recycle bin Create an instance Create a tenant Create an account for a database user OBKV HBase data operation examples Create an instance OBKV-HBase Overview Create an instance Performance test Overview Connect using a public IP address Data migration and import solutions Data assessment and migration quick start Overview Perform online assessment Perform offline assessment Obtain files for upload Configure PrivateLink Add an IP address to an allowlist Overview Migrations specification Purchase a data migration instance Migrate data from a MySQL database to a MySQL-compatible tenant of OceanBase Database Migrate data from a MySQL-compatible tenant of OceanBase Database to a MySQL database Migrate data between OceanBase database tenants of the same compatibility mode Migrate data between OceanBase database tenants of different compatibility modes Migrate data from an Oracle database to an Oracle-compatible tenant of OceanBase Database Migrate data from an Oracle-compatible tenant of OceanBase Database to an Oracle database Configure a two-way synchronization task Migrate data from an OceanBase database to a Kafka instance
OceanBase logo

The Unified Distributed Database for the AI Era.

Follow Us
Products
OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
Resources
DocsBlogLive DemosTraining & Certification
Company
About OceanBaseTrust CenterLegalPartnerContact Us
Follow Us

© OceanBase 2026. All rights reserved

Cloud Service AgreementPrivacy PolicySecurity
Contact Us
Document Feedback
  1. Documentation Center
  2. OceanBase Cloud
iconOceanBase Cloud

    Monitor OceanBase Cloud with Prometheus

    Last Updated:2026-04-08 05:58:26  Updated
    share
    What is on this page
    Background information
    Prerequisites
    Procedure
    View database monitoring data in Prometheus
    Configuration example
    Dynamically obtain instances under the account (recommended)
    Collect specified clusters under the account
    Collect multiple accounts
    List of metrics
    Host metrics
    Tenant database

    folded

    share

    This topic describes how to monitor OceanBase Cloud by using OBCloud Exporter and Prometheus.

    Background information

    OBCloud Exporter is a database data processing tool provided by OceanBase Cloud. You can use this tool to complete database authentication and data acquisition. You can then use the local Prometheus tool to monitor the database.

    Prerequisites

    1. Java 8 or later is deployed.

    2. Docker is deployed.

    Procedure

    Run Prometheus to monitor OceanBase Cloud
    Deploy Prometheus by using Docker
    Deploy Prometheus to monitor OceanBase Database by using Kubernetes
    1. Download OBCloud Exporter.

      Note

      Currently, OBCloud Exporter is not available for direct download. Please contact technical support for assistance.

    2. Deploy OBCloud Exporter.

      1. Extract the OBCloud Exporter installation package to the /opt/obcloud-exporter directory.

        mkdir /opt/obcloud-exporter
        unzip Obcloud_Exporter.zip -d /opt/obcloud-exporter
        

        After extraction, the directory contains the following files:

        • Dockerfile: the Docker container build file.
        • muticloud_metric_config.yaml: the metrics configuration file, which does not need to be modified by default.
        • application.yaml: the collection configuration file.
        • obcloud-exporter-1.0-SNAPSHOT-jar-with-dependencies.jar: the OBCloud Exporter program.
        • readme.md: the project description.
      2. Edit the application.yaml configuration file.

        muti_monitor:
          ## Credentials
          credential:
            access_key_id: xxx
            access_key_secret: xx
            end_point: xxx
          metric_meta_auto_refresh: false
          default_metric:
            - sql_all_rt
            - sql_delete_rt
          ## Instance information
          instances:
            instance_id: xxx
            tenant_id: xxx
            instance_type: tenant
            metrics:
              - sql_all_rt
              - sql_delete_rt
        

        Parameter description:

        Parameter Required Description Example value
        access_key_id Yes The authentication information. Go to My Account > Access Key to obtain it. For more information, see Manage Access Keys. ************
        access_key_secret Yes The authentication information. Go to My Account > Access Key to obtain it. For more information, see Manage Access Keys. ************
        end_point Yes The endpoint. For more information, see Service Endpoints. api-cloud.oceanbase.com
        metric_meta_auto_refresh No Whether to periodically refresh the metric indicators. Default value: false. false
        default_metric No The default metric. When no instances are specified for collection, you can use default_metric to control the collection of specified metrics for all instances in the account. - sql_all_rt
        instance_id No The cluster instance ID or shared instance ID. You can specify multiple cluster and shared instance IDs separated by hyphens (-). ob************
        tenant_id No
        • To query a specified tenant under a cluster, you must configure tenant_id. If instance_type is cluster, you can omit this parameter.
        • If the instance is a shared instance, you must configure the same instance ID for both instance_id and tenant_id, and specify instance_type as tenant.
        t************
        instance_type No The instance type:
        • cluster: the monitoring metrics of the cluster host. It automatically collects the monitoring data of all tenants under the cluster.
        • tenant: the monitoring metrics of the tenant database.
        tenant
        metrics No The metric information. By default, all metrics are collected. For more information, see the Monitoring Metrics section.

        Note

        Collecting too many metrics may affect the collection speed. In appropriate cases, you can split them into multiple exporters.

        - sql_all_rt
    3. Run OBCloud Exporter with Java.

      1. You can use the following command to start OBCloud Exporter by specifying the configuration file.

        java -Dconfig=/xx/application.yaml -jar obcloud-exporter-1.0-SNAPSHOT-jar-with-dependencies.jar --spring.config.location=/xx/application.properties
        
        • -Dconfig: (Optional) specifies the monitoring configuration file to start.

        • --spring.config.location: (Optional) specifies the location of the program. By default, the Spring Boot actuator component is integrated and enabled, with the default port set to 8082. You can configure it as needed and access it based on the configured port.

          The default configuration is as follows:

          server.port=-1
          management.server.port=8082
          management.endpoints.web.exposure.include=health,info
          management.endpoint.health.show-details=always
          

        Common example:

        # Start OBCloud Exporter with the default configuration.
        java -jar obcloud-exporter-1.0-SNAPSHOT-jar-with-dependencies.jar
        # Start OBCloud Exporter with the environment configuration variable.
        java -jar obcloud-exporter-1.0-SNAPSHOT-jar-with-dependencies.jar --spring.config.location=/xx/application.properties
        # Start OBCloud Exporter with the monitoring configuration file.
        java -Dconfig=/xx/application.yaml -jar obcloud-exporter-1.0-SNAPSHOT-jar-with-dependencies.jar
        # Start OBCloud Exporter with the monitoring configuration file and the environment variable configuration.
        java -Dconfig=/xx/application.yaml -jar obcloud-exporter-1.0-SNAPSHOT-jar-with-dependencies.jar --spring.config.location=/xx/application.properties
        
      2. Verify the deployment result by accessing the 9400 port of the corresponding IP address in a browser and checking whether the monitoring data is obtained.

        Note

        Actually, access the service based on the configured IP address and port.

    4. Download Prometheus. Go to the official website and download the required version of the Prometheus installation package. For example, the following describes how to download the 2.50.1 Linux version.

      wget https://github.com/prometheus/prometheus/releases/download/v2.50.1/prometheus-2.50.1.linux-amd64.tar.gz
      
    5. Deploy Prometheus.

      1. Decompress and install the Prometheus software. The installation directory is /opt/prometheus.

        mkdir -p /opt/prometheus
        tar -zxvf prometheus-2.50.1.linux-amd64.tar.gz -C /opt/prometheus --strip-components=1
        
      2. Transfer the prometheus.yml configuration file to the working directory and edit it as needed.

        mv /opt/prometheus/prometheus.yml /usr/local/bin/
        vi /usr/local/bin/prometheus.yml
        

        Modify the following parameters:

        global:
          scrape_interval: 30s
          scrape_timeout: 20s
        
        scrape_configs:
          - job_name: "nodes"
            static_configs:
            - targets: ['localhost:9400']
        
      3. Create the Prometheus service file and the related data storage directory.

        mkdir /var/lib/prometheus/
        sudo vim /etc/systemd/system/Prometheus.service
        

        Fill in the following content and save it.

        Note

        The User and Group parameters are optional. For more information about how to set them, see the next step Set the username and user group.

        [Unit]
        Description=Prometheus
        Wants=network-online.target
        After=network-online.target
        
        [Service]
        User=prometheus
        Group=prometheus
        Restart=on-failure
        ExecStart=/opt/prometheus/prometheus \
              --config.file /usr/local/bin/prometheus.yml \
              --storage.tsdb.path /var/lib/prometheus/
        
        [Install]
        WantedBy=multi-user.target
        
      4. (Optional) Set the username and user group. If the user or user group specified in the previous step is not configured, you can skip this step.

        sudo groupadd prometheus
        sudo useradd -r -g prometheus prometheus
        sudo chown -R prometheus:prometheus /opt/prometheus /var/lib/prometheus
        sudo chmod -R 755 /opt/prometheus /var/lib/prometheus
        
    6. Start the Prometheus service.

      # Load the new systemd configuration.
      sudo systemctl daemon-reload
      
      # Start the Prometheus service.
      sudo systemctl start prometheus
      
      # Set the service to start automatically.
      sudo systemctl enable prometheus
      
      # Check the service status.
      sudo systemctl status prometheus
      
    7. Confirm whether the Prometheus service is started.

      sudo netstat -ntlp | grep 9090
      
    1. Download OBCloud Exporter.

      Note

      Currently, OBCloud Exporter cannot be directly downloaded. Contact Technical Support for assistance.

    2. Deploy OBCloud Exporter.

      1. Decompress the OBCloud Exporter installation package. The installation directory is /opt/obcloud-exporter.

        mkdir /opt/obcloud-exporter
        unzip Obcloud_Exporter.zip -d /opt/obcloud-exporter
        

        The decompressed directory contains the following files:

        • Dockerfile: the Docker container build file.
        • muticloud_metric_config.yaml: the metric configuration file. This file does not need to be modified by default.
        • application.yaml: the collection configuration file.
        • obcloud-exporter-1.0-SNAPSHOT-jar-with-dependencies.jar: the OBCloud Exporter program.
        • readme.md: the project description.
      2. Edit the application.yaml configuration file.

        muti_monitor:
          ## Credentials
          credential:
            access_key_id: xxx
            access_key_secret: xx
            end_point: xxx
          metric_meta_auto_refresh: false
          default_metric:
            - sql_all_rt
            - sql_delete_rt
          ## Instance information
          instances:
            instance_id: xxx
            tenant_id: xxx
            instance_type: tenant
            metrics:
              - sql_all_rt
              - sql_delete_rt
        

        The following table describes the parameters.

        Parameter Required Description Example value
        access_key_id Yes The authentication information. For more information, see Manage AccessKeys. ************
        access_key_secret Yes The authentication information. For more information, see Manage AccessKeys. ************
        end_point Yes The endpoint. For more information, see Service access endpoints. api-cloud.oceanbase.com
        metric_meta_auto_refresh No Specifies whether to automatically refresh the metrics. Default value: false. false
        default_metric No The default metric. If no instances are specified, you can use this parameter to specify the metrics to be collected for all instances in the account. - sql_all_rt
        instance_id No The ID of the cluster instance or shared instance. You can specify multiple cluster instances or shared instances. Separate them with hyphens (-). ob************
        tenant_id No
        • To query the metrics of a specified tenant in a cluster, you must specify the tenant_id parameter. If you specify the instance_type parameter as cluster, you do not need to specify the tenant_id parameter.
        • If the instance is a shared instance, you must specify the instance_id and tenant_id parameters as the same instance ID and set the instance_type parameter to tenant.
        t************
        instance_type No The instance type. Valid values:
        • cluster: the metrics of the cluster. The metrics of all tenants in the cluster are automatically collected.
        • tenant: the metrics of the tenant.
        tenant
        metrics No The metrics to be collected. Default value: all metrics. For more information, see the Metrics section in this topic.

        Note

        Collecting too many metrics may affect the collection speed. In this case, you can split the metrics into multiple exporters.

        - sql_all_rt
    3. Start the OBCloud Exporter by using Docker.

      1. In the /opt/obcloud-exporter directory, build the obcloud-exporter container.

        cd /opt/obcloud-exporter
        docker build -t obcloud-exporter:1.0 .
        
      2. Start the container or map an external configuration file.

        1. Start the Docker container directly.

          docker run -itd -p9400:9400 --name obcloud-exporter obcloud-exporter:1.0
          
        2. Start the Docker container by mapping an external configuration file.

          docker run -itd -p9400:9400 -v /opt/obcloud-exporter/application.yaml:/app/application.yaml --name obcloud-exporter obcloud-exporter:1.0
          
    4. Verify the deployment result by using a browser. Access the 9400 port of the corresponding IP address to confirm whether the monitoring data is obtained.

      Note

      When you use the service, access the endpoint and port that you have configured.

    5. Create a Prometheus configuration file, prometheus.yml.

      vi /usr/local/bin/prometheus.yml
      

      Edit the content of the configuration file:

      global:
        scrape_interval: 30s
        evaluation_interval: 30s
      
      scrape_configs:
        - job_name: obcloud-exporter-test
          static_configs:
              # The IP address and port of the local server
            - targets: ['obcloud-exporter:9400']
              labels:
                instance: obcloud-exporter
      
    6. Start the Prometheus service.

      docker run  -d \
        -p 9090:9090 \
        -v /usr/local/bin/prometheus.yml:/etc/prometheus/prometheus.yml  \
        --link obcloud-exporter  \
        --name prometheus \
        prom/prometheus
      
    7. Check whether the Prometheus service is started.

      sudo netstat -ntlp | grep 9090
      
    1. Download OBCloud Exporter.

      Note

      Currently, you cannot directly download OBCloud Exporter. Contact Technical Support for more information.

    2. Decompress the OBCloud Exporter installation package and save it to the /opt/obcloud-exporter directory.

      mkdir /opt/obcloud-exporter
      unzip Obcloud_Exporter.zip -d /opt/obcloud-exporter
      

      After decompression, the directory contains the following files:

      • Dockerfile: the Docker container build file.
      • muticloud_metric_config.yaml: the metric configuration file. You do not need to modify this file.
      • application.yaml: the collection configuration file.
      • obcloud-exporter-1.0-SNAPSHOT-jar-with-dependencies.jar: the OBCloud Exporter program.
      • readme.md: the project description.
    3. Package and upload the OBCloud Exporter image file.

      1. In the /opt/obcloud-exporter directory, build the obcloud-exporter container.

        cd /opt/obcloud-exporter
        docker build -t obcloud-exporter:1.0 .
        
      2. Log in to the image repository of the cloud service provider. For example, log in to the Alibaba Cloud image repository. You can modify the image repository as needed.

        docker login registry.cn-hangzhou.aliyuncs.com
        Username: ****@test.com
        Password:
        
      3. Change the image name to the name of the image repository.

        docker tag obcloud-exporter:1.0 registry.cn-hangzhou.aliyuncs.com/obcloud-exporter:1.0
        
      4. docker push uploads the image to the image repository.

        docker push registry.cn-hangzhou.aliyuncs.com/obcloud-exporter:1.0
        
    4. Edit the deployment.yml file on the local server.

      1. Create the deployment.yml file.

        vi /opt/obcloud-exporter/deployment.yml
        
      2. Edit the file:

        apiVersion: v1
        kind: ConfigMap
        metadata:
          name: exporter-config
          namespace: default
          labels: {}
          annotations: {}
        data:
          application.yaml: |
            ## Monitor name
            aliyun_monitor:
              ## Credentials
              credential:
                access_key_id: xxx
                access_key_secret: xx
                ## Endpoint
                end_point: xxx
              ## Whether to automatically refresh metric metadata. Default is false (currently only supported for Alibaba Cloud).
              metric_meta_auto_refresh: false
              ## Default metrics. If no instances are configured, you can specify the metrics to collect using default_metric.
              default_metric:
                - sql_all_rt
                - sql_delete_rt
              instances:
                - ## Instance ID
                  instance_id: xxx
                  ## Instance type: cluster (host-level metrics, including tenant-level metrics) or tenant (database-level metrics).
                  instance_type: cluster
                  ## Metrics to collect
                  metrics:
                    - sql_all_rt
                    - sql_delete_rt
                - ## Instance ID
                  instance_id: xxx
                  ## Specify the tenant ID when querying a tenant under a cluster. This parameter is optional when instance_type is set to cluster.
                  ## For a tenant instance, both instance_id and tenant_id must be set to the same instance ID, and instance_type must be set to tenant.
                  tenant_id: xxx
                  ## Instance type: cluster (host-level metrics, including tenant-level metrics) or tenant (database-level metrics).
                  instance_type: tenant
                  ## Metrics to collect
                  metrics:
                    - sql_all_rt
                    - sql_delete_rt
            ## Monitor name
            muti_monitor:
              ## Credentials
              credential:
                access_key_id: xxx
                access_key_secret: xx
                ## Endpoint
                end_point: xxx
                ## Whether to automatically refresh metric metadata. Default is false (currently only supported for Alibaba Cloud).
                metric_meta_auto_refresh: false
              instances:
                - ## Instance ID
                  instance_id: xxx
                  ## Specify the tenant ID when querying a tenant under a cluster. This parameter is optional when instance_type is set to cluster.
                  ## For a tenant instance, both instance_id and tenant_id must be set to the same instance ID, and instance_type must be set to tenant.
                  tenant_id: xxx
                  ## Instance type: cluster (host-level metrics, including tenant-level metrics) or tenant (database-level metrics).
                  instance_type: tenant
                  metrics:
                    - sql_all_rt
                    - sql_delete_rt
        ---
        apiVersion: apps/v1
        kind: Deployment
        metadata:
          name: obcloud-exporter
          namespace: default
        spec:
          replicas: 1
          selector:
            matchLabels:
              app: obcloud-exporter
          template:
            metadata:
              labels:
                app: obcloud-exporter
            spec:
              containers:
                - name: exporter
                  image: registry.cn-hangzhou.aliyuncs.com/obcloud-exporter:1.0
                  env:
                  - name: TZ
                    value: "Asia/Shanghai"  # Set the timezone
                  command: ["java", "-jar", "/app/obcloud-exporter.jar"]
                  imagePullPolicy: IfNotPresent
                  livenessProbe:
                    httpGet:
                      path: /actuator/health
                      port: 8082
                    initialDelaySeconds: 15
                    periodSeconds: 20
                  readinessProbe:
                    httpGet:
                      path: /
                      port: 9400
                    initialDelaySeconds: 5
                    periodSeconds: 10
                  volumeMounts:
                    - name: config-volume
                      mountPath: /app/application.yaml
                      subPath: application.yaml
              volumes:
                - name: config-volume
                  configMap:
                    name: exporter-config
        ---
        apiVersion: v1
        kind: Service
        metadata:
          name: exporter-service
          namespace: default
        spec:
          selector:
            app: obcloud-exporter
          ports:
            - protocol: TCP
              port: 9400
              targetPort: 9400
          type: ClusterIP
        

        Parameter description:

        Parameter Required Description Example value
        access_key_id Yes The authentication information. For more information, see Manage access keys. ************
        access_key_secret Yes The authentication information. For more information, see Manage access keys. ************
        end_point Yes The endpoint. For more information, see Service endpoints. api-cloud.oceanbase.com
        metric_meta_auto_refresh No Specifies whether to periodically refresh the metric. Default value: false. false
        default_metric No The default metric. If no instances are specified, you can use this parameter to specify the metric to be collected for all instances. - sql_all_rt
        instance_id No The ID of the cluster instance or shared instance. You can specify multiple cluster instances or shared instances. Separate them with hyphens (-). ob************
        tenant_id No
        • To query the specified tenant in the cluster, you must specify the tenant_id. If you specify the instance_type as cluster, you can omit the tenant_id.
        • If the instance is a shared instance, you must specify the same instance ID for both the instance_id and tenant_id parameters, and set the instance_type to tenant.
        t************
        instance_type No The instance type. Valid values:
        • cluster: the cluster-level metrics. The metrics of all tenants in the cluster are automatically collected.
        • tenant: the tenant-level metrics.
        tenant
        metrics No The metric information. By default, all metrics are collected. For more information about the metrics, see the Monitoring metrics section in this topic.

        Note

        Collecting too many metrics may affect the collection speed. In this case, you can split the metrics into multiple exporters.

        - sql_all_rt
      3. After you save and update the deployment file, run the following command to apply the changes:

        kubectl apply -f /opt/obcloud-exporter/deployment.yml
        
    5. Create a Prometheus configuration file named prometheus.yml.

      vi /opt/obcloud-exporter/prometheus.yml
      

      Edit the content of the configuration file:

      apiVersion: v1
      kind: ConfigMap
      metadata:
        name: prometheus-config
        namespace: default
      data:
        prometheus.yaml: |
          global:
            scrape_interval: 60s
            scrape_timeout: 55s
          scrape_configs:
          - job_name: "exporter"
            static_configs:
            - targets: ['exporter-service:9400']
      ---
      apiVersion: apps/v1
      kind: Deployment
      metadata:
        name: prometheus
        namespace: default
      spec:
        selector:
          matchLabels:
            app: prometheus
        template:
          metadata:
            labels:
              app: prometheus
          spec:
            volumes:
              - name: config-volume
                configMap:
                  name: prometheus-config
            containers:
              - image: prom/prometheus:v2.35.0
                name: prometheus
                args:
                  - "--config.file=/etc/prometheus/prometheus.yaml"
                  - "--storage.tsdb.path=/prometheus" # Specifies the TSDB data path.
                  - "--storage.tsdb.retention.time=15d"
                  - "--web.enable-lifecycle" # Enables hot updates. You can directly execute the command at http://localhost:30000/-/reload to take effect.
                ports:
                  - containerPort: 9090
                    name: http
                securityContext:
                  runAsUser: 0
                volumeMounts:
                  - mountPath: "/etc/prometheus"
                    name: config-volume
      ---
      apiVersion: v1
      kind: Service
      metadata:
        name: prometheus
        namespace: default
      spec:
        selector:
          app: prometheus
        type: NodePort
        ports:
          - name: web
            port: 9090
            nodePort: 30000 # Specifies the default node port.
            targetPort: http
      
    6. Start the Prometheus service.

      kubectl apply -f /opt/obcloud-exporter/prometheus.yml
      

    View database monitoring data in Prometheus

    Log in to the Prometheus console at http://localhost:9090/targets and view the monitoring data.

    l

    Configuration example

    Dynamically obtain instances under the account (recommended)

    • Collect specified metrics

      ## Monitor name
      monitor:
        ## Credentials
        credential:
          access_key_id: xxx
          access_key_secret: xx
          ## Endpoint
          end_point: xxx
        ## Default metrics, when no instances are configured, you can specify the metrics to collect by using default_metric.
        default_metric:
          - sql_all_rt
          - sql_delete_rt
      
    • Collect all metrics

      ## Monitor name
      monitor:
        ## Credentials
        credential:
          access_key_id: xxx
          access_key_secret: xx
          ## Endpoint
          end_point: xxx
      

    Collect specified clusters under the account

    • Collect specified metrics. You can choose instance_type as needed.

      ## Monitor name
      monitor:
        ## Credentials
        credential:
          access_key_id: xxx
          access_key_secret: xx
          ## Endpoint
          end_point: xxx
        instances:
        - ## Instance ID
            instance_id: xxx
            tenant_id: xxx
            instance_type: tenant
            metrics:
              - sql_all_rt
              - sql_delete_rt
      
    • Collect all metrics. When instance_type is set to cluster, both host metrics of the cluster and tenant database metrics of the cluster are collected.

      ## Monitor name
      monitor:
        ## Credentials
        credential:
          access_key_id: xxx
          access_key_secret: xx
          end_point: xxx
        instances:
            instance_id: xxx
            instance_type: cluster
      
    • Collect all tenant database metrics. When instance_type is set to tenant, only tenant database metrics of the specified tenant are collected.

      ## Monitor name
      monitor:
        ## Credentials
        credential:
          access_key_id: xxx
          access_key_secret: xx
          end_point: xxx
        instances:
            instance_id: xxx
            tenant_id: xx
            instance_type: tenant
      

    Collect multiple accounts

    ## Monitor name
    aliyun:
      ## Credentials
      credential:
        access_key_id: xxx
        access_key_secret: xx
        end_point: xxx
    ## Monitor name
    muti:
      ## Credentials
      credential:
        access_key_id: xxx
        access_key_secret: xx
        ## Endpoint
        end_point: xxx
    

    List of metrics

    Host metrics

    Metric Description Unit
    load1 The average load of the system in the last minute. -
    load5 The average load of the system in the last 5 minutes. -
    load15 The average load of the system in the last 15 minutes. -
    cpu_percent The CPU usage. %
    memory_buffers The size of the kernel buffer cache. GiB
    memory_cached The size of memory used for caching. GiB
    memory_free The size of available physical memory. GiB
    memory_used The percentage of physical memory used. %
    net_recv The amount of data received per second. MiB
    net_send The amount of data sent per second. MiB
    net_throughput The network throughput. MiB
    ntp_offset_milliseconds The offset of the NTP clock. ms
    io_read The number of read operations per second. times/s
    io_write The number of write operations per second. times/s
    io_time The I/O time. ms
    io_read_time The average I/O read time. ms
    io_write_time The average I/O write time. ms
    io_byte The average I/O data volume per second. MiB
    io_read_byte The data volume of each read operation. MiB
    io_write_byte The data volume of each write operation. MiB
    ob_data_disk_percent The usage of the OB data disk. %
    ob_clog_disk_percent The usage of the OB log disk. %
    ob_data_disk_used_size The disk usage. GiB
    ob_process_exists The status of the OB process. -
    ob_clog_io The average number of I/O operations per second on the OB log disk. times/s
    ob_clog_io_read The average number of read I/O operations per second on the OB log disk. times/s
    ob_clog_io_write The average number of write I/O operations per second on the OB log disk. times/s
    ob_clog_io_read_time The average I/O read time. ms
    ob_clog_io_time The average I/O time. ms
    ob_clog_io_write_time The average I/O write time. ms
    ob_clog_io_byte The average I/O data volume per second on the OB log disk. MiB
    ob_clog_io_read_byte The I/O data volume read per second on the OB log disk. MiB
    ob_clog_io_write_byte The I/O data volume written per second on the OB log disk. MiB
    ob_clog_io_util The I/O busy ratio of the OB log disk. %
    ob_data_io The average number of I/O operations per second on the OB data disk. times/s
    ob_data_io_read The average number of read I/O operations per second on the OB data disk. times/s
    ob_data_io_write The average number of write I/O operations per second on the OB data disk. times/s
    ob_data_io_read_time The average I/O read time. ms
    ob_data_io_time The average I/O time. ms
    ob_data_io_write_time The average I/O write time. ms
    ob_data_io_byte The average I/O data volume per second on the OB data disk. MiB
    ob_data_io_read_byte The I/O data volume read per second on the OB data disk. MiB
    ob_data_io_write_byte The I/O data volume written per second on the OB data disk. MiB
    ob_data_io_util The I/O busy ratio of the OB data disk. %

    Tenant database

    Performance and SQL

    Metric Name Description Unit
    sql_all_count The number of SQL statements processed per second. times/s
    sql_delete_count The number of Delete statements processed per second. times/s
    sql_insert_count The number of Insert statements processed per second. times/s
    sql_other_count The number of other statements such as DDL, DCL, and DTL statements processed per second. times/s
    sql_replace_count The number of Replace statements processed per second. times/s
    sql_select_count The number of Select statements processed per second. times/s
    sql_update_count The number of Update statements processed per second. times/s
    sql_all_rt The average processing time of an SQL statement. ms
    sql_delete_rt The average processing time of a Delete statement. ms
    sql_insert_rt The average processing time of an Insert statement. ms
    sql_other_rt The average processing time of other statements such as DDL, DCL, and DTL statements. ms
    sql_replace_rt The average processing time of a Replace statement. ms
    sql_select_rt The average processing time of a Select statement. ms
    sql_update_rt The average processing time of an Update statement. ms
    active_session The number of active sessions. -
    all_session The number of sessions. -
    sql_distributed_count The number of distributed execution plans processed per second. times/s
    sql_local_count The number of local executions processed per second. times/s
    sql_remote_count The number of remote execution plans processed per second. times/s
    system_event_internal_total_waits The number of internal wait events per second. times/s
    system_event_io_total_waits The number of I/O wait events per second. times/s
    system_event_latch_total_waits The number of latch wait events per second. times/s
    system_event_other_total_waits The number of other wait events per second. times/s
    system_event_row_lock_wait_total_waits The number of lock wait events per second. times/s
    system_event_sync_rpc_total_waits The number of synchronous RPC wait events per second. times/s
    wait_event_count The number of wait events per second. times/s
    wait_event_rt The average wait time. ms
    request_dequeue_count The number of requests dequeued from the processing queue per second. times/s
    request_enqueue_count The number of requests enqueued to the processing queue per second. times/s
    request_queue_time The average wait time of an SQL request in the wait queue. μs
    ob_cpu_percent The CPU usage of the tenant threads. -
    memstore_percent The percentage of MEMStore usage. -
    rpc_packet_in_rt The average receive time of an RPC packet. μs
    rpc_packet_out_rt The average send time of an RPC packet. μs
    rpc_packet_in The throughput of RPC packets received per second. byte
    rpc_packet_out The throughput of RPC packets sent per second. byte
    opened_cursors_count The number of open cursors. -
    uptime The available time. s

    Transactions

    Metric Name Description Unit
    transaction_commit_count The number of committed transactions per second. times/s
    transaction_count TPS times/s
    transaction_rollback_count The number of rolled back transactions per second. times/s
    transaction_timeout_count The number of timed out transactions per second. times/s
    transaction_commit_rt The average commit time of a transaction. ms
    transaction_rollback_rt The average rollback time of a transaction. ms
    transaction_rt The average processing time of a transaction on the server. ms
    trans_commit_log_count The number of transaction logs committed per second. times/s
    clog_trans_log_total_size The size of transaction logs committed per second. byte
    memstore_write_lock_fail_count The number of write lock wait failures per second. times/s
    memstore_write_lock_succ_count The number of write lock wait successes per second. times/s
    memstore_write_lock_wait_time The average write lock wait time. μs
    transaction_multi_partition_count The number of distributed transactions per second. times/s
    transaction_single_partition_count The number of regular transactions per second. times/s
    trans_commit_log_sync_rt The average network synchronization time of a transaction log. μs

    Storage and cache

    Metric Description Unit
    active_memstore_used The size of the active MEMStore. MiB
    major_freeze_trigger The threshold for triggering a major compaction. MiB
    memstore_limit The limit of the MEMStore. MiB
    total_memstore_used The total size of the MEMStore. MiB
    io_count The number of I/O operations per second (IOPS) for the SSStore. times/s
    io_read_count The number of read operations per second for the SSStore. times/s
    io_write_count The number of write operations per second for the SSStore. times/s
    io_rt The I/O latency. μs
    io_read_rt The average read latency for the SSStore. μs
    io_write_rt The average write latency for the SSStore. μs
    io_size The amount of data processed per second by the SSStore. byte
    io_read_size The amount of data read per second by the SSStore. byte
    io_write_size The amount of data written per second by the SSStore. byte
    block_cache_size The size of the block cache. MiB
    bloom_filter_cache_size The size of the bloom filter cache. MiB
    clog_cache_size The size of the Clog cache. MiB
    location_cache_size The size of the location cache. MiB
    plan_cache_size The size of the execution plan cache. MiB
    row_cache_size The size of the row cache. MiB
    block_cache_hit_ratio The hit ratio of the block cache. -
    bloom_filter_cache_hit_ratio The hit ratio of the bloom filter cache. -
    clog_cache_hit_ratio The hit ratio of the Clog cache. -
    location_cache_hit_ratio The hit ratio of the location cache. -
    plan_cache_hit_ratio The hit ratio of the execution plan cache. -
    row_cache_hit_ratio The hit ratio of the row cache. -
    block_cache_req_total The total number of block cache requests. -
    bloom_filter_cache_req_total The total number of bloom filter cache requests. -
    clog_cache_req_total The total number of Clog cache requests. -
    location_cache_req_total The total number of location cache requests. -
    row_cache_req_total The total number of row cache requests. -
    ob_tenant_binlog_disk_used The size of the binlog disk used by the tenant. GiB
    ob_tenant_log_disk_total_bytes The total size of the log disk. GiB
    ob_tenant_log_disk_used_bytes The size of the log disk used by the tenant. GiB
    ob_tenant_disk_used_percentage The percentage of the tenant disk space used. %
    ob_tenant_data_size The size of the tenant disk space used. GiB

    Previous topic

    Datadog
    Last

    Next topic

    Bytebase
    Next
    What is on this page
    Background information
    Prerequisites
    Procedure
    View database monitoring data in Prometheus
    Configuration example
    Dynamically obtain instances under the account (recommended)
    Collect specified clusters under the account
    Collect multiple accounts
    List of metrics
    Host metrics
    Tenant database