Oracle explain plan for usage ____oracle

Source: Internet
Author: User
zzj@rac1> EXPLAIN Plan for SELECT * from T_user;
explained.
Zzj@rac1> SELECT * from TABLE (Dbms_xplan. DISPLAY);
Plan_table_output
----------------------------------------------------------------------------------------
Plan Hash value:2508602004
----------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU) | Time |
----------------------------------------------------------------------------
| 0 |        SELECT STATEMENT |    |  23 |     1817 | 4 (0) | 00:00:01 |
|  1 | TABLE ACCESS full|    yang_t |  23 |     1817 | 4 (0) | 00:00:01 |
----------------------------------------------------------------------------
Note
-----
-Dynamic sampling used for this statement (level=2)
Rows selected.

You can see from the query results below that Oracle did not execute the SQL statement to view the execution plan when using explain plan for viewing execution plans.

Pl/sql developer uses the explain plan (F5) feature.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.