
Explore Oracle terminology, covering database architecture (datafiles, control files, redo log files), memory structures (SGA, db buffer cache, library cache, result cache), and RAC with CDB/PDB in 12c.
Learn how to generate and view explain plans in Oracle SQL using explain plan and dbms_xplan, covering plan_table, SQL_ID retrieval, and formats like basic, typical, and all.
Histograms are a special type of column statistics that reveal detailed data distribution, helping Oracle optimize plans by distinguishing skewed values and guiding index versus full scans.
Explore how a B-tree index organizes data into branch and leaf blocks, enabling fast exact and range lookups by pointing to table rows.
Discover index organized tables, where data lives in the index with leaf blocks ordered by the primary key and non-key columns stored there for fast lookups.
Explore bitmap indexes, their two-dimensional storage and cardinality considerations, and how the degree of cardinality guides when to use bitmap indexes versus b-tree indexes.
Explore how the Oracle optimizer uses access methods to read data via the explain plan, including index scans, fast full scans, and full table scans, and their performance impact.
Discover why a full table scan may be efficient, as the optimizer reads blocks and filters rows. Understand the high watermark and how deletions and fragmentation affect space and performance.
Learn index skip scan for composite indexes and impact of the leading column's distinct values. See a gender and email example on customers and a union all from two scans.
Explore the nested loop join, where the outer table matches each row against the inner table. Indexing join columns speeds up performance and reduces full table scans.
Master the sort-merge join in Oracle SQL: sort both inputs and merge them, a two-phase method that outperforms nested loops on large data but lags behind hash joins.
Explore hash join: build an in-memory hash table from the smaller table, probe the larger one to efficiently join datasets and enhance performance insights.
Learn how the append hint accelerates large inserts by bypassing the buffer cache and reducing redo log, demonstrated with a 2.7 million-row insert and significant runtime improvement.
discover how the create table as select (ctas) combines table creation and data population to boost bulk data moves into staging tables, delivering faster performance and less redo than insert.
Compare union and union all to understand performance and how duplicates are handled. Use union when duplicates may exist, and union all when you are certain all rows are distinct.
Explore how an expression on indexed columns can hinder query performance and learn to resolve it with a function-based index on the sum of sold and quantity sold.
Compare truncate and delete to see how truncating tables reduces query cost by removing data pages, avoiding reads of empty blocks, and affecting the optimizer.
Avoid unnecessary selection of columns by using star in select clauses. Replacing star with only required columns reduces query time and shifts the execution plan toward index scans.
Compare having and where clauses in a group by. Filtering before grouping with a where clause improves the execution plan and reduces full table scan and index scan.
Use aliases in joins to qualify columns from tab one and tab two, reducing parsing overhead and eliminating column ambiguity, thus improving oracle sql performance.
This is a section where I have spoken about the Result Cache hint, to cache the most common queries that are working on tables that are rarely updated.
Explore the bind peeking problem in Oracle SQL, where parameterized queries trigger different execution plans due to bind variables and data skewness, and learn how to overcome it.
Explore how adaptive cursor sharing addresses bind peeking and data skew by generating and selecting execution plans (full table scans and index scans) based on histogram statistics.
*** This Course purchase includes video lectures, practice files, quizzes, & assignments***
Please note that this course will be continuously getting updated with more videos to keep you up to date on Oracle SQL Tuning. You will find lot of new lecture covering new features in the area of Oracle SQL Tuning. Best part about this course is that, You can also demand a lecture on a specific topic of SQL Tuning, which comes under the scope and I will make sure that the section on that Topic is added .
This course is designed to take the Oracle SQL Developers, Analysts, DBA to next level in SQL Query Tuning. You will find Various ways to optimize and tune the queries in the Production Environment. The professional who wants to start with the tuning of Oracle SQL queries and have basic idea of writing and reading queries, will find it extremely easy to understand.
How many times have we seen this. A Production batch job or a SQL Query is hung or consuming more time. Majority of the times we are clueless on what needs to be done or how it has to be troubleshooted.
I will Guide you through a STEP by STEP approach on how to troubleshoot the badly performing SQL Queries. We will also talk about the Oracle components that need to be checked and looked at. This course will also teach you how to interpret various components and identify the actual reason why the SQL Query is taking time. We will not stop there. We will also look at what fixes could be applied to make the SQL Query work faster.
I have taken a systematic approach in identifying , analyzing and troubleshooting badly performing SQL Query and will provide you with the skills required to write highly efficient Oracle SQL queries.
There is a separate section on most commonly seen problems in SQL Queries and have provided TIPS and TRICKS on correcting those SQL queries . So, next time, you do a Code review or write your own code, you can follow some of of the BEST Practices mentioned to proactively solve the SQL Performance Issues.
You should be able to complete this course in a week time, if you dedicate 2 hours of your time daily and this journey will take you from Oracle SQL Tuning beginners to expert Level.
Important Topics covered:
Gather statistics for the bad SQL
Understand the Cardinality and Execution Plan
Advanced Query Tuning Techniques.
Understand the Various components of the Execution Plans and interpret them
Understand the Index in depth and its impact on Performance
Guide Oracle Optimizer to choose a better execution Plan.
Tips and Tricks to tune the SQL Queries.
Gain Oracle performance tuning knowledge on Oracle11g and Oracle12c
Adaptive Cursor Sharing
Briefly, The knowledge of SQL Tuning is a must for IT professionals and this course is one stop shop for gaining this necessary and in-demand skill.
Trust me, I will make sure you have an awesome learning experience and will hold your hand and take you step by step!!!
Happy Oracle SQL Tuning :-)