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 Platform

V4.2.2

    Download PDF

    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 Platform
    3. V4.2.2
    iconOceanBase Cloud Platform
    V 4.2.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

    Configure full link tracking for a tenant

    Last Updated:2026-04-14 07:56:02  Updated
    share
    What is on this page
    Prerequisites
    Background information
    Configure full link tracking for a tenant
    Configure full link tracking for a session

    folded

    share

    This topic describes how to enable and disable full link tracking for a tenant, and how to use the feature.

    Prerequisites

    Full link tracking parameters have been enabled. For more information, see Configure trace query parameters.

    Background information

    After you enable full link tracking, you can perform the following operations:

    • Choose Log Service > Trace Query and view the trace diagnostic results of abnormal SQL statements. For more information, see Trace query.
    • Choose SQL Diagnostics > SlowSQL > SQL Sampling and view traces. For more information, see Slow SQL diagnostics.

    OceanBase Cloud Platform (OCP) V4.2.1 allows you to configure full link tracking at the tenant and session levels. You can enable or disable this feature for specified objects as needed.

    Notice

    Under the default full link tracking configurations, the performance metrics of OceanBase Database can decrease by about 2%. We recommend that you disable this feature in performance-sensitive scenarios.

    Configure full link tracking for a tenant

    You can enable or disable full link tracking for a tenant on its Overview page.

    Note

    • You cannot enable full link tracking for a business tenant that is in the Locked state. However, this limitation does not apply to the sys tenant.
    • You can still lock a business tenant for which the full link tracking feature is enabled at the tenant or session level. After the business tenant is locked, the full link tracking feature is disabled by default.
    • You can still delete a business tenant for which the full link tracking feature is enabled at the tenant or session level.
    • If you disable full link tracking for a tenant, this feature is disabled for all sessions in the tenant.
    • Changes in full link tracking configurations of a tenant apply to all sessions in this tenant.
    1. Log on to the OCP console.

    2. In the left-side navigation pane, click Tenants to go to the Tenants page.

    3. In the Tenants list, find the target tenant and click its name to go to the Tenant Details page.

    4. In the upper-right corner, click Full link tracking configuration.

    5. Configure the parameters.

      Parameter Description
      Trace Level The supported trace levels are Level 1, Level 2, and Level 3. Level 1 indicates the module level and Level 3 is the most refined.
      Sampling Ratio Value range: 0 to 100%. Default value: 10%.
      Sampled Content
      • ALL: All sampled traces are recorded in the log file.
      • ONLY_SLOW_QUERY: All sampled traces that belong to slow queries are recorded in the log file, and other traces are discarded. In this strategy, the server identifies slow queries based on the default threshold.
      • SAMPLE_AND_SLOW_QUERY: All traces of slow queries are recorded in the log file and sampling logs are recorded at a frequency of 0.01%. Force flush must be enabled.
      Enable By default, full link tracking configurations are enabled. If full link tracking configurations are disabled, the full link tracking feature is disabled.

    Configure full link tracking for a session

    You can enable or disable full link tracking for a session on the Session Management page.

    • If the full link tracking feature is enabled at the tenant level, you can disable the feature for a single session.
    • Changes in full link tracking configurations at the session level apply only to the current session.
    1. Log on to the OCP console.

    2. In the left-side navigation pane, click Tenants to go to the Tenants page.

    3. In the Tenants list, find the target tenant and click its name to go to the Tenant Details page.

    4. In the left-side navigation pane, select Session Management.

    5. In the session list of the tenant, find the target session and choose More > Full link tracking configuration.

    6. Configure the parameters.

      Parameter Description
      Trace Level The supported trace levels are Level 1, Level 2, and Level 3. Level 1 indicates the module level and Level 3 is the most refined.
      Sampling Ratio Value range: 0 to 100%. Default value: 10%.
      Sampled Content
      • ALL: All sampled traces are recorded in the log file.
      • ONLY_SLOW_QUERY: All sampled traces that belong to slow queries are recorded in the log file, and other traces are discarded. In this strategy, the server identifies slow queries based on the default threshold.
      • SAMPLE_AND_SLOW_QUERY: All traces of slow queries are recorded in the log file and sampling logs are recorded at a frequency of 0.01%. Force flush must be enabled.
      Enable By default, full link tracking configurations are enabled. If full link tracking configurations are disabled, the full link tracking feature is disabled.

    Previous topic

    Change the password of the sys tenant
    Last

    Next topic

    Modify the allowlist of a tenant
    Next
    What is on this page
    Prerequisites
    Background information
    Configure full link tracking for a tenant
    Configure full link tracking for a session