Read Oracle SQL Execution Plan | DBMS XPLAN

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 17

  • @ziadfawzi
    @ziadfawzi Рік тому +1

    Thank you.

  • @aturan-fo1qt
    @aturan-fo1qt 3 роки тому +1

    Thanks, great explanation 👍

  • @abdultaheriqbal1117
    @abdultaheriqbal1117 4 роки тому +1

    Thanks Sir providing such videos .....

  • @prasadreddysunkari
    @prasadreddysunkari 5 років тому +1

    Awesome and valuable information sir.. million thanks

  • @dhavalpandya4162
    @dhavalpandya4162 4 роки тому +4

    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 ?

  • @shahbaz6865
    @shahbaz6865 3 роки тому +1

    3:16
    You don't need to write clear screen. Just write clear scr.

    • @dbagenesis
      @dbagenesis  3 роки тому +1

      Thanks, new learning for me ;)

  • @vinny_vlogs4262
    @vinny_vlogs4262 5 років тому +1

    But from where the statistics are coming for auto Trace option?

    • @dbagenesis
      @dbagenesis  5 років тому

      Base tables

    • @luzaumbk
      @luzaumbk 3 роки тому +1

      As base tables you should think as Data Dictionary tables that keeps information about tables, columns and indexes.

  • @dharshanramakrishna2237
    @dharshanramakrishna2237 4 роки тому +1

    How do you tune a query without hints? In real world to tune complex queries we are forced to use hints

    • @dbagenesis
      @dbagenesis  4 роки тому

      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