Course Outline
Application Tuning Methodology
- Identifying the Problem
- Diagnosing the Cause
- Applying the Solution
SQL Command Execution Process
- Parsing and Sharing Cursors
- Adaptive Cursors
Query Execution Plan Analysis
- Methods for Obtaining Hypothetical and Actual Query Plans (EXPLAIN PLAN, DBMS_XPLAN, SQLPlus Autotrace)
- Marking the Order of Algorithm Steps
- Interpreting the Content of the Execution Plan Tree
- Adaptive Plans
Cost-Based Optimization Process and Controlling the Cost-Based Optimizer
- Properties of Cost-Based and Rule-Based Optimization
- Session and Instance Parameters
- Hints
- Query Plan Patterns (Outlines)
- Query Plan Management (Baselines)
- Patching Commands
- Profiles and SQL Tuning Advisor
Statistics and Histograms
- The Impact of Statistics and Histograms on Performance
- Methods for Collecting Statistics and Histograms
- Strategies for Counting and Estimating Statistics, Ad Hoc Sampling
- Managing Statistics: Locking, Copying, Editing, Automating Collection, Monitoring Changes
- Multicolumn Statistics, Expression-Based Statistics
- System and Dictionary Statistics
- Adaptive Statistics
Full Scan Optimization through Proper Space Management
- When to Use Full Scans
- Space Allocation in Blocks and Segments, High Water Mark, PCTFREE
- The Impact of DML Operations and Space Allocation Methods on Read Performance
- Loading Data via Conventional and Direct Paths
- Physical Reorganization of Data, Truncation, Defragmentation, Reconstruction
Full Scan Optimization through Physical Partitioning of "Hot Data"
- Temporary Tables
- Partitioning
- Materialized Views
Full Scan Optimization through Data Compression
- OLTP Compression
- OLAP Compression
Index-Based Read Optimization
- The Concept of ROWID
- BTREE Index Structure
- Comparing the Efficiency of Accessing Data via BTREE Indexes and FULL SCAN
- The Impact of Indexes on DML Operations
- Strategies for Creating and Dropping Indexes
- Good and Bad Indexes, the Impact of Physical Data Distribution Entropy on Index Usage Costs
- Properties and Statistics of Indexes
- Types of Reads: UNIQUE, RANGE, SKIP, FULL, FAST FULL, MIN/MAX
- Types of Indexes: Unique, Functional, Multicolumn, Reversed Key, Local/Global, Virtual, Private
- Index-Organized Tables (IOT)
- Bitmap and Concatenated Indexes
Sorting Process Optimization
- In-Memory Sorting
- Indexed Sorting
- Linguistic Sorting
Join and Subquery Optimization
- Join Methods: MERGE, HASH, NESTED LOOP
- Joins in OLTP and OLAP Systems
- Star Joins
- Order of Joins
- Outer Joins
Performance Monitoring and Identifying Bottlenecks through SQLTrace
- Tracing Database Sessions/Processes
- Tracing Application Sessions/Users in the Connection Pooling Model to the Database
- Tools: TkProf, TrcSess
PL/SQL Code Performance
- Using Literal Values in SQL Commands
- Cursor Sharing Rules
- Adaptive Cursors - Proper SQL and PL/SQL Communication
- Cursors and Bulk Operations
- User-Defined Functions in SQL
- Function Result Caching - Passing Parameters by Copy/Reference
- Inlining Short Procedures at Compile Time
- Compiler Optimization Levels
- Native Compilation
- Other Aspects of PL/SQL Optimization
Requirements
Fluent use of the SQL and PL/SQL languages. Practical experience working with Oracle or another relational database management system.
Testimonials (7)
The teaching style and substantive content of the trainer
Lukasz - Sygnity
Course - Tuning SQL i PL/SQL dla programistów
Machine Translated
The instructor provided the opportunity to perform examples on one's own environment, although this was not required. Thanks to this, there was no problem that I didn't keep up (on other courses with different instructors, I sometimes had trouble keeping up with more complex topics)
Pawel - Sygnity
Course - Tuning SQL i PL/SQL dla programistów
Machine Translated
Practical knowledge of the instructor
Piotr - Sygnity
Course - Tuning SQL i PL/SQL dla programistów
Machine Translated
The method of translating the material and the examples shown.
Marek Jakimowicz
Course - Tuning SQL i PL/SQL dla programistów
Machine Translated
Extensive knowledge based on experienced leadership
Angelika
Course - Tuning SQL i PL/SQL dla programistów
Machine Translated
Many experiments and interesting facts from the instructor's experience to support theoretical knowledge.
Przemyslaw Piatek - SOFTLOG Sp. z o.o. Sp.k.
Course - Tuning SQL i PL/SQL dla programistów
Machine Translated
A solid base of theoretical and practical knowledge, supported by examples from daily work.
Marek Gregorczyk - Biuro Projektowania Systemow Cyfrowych sp. z o.o.
Course - Tuning SQL i PL/SQL dla programistów
Machine Translated