OceanBase logo

OceanBase

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

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

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

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

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

About OceanBase

Partner

Trust Center

Contact Us

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

OceanBase

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

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

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

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

Practical guides for utilizing OceanBase more effectively and conveniently

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

About OceanBase

Partner

Trust Center

Contact Us

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

OceanBase Cloud Platform

V4.3.5

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogWhite PaperLive DemosTraining & CertificationTicket
    Company
    About OceanBaseTrust CenterLegalPartnerContact Us
    Follow Us

    © OceanBase 2026. All rights reserved

    Cloud Service AgreementPrivacy PolicySecurity
    Contact Us
    Document Feedback
    1. Documentation Center
    2. OceanBase Cloud Platform
    3. V4.3.5
    iconOceanBase Cloud Platform
    V 4.3.5
    Databases
    • OceanBase Database
    • OceanBase Cloud
    • OceanBase Tugraph
    • Interactive Tutorials
    • OceanBase Best Practices
    Tools
    • OceanBase Cloud Platform
    • OceanBase Migration Service
    • OceanBase Developer Center
    • OceanBase Migration Assessment
    • OceanBase Admin Tool
    • OceanBase Loader and Dumper
    • OceanBase Deployer
    • Kubernetes operator for OceanBase
    • OceanBase Diagnostic Tool
    • OceanBase Binlog Service
    Connectors and Middleware
    • OceanBase Database Proxy
    • Embedded SQL in C for OceanBase
    • OceanBase Call Interface
    • OceanBase Connector/C
    • OceanBase Connector/J
    • OceanBase Connector/ODBC
    • OceanBase Connector/NET
    • V 4.4.2
    • V 4.3.6
    • V 4.3.5
    • V 4.3.4
    • V 4.3.3
    • V 4.3.2
    • V 4.3.1
    • V 4.3.0
    • V 4.2.2
    • V 4.0.0 and earlier

    ob_host_mem_percent_over_threshold

    Last Updated:2026-04-16 03:36:04  Updated
    Share
    What is on this page
    Description
    Principle
    Alert rule
    Alert information
    Alert templates
    Impact on the system
    Possible causes
    Suggested solutions

    folded

    Share

    Description

    This alert is triggered when the total physical memory usage of the OBServer exceeds the threshold.

    Principle

    The following table describes the key parameters that are involved in the monitoring and alerting logic.

    Parameter
    Value
    Metric ob_host_mem_percent
    Source The data is collected by using the node_exporter process.
    Collected metrics node_memory_MemFree_bytes, node_memory_Cached_bytes, node_memory_Buffers_bytes, and node_memory_MemTotal_bytes
    Metric expression (1 - (avg(node_memory_MemFree_bytes{@LABELS}) by (@GBLABELS) + avg(node_memory_Cached_bytes{@LABELS}) by (@GBLABELS) + avg(node_memory_Buffers_bytes{@LABELS}) by (@GBLABELS)) / avg(node_memory_MemTotal_bytes{@LABELS}) by (@GBLABELS)) * 100
    Collection cycle 1 second

    Note

    The metric source of this alert is special. OCP-Agent collects monitoring data by using the node_exporter process.

    The value of the metric ob_host_mem_percent indicates the memory usage of the OBServer. When this value exceeds the threshold, this alert is triggered. The default threshold is 90%.

    Alert rule

    Metric
    Default threshold (unit: %)
    Duration
    Detection cycle
    Time before clearance
    ob_host_mem_percent 90 0 seconds 60 seconds 5 minutes

    Alert information

    Trigger method
    Alert level
    Scope
    Metric expression Critical Server

    Alert templates

    • Overview: ${alarm_target} ${alarm_name}

    • Details: Cluster: ${ob_cluster_name}, Host: ${host}, Alert: ${alarm_name}. The memory usage is ${value}%, exceeding the threshold of ${alarm_threshold}%.

    • Overview example: ob_cluster=C1-1000:svr_ip=xxx.xxx.xxx.xxx. The memory usage of the OBServer exceeds the threshold.

    • Details: Cluster: obcluster-1, Host: xxx.xxx.xxx.xxx, Alert: The memory usage of the OBServer exceeds the threshold. The memory usage is 91%, exceeding the threshold of 90%.

    Impact on the system

    The OBServer cannot properly work if the server memory is insufficient.

    Possible causes

    • A non-observer process is executing a memory-intensive task.

    • An OBServer malfunctions. For example, the memory usage of the sys tenant (ID = 500) of the OceanBase cluster exceeds the threshold.

    Suggested solutions

    1. Confirm the OBServer status.

      In the OBServers list on the Overview page of the cluster, view the status of the server. Alternatively, you can connect to the sys tenant of the OceanBase cluster and execute the following SQL statement:

      select status from __all_sever where svr_ip='your server ip';
      
      • If the status is Inactive, restart the observer process.

      • If the status is Running, go to the next step.

    2. Verify whether the excessive memory usage is caused by daily business operations.

      On the Host Overview page of the OCP console, find the OBServer that triggered the alert and go to its details page. Then, choose Monitoring > Host Resources to view the memory curve chart.

      • If the memory usage suddenly increases at the alert time, it is not normal. Go to the next step for troubleshooting.

      • If the memory usage mildly increases at the alert time, it indicates the routine usage by the applications.

        You can replace the OBServer with one that has a larger memory size. For more information, see Replace an OBServer.

    3. Run the following command to check for processes that use the most memory resources:

      # Find out the top five processes that use the most memory resources and sort them by memory usage in descending order.
      ps -o %mem,pid,cmd  -ax | sort -rn | head -5
      
      • If a non-observer process uses too many memory resources, analyze the corresponding application to find the cause of the high memory usage.

        Otherwise, you can stop the processes that use the most memory resources.

      • If an observer process uses too many memory resources, the OBServer may have encountered an error.

        In this case, the ob_tenant500_mem_hold_over_threshold alert is usually triggered at the same time. We recommend that you resolve that alert first. Then, check whether the ob_host_mem_percent_over_threshold alert recurs 5 minutes later.

    Previous topic

    ob_host_ssd_wear_indicator_over_threshold
    Last

    Next topic

    ob_host_net_recv_percent_over_threshold
    Next
    What is on this page
    Description
    Principle
    Alert rule
    Alert information
    Alert templates
    Impact on the system
    Possible causes
    Suggested solutions