OceanBase
English日本語简体中文
Docs Home
Products
Integrations
Release Notes

Databases

OceanBase DatabaseOceanBase AI DatabaseOceanBase Cloud OceanBase Best Practices

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog ServiceOceanBase DataPilotOceanBase OAgent

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Databases

OceanBase DatabaseOceanBase AI DatabaseOceanBase Cloud OceanBase Best Practices

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog ServiceOceanBase DataPilotOceanBase OAgent
OceanBase DatabaseOceanBase Cloud ToolsConnectors and MiddlewareLifecycle Support Policy

OceanBase OAgent

V2.2.0
  • Product overview
    • What is OAgent?
    • Key features
    • System architecture
    • Use cases
  • Quick start
  • Deployment
  • Overview
  • Sessions and diagnosis
    • Manage sessions
    • Switch dialogue models
    • Use @ to mention the analysis target
    • View the tool invocation process
    • Upload an attachment
    • Data visualization
    • FAQ
    • Export a report
  • Tools
  • Skill Management
  • Channel management
  • Knowledge base
    • Built-in knowledge base
    • Custom knowledge base
  • Scheduled tasks
    • Overview of scheduled tasks
    • Create a scheduled task
  • View usage
  • Model configuration
    • Manage model services
    • Model scoring
  • Settings and security
    • Product management
    • Experimental features
  • Best practices
    • Perform a cluster health inspection
    • Query cluster and topology information
    • Query resource metrics and task status
    • Read-only queries
    • Alert query and troubleshooting guide
    • Root cause analysis of exceptions
    • ASH diagnostic report
    • Analyze slow SQL, TopSQL, and abnormal SQL
    • SQL pre-analysis and tuning recommendations
    • Interpret execution plans
    • Diagnostic information statistics
    • Parameter check and change governance
    • Database change ticket
  • Appendix
    • Feature list
    • Built-in Skills
  • Release notes
    • OAgent V2.2.0 Release note
    • OAgent V2.1.0 Release note
    • OAgent V2.0.0 Release note
    • OAgent V1.8.0 Release note

Download PDF

Document Feedback
  1. Documentation Center
  2. OceanBase OAgent
  3. V2.2.0

Data visualization

Last Updated:2026-11-20 07:25:11

When to use
Prerequisites
Presentation format
Procedure
What to do next

To reduce the cost of manually drawing charts in text, OAgent automatically renders time-series data, percentage data, and list data returned by tools into line charts, bar charts, pie charts, and tables, and supports downloading.

When to use

  • View the trend of CPU/IO/memory usage over time.
  • Compare resource consumption percentages between different tenants or SQL statements.
  • Visually confirm metrics such as major compaction progress and session activity distribution.

Prerequisites

  • Structured metric data has been obtained through a tool call in the current session.

Presentation format

Data type
Common Charts
Applicable analysis purposes
Time Series Metrics Line chart Observe trends and identify jitter time points
Discrete contrast Column Chart Compare the magnitudes of different objects (tenants, servers, and SQL statements)
Proportion Composition Pie chart View the distribution of event or SQL execution percentages
Detail Data Table Verify Original Values and Fields

Procedure

  1. Initiate a query that generates structured data in the session, for example:

    Check the CPU trend of tenant xxx in the last hour.
    The memory usage percentage of each tenant in this cluster.
    Show the top 10 SQL statements by DB Time percentage in the last hour.
    
  2. Press Enter to send the query and wait for the Agent to render the chart.

    • The Agent automatically selects the most appropriate chart type based on the data characteristics.
    • The original data table is retained at the bottom of the chart for easy value verification.
  3. View and download the chart via interaction.

    • Hover the mouse to view specific values and dimensions.
    • Select Export in the upper-right corner of the chart to save it as a local file.

Note

Charts are rendered based on real data returned by tool calls and are not generated from scratch. If data is missing or empty, a "No data" prompt will be displayed in the chart area.

What to do next

  • To deliver a complete conclusion with the chart to others, see Export a report.

  • You can expand the tool call to view the original data corresponding to the chart. See View the tool call process.

Previous topic

Upload an attachment
Last

Next topic

FAQ
Next
on this page
When to use
Prerequisites
Presentation format
Procedure
What to do next