> For the complete documentation index, see [llms.txt](https://docs.tibero.com/tiberostudio.en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tibero.com/tiberostudio.en/about/sql-editor/sql-plan.md).

# SQL Plan

The users can view the execution plan of the created SQL. If The users need to tune the query, The users can do so to create the optimal SQL statement. The execution plan information is read from top to bottom, from inside to outside, starting with the task with the most indentation.

The execution plan is available in two views: Tree and Text.

### Plan Info

<figure><img src="/files/QmGN2hr4Wrq7LgmyPn2P" alt=""><figcaption><p>Figure 1. Plan Info</p></figcaption></figure>

The users can check the SQL ID, CHILD NUMBER, HASH VALUE, PLAN HASH VALUE, and executed SQL information related to the plan.

### Tree View

<figure><img src="/files/6QypQEB3sPdm5ihlrg40" alt=""><figcaption><p>Figure 2. Tree View</p></figcaption></figure>

It displays the plan information in the form of a tree in the left area, and when The users focus on a specific row, the detailed plan information of the focused row is displayed in the right area.&#x20;

The main columns are as follows.

<table><thead><tr><th width="177.8277587890625" valign="bottom">Name</th><th valign="bottom">Description</th></tr></thead><tbody><tr><td valign="bottom">Operation</td><td valign="bottom">Indicates the specific operation performed by the database.</td></tr><tr><td valign="bottom">Option</td><td valign="bottom">Provides additional details about the operation</td></tr><tr><td valign="bottom">Object</td><td valign="bottom">The database object on which the operation is performed</td></tr><tr><td valign="bottom">Cost</td><td valign="bottom">The relative cost to run the query</td></tr><tr><td valign="bottom">Cardinality</td><td valign="bottom">The number of rows the job is expected to return</td></tr><tr><td valign="bottom">Partition State</td><td valign="bottom">The partition to start scanning</td></tr><tr><td valign="bottom">Partition Stop</td><td valign="bottom">The partition to end the scan on</td></tr><tr><td valign="bottom">CPU Cost</td><td valign="bottom">CPU usage cost</td></tr><tr><td valign="bottom">IO Cost</td><td valign="bottom">Disk I/O cost</td></tr><tr><td valign="bottom">Access Predicate</td><td valign="bottom">Conditions that determine how data is accessed</td></tr><tr><td valign="bottom">Filter Predicate</td><td valign="bottom">Conditions that filter data after it is read</td></tr></tbody></table>

### Text View

<figure><img src="/files/KkVOycZcZVkGlDDluTPK" alt=""><figcaption><p>Figure 3. Text View</p></figcaption></figure>

Displays the contents of all plans in the editor as text.

###


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.tibero.com/tiberostudio.en/about/sql-editor/sql-plan.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
