Тёмный

Read Oracle SQL Execution Plan | DBMS XPLAN 

DBA Genesis
Подписаться 37 тыс.
Просмотров 35 тыс.
50% 1

You can think of an execution plan as the combination of steps used by the #database to execute an #SQL statement. In an execution plan, you can see the list of steps the database will have to perform to execute the statement, along with the cost associated with each step, which is very useful because you can see which of the steps are using more resources, and thus, probably taking more time to complete.
00:00 Execution Plan
08:56 How bad a plan might be?
12:21 How smart optimizer is!
19:09 Generate execution plan in Oracle
19:20 AUTOTRACE Easy option
20:41 Explain Plan
Website: www.dbagenesis.com/
Facebook: / dbagenesis
Instagram: / dbagenesis
Twitter: / dbagenesis

Наука

Опубликовано:

 

8 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@abdultaheriqbal1117
@abdultaheriqbal1117 4 года назад
Thanks Sir providing such videos .....
@aturan-fo1qt
@aturan-fo1qt 2 года назад
Thanks, great explanation 👍
@dbagenesis
@dbagenesis 2 года назад
Glad it was helpful!
@prasadreddysunkari
@prasadreddysunkari 4 года назад
Awesome and valuable information sir.. million thanks
@dbagenesis
@dbagenesis 3 года назад
Thank you!
@dhavalpandya4162
@dhavalpandya4162 3 года назад
Hello sir, in real time I have seen SQL query of more than 800 lines and when we see the plan it looks very complicated, there are n number of terms they use and which confuses us. Can you please elaborate execution plan for a really long query if possible ?
@ziadfawzi
@ziadfawzi Год назад
Thank you.
@dbagenesis
@dbagenesis Год назад
Welcome!
@dharshanramakrishna2237
@dharshanramakrishna2237 3 года назад
How do you tune a query without hints? In real world to tune complex queries we are forced to use hints
@dbagenesis
@dbagenesis 3 года назад
Hints let you make decisions usually made by the optimizer. As an application designer, you might know information about your data that the optimizer does not know. Hints provide a mechanism to instruct the optimizer to choose a certain query execution plan based on the specific criteria. If you want to tune query without hint then you have to remove unnecessary large-table full-table scans, Cache small-table full-table scans, Verify optimal index usage, Materialize your aggregations and summaries for static tables
@vinny_vlogs4262
@vinny_vlogs4262 4 года назад
But from where the statistics are coming for auto Trace option?
@dbagenesis
@dbagenesis 4 года назад
Base tables
@luzaumbk
@luzaumbk 3 года назад
As base tables you should think as Data Dictionary tables that keeps information about tables, columns and indexes.
@shahbaz6865
@shahbaz6865 2 года назад
3:16 You don't need to write clear screen. Just write clear scr.
@dbagenesis
@dbagenesis 2 года назад
Thanks, new learning for me ;)
Далее
Oracle SQL tuning advisor
26:06
Просмотров 19 тыс.
Каха и суп
00:39
Просмотров 1,7 млн
Interpreting execution plans in Oracle Part 1
26:04
Просмотров 3,9 тыс.
Explaining Explain Plans
59:59
Просмотров 39 тыс.
Oracle 12c Data Guard Architecture
23:23
Просмотров 54 тыс.
How to See Where Your Oracle SQL Query is Slow
12:08
Просмотров 3,3 тыс.