> 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-trace.md). Agents can also search and read this documentation through its [MCP server](https://docs.tibero.com/tiberostudio.en/~gitbook/mcp).

# SQL Trace

After running SQL, The users can check the detailed execution information of the executed SQL. The users can analyze and tune the performance of SQL through the trace information.

<figure><img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/33OQXI4vrlk3YeF6WiYh/image.png" alt=""><figcaption><p>Figure 1. SQL Trace - Statistics</p></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/DmsX5aMLs33h1FhdXE84/image.png" alt=""><figcaption><p>Figure 2. SQL Trace - Predicate Information</p></figcaption></figure>

The SQL Trace feature provides the following information.

<table><thead><tr><th width="200.95367431640625" valign="bottom">Predicate Name</th><th valign="bottom">Description</th></tr></thead><tbody><tr><td valign="bottom">SQL</td><td valign="bottom">The SQL that was run</td></tr><tr><td valign="bottom">SQL ID</td><td valign="bottom">The SQL ID of the SQL that was run.</td></tr><tr><td valign="bottom">CHILD NUMBER</td><td valign="bottom">CHILD NUMBER of the executed SQL</td></tr><tr><td valign="bottom">plan hash value</td><td valign="bottom">PLAN HASH VALUE of the executed SQL</td></tr><tr><td valign="bottom">Autotrace Stats</td><td valign="bottom">Shows statistical information of the executed SQL.</td></tr><tr><td valign="bottom">Plan Stats</td><td valign="bottom">Shows detailed information for each step of the execution plan.</td></tr><tr><td valign="bottom">Remote SQL Information</td><td valign="bottom">Shows SQL information related to remote databases.</td></tr><tr><td valign="bottom">Logical Plan Information</td><td valign="bottom">Displays logical execution plan information.</td></tr><tr><td valign="bottom">Predicate Information</td><td valign="bottom">Shows detailed information about filtering conditions (WHERE clause, JOIN condition, etc.) of SQL statements.</td></tr><tr><td valign="bottom">Note Information</td><td valign="bottom">Shows additional notes related to the execution plan.</td></tr><tr><td valign="bottom">SQL Plan</td><td valign="bottom">The execution plan for SQL.</td></tr></tbody></table>

###
