OceanBase logo

OceanBase

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

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

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

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

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

About OceanBase

Partner

Trust Center

Contact Us

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

OceanBase

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

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

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

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

Practical guides for utilizing OceanBase more effectively and conveniently

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

About OceanBase

Partner

Trust Center

Contact Us

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

OceanBase Database

SQL - V4.2.0

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

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

    © OceanBase 2026. All rights reserved

    Cloud Service AgreementPrivacy PolicySecurity
    Contact Us
    Document Feedback
    1. Documentation Center
    2. OceanBase Database
    3. SQL
    4. V4.2.0
    iconOceanBase Database
    SQL - V 4.2.0
    SQL
    KV
    • V 4.6.0
    • V 4.4.2
    • V 4.3.5
    • V 4.3.3
    • V 4.3.1
    • V 4.3.0
    • V 4.2.5
    • V 4.2.2
    • V 4.2.1
    • V 4.2.0
    • V 4.1.0
    • V 4.0.0
    • V 3.1.4 and earlier

    V$OB_SQL_PLAN

    Last Updated:2023-12-08 07:13:36  Updated
    share
    What is on this page
    Purpose
    Columns

    folded

    share

    Purpose

    The V$OB_SQL_PLAN view displays the plan information collected by executing the EXPLAIN PLAN statement.

    Note

    This view is introduced since OceanBase Database V4.2.0.

    Columns

    Column
    Type
    Nullable?
    Description
    DB_ID NUMBER(38) NO The schema ID of the query.
    SQL_ID VARCHAR2(32) NO The query ID.
    PLAN_HASH NUMBER(38) NO The hash value of the plan.
    PLAN_ID NUMBER(38) NO The ID of the plan.
    GMT_CREATE TIMESTAMP(6) WITH LOCAL TIME ZONE NO The time when the record was generated.
    OPERATOR VARCHAR2(255) NO The name of the operator, such as TABLE SCAN and SORT.
    OBJECT_NODE VARCHAR2(40) NO The object node. The value is the name of the DBLink if the current operator is related to DBLinks.
    OBJECT_ID NUMBER(38) NO The ID of the scanned object, such as the ID of a physical table scanned by the TABLE SCAN operator.
    OBJECT_OWNER VARCHAR2(128) NO The user of the scanned object.
    OBJECT_NAME VARCHAR2(128) NO The name of the scanned object, such as the name of a physical table scanned by the TABLE SCAN operator.
    OBJECT_ALIAS VARCHAR2(261) NO The alias of the scanned object, such as the alias of a physical table scanned by the TABLE SCAN operator.
    OBJECT_TYPE VARCHAR2(20) NO The type of the scanned object, such as SYNONYM, DBLINK, and BASIC TABLE.
    OPTIMIZER VARCHAR2(4000) NO The index information, such as the physical row, logical row, number of rows returned for a table access by index primary key, type of the statistical information, and version number of the statistical information.
    ID NUMBER(38) NO The ID of the logical operator.
    PARENT_ID NUMBER(38) NO The ID of the parent operator of the logical operator.
    DEPTH NUMBER(38) NO The depth of the logical operator in the current plan, or the layer of the logical operator in the binary plan tree.
    POSITION NUMBER(38) NO The position of the current logical operator in a series of child operators of its parent operator.
    COST NUMBER(38) NO The cost estimated by the optimizer.
    REAL_COST NUMBER(38) NO The actual cost in executing the plan for the first time. This information is returned in the execution feedback.
    CARDINALITY NUMBER(38) NO The estimated number of rows returned for the current operator. This value is calculated by the optimizer.
    REAL_CARDINALITY NUMBER(38) NO The actual number of rows returned for the current operator during the first execution of the plan. This information is returned in the execution feedback.
    IO_COST NUMBER(38) NO The actual I/O cost of the current operator during the first execution of the plan. This information is returned in execution feedback.
    CPU_COST NUMBER(38) NO The actual CPU cost of the current operator during the first execution of the plan. This information is returned in execution feedback.
    BYTES NUMBER(38) NO The estimated data width of the current operator. This value is calculated by the optimizer.
    ROWSET NUMBER(38) NO The vector size of the current operator.
    OTHER_TAG VARCHAR2(4000) NO The hints that have been used by the current query. This information is stored only in the first line of the plan.
    PARTITION_START VARCHAR2(4000) NO The partition scanned by the TABLE SCAN operator.
    OTHER VARCHAR2(4000) NO The optimization information, such as the plan type, parameterized information about the fast parser, plan note, and constraint information about the plan that is hit.
    ACCESS_PREDICATES VARCHAR2(4000) NO The expression to be accessed by the current operator.
    FILTER_PREDICATES VARCHAR2(4000) NO The filter condition of the current operator.
    STARTUP_PREDICATES VARCHAR2(4000) NO The condition for starting the current operator.
    PROJECTION VARCHAR2(4000) NO The output expression of the current operator.
    SPECIAL_PREDICATES VARCHAR2(4000) NO The special expression of the current operator, such as Join Condition, GROUP EXPRS, and SORT EXPRS.
    QBLOCK_NAME VARCHAR2(128) NO The name of the query block where the current operator resides.
    REMARKS VARCHAR2(4000) NO The modification tracking information about the query block.
    OTHER_XML VARCHAR2(4000) NO The outline data.

    Previous topic

    GV$OB_SQL_PLAN
    Last

    Next topic

    Common statistics events
    Next
    What is on this page
    Purpose
    Columns