"Our tailored course provided a well rounded introduction and also covered some intermediate level topics that we needed to know. Clive gave us some best practice ideas and tips to take away. Fast paced but the instructor never lost any of the delegates"
Brian Leek, Data Analyst, May 2022
• Introduce Cost Based, Rule Based (little),
• optimizer management of SQL
• Understanding Selectivity General approaches to table and Index usage (15% rule)
• Optimizer Access Methods and Paths
• Common Optimizer Join methods (including nested loops, sort merge, hash join, anti join, semi join, star join) - appropriateness of use
• Optional Chasing poorly performing SQL using V$ approaches
• Optional Chasing poorly performing SQL using AWR and ASH outputs
• Generating and understanding Explain tables using common tools ( autotrace , DBMS_XPLAN, Optional AWR-based)
• Effective use of indexes in SQL (including bitmap, bitmap join, function driven, reverse, descending, composite, unique, non-unique, compressed)
• Using ANALYZE and DBMS_STATS
Gathering stats
Exporting stats
Setting stats for deliberate effect
Index Dead leaf analysis, Block Chaining analysis
Collecting Histogram data for better index use
• More about scans: Table scans, Index Scans, sample scans, high water mark
Index fast Full vs Range vs skip scans
• Composite index tricks
• Using Index Only Tables (IOT)
• Advantages to using Global Temporary tables
• Using Compressed Tables
• Optional Using Partition tables ( quick introduction )
Use of indexes (local vs global vs Ordinary)
Types of Partition Pruning
• Powerful and useful SQL Hints ( e.g. optimizer_features_enable order, leading, index, use_* rule, dynamic_sampling )
• Using Hints with views
• Oracle 11.2 new parallel approaches
• Optional Using Parallel Queries and DML to advantage
• Ansi Join coding vs traditional Oracle outer Joins
-- gaining extra speed with full outer joins
• More effective use of bind variables (cursor_sharing = similar)
• Optional Oracle adaptive cursors
• Optional Oracle11.2 SQL Plan Management
• Advantages to using Dynamic SQL approaches
• “When to use“ SQL language techniques including . . .
Exists vs In
Not exists vs Not in
Having vs Where
“Why rollup/Cube Analytics are so fast”
Rollup / Cube vs Union
Implicit conversion problems
Suppressing indexes (deliberate and otherwise)
Comparing inline vs group by vs select inline
• Optional Brief introduction to Materialized views
• Optional using the result cache
• Using Cache hint management
• Optional Oracle 11.2 new parallel approaches
• Building and using SQL Tuning Sets
• Command line interface to SQL Tuning Advisor
• Optional Taking advantage of the SQL Access advisor
• Optional Understanding Oracle12 Dynamic plans and re-optimization
Exercises
This course provides a series of progressive and thoughtful exercises to reinforce course teaching. Exercises range from Try-This-Now quick work to longer, more thoughtful approaches. Typically, course content is organised so that for every hour of the course, delegates have an exercise to do
Each Delegate Receives
1. A workbook with a set of course foils and exercises
2. A course disk with exercises and solutions where appropriate. Exercises include tables and data so that work can be repeated later.
.Please Note
This course does not include DBA responsible Server SQL tuning. These techniques and skills are separately available.
• Introduce Cost Based, Rule Based (little),
• optimizer management of SQL
• Understanding Selectivity General approaches to table and Index usage (15% rule)
• Optimizer Access Methods and Paths
• Common Optimizer Join methods (including nested loops, sort merge, hash join, anti join, semi join, star join) - appropriateness of use
• Optional Chasing poorly performing SQL using V$ approaches
• Optional Chasing poorly performing SQL using AWR and ASH outputs
• Generating and understanding Explain tables using common tools ( autotrace , DBMS_XPLAN, Optional AWR-based)
• Effective use of indexes in SQL (including bitmap, bitmap join, function driven, reverse, descending, composite, unique, non-unique, compressed)
• Using ANALYZE and DBMS_STATS
Gathering stats
Exporting stats
Setting stats for deliberate effect
Index Dead leaf analysis, Block Chaining analysis
Collecting Histogram data for better index use
• More about scans: Table scans, Index Scans, sample scans, high water mark
Index fast Full vs Range vs skip scans
• Composite index tricks
• Using Index Only Tables (IOT)
• Advantages to using Global Temporary tables
• Using Compressed Tables
• Optional Using Partition tables ( quick introduction )
Use of indexes (local vs global vs Ordinary)
Types of Partition Pruning
• Powerful and useful SQL Hints ( e.g. optimizer_features_enable order, leading, index, use_* rule, dynamic_sampling )
• Using Hints with views
• Oracle 11.2 new parallel approaches
• Optional Using Parallel Queries and DML to advantage
• Ansi Join coding vs traditional Oracle outer Joins
-- gaining extra speed with full outer joins
• More effective use of bind variables (cursor_sharing = similar)
• Optional Oracle adaptive cursors
• Optional Oracle11.2 SQL Plan Management
• Advantages to using Dynamic SQL approaches
• “When to use“ SQL language techniques including . . .
Exists vs In
Not exists vs Not in
Having vs Where
“Why rollup/Cube Analytics are so fast”
Rollup / Cube vs Union
Implicit conversion problems
Suppressing indexes (deliberate and otherwise)
Comparing inline vs group by vs select inline
• Optional Brief introduction to Materialized views
• Optional using the result cache
• Using Cache hint management
• Optional Oracle 11.2 new parallel approaches
• Building and using SQL Tuning Sets
• Command line interface to SQL Tuning Advisor
• Optional Taking advantage of the SQL Access advisor
• Optional Understanding Oracle12 Dynamic plans and re-optimization
Exercises
This course provides a series of progressive and thoughtful exercises to reinforce course teaching. Exercises range from Try-This-Now quick work to longer, more thoughtful approaches. Typically, course content is organised so that for every hour of the course, delegates have an exercise to do
Each Delegate Receives
1. A workbook with a set of course foils and exercises
2. A course disk with exercises and solutions where appropriate. Exercises include tables and data so that work can be repeated later.
Application developers and designers, DBAs and support staff who already use SQL and who need to know more about designing for, and evaluating SQL performance!
Prerequisites
Delegates must be familiar with
1) Their chosen underlying operating system (typically Windows or UNIX-based flavour)
2) Basic SQL statements including the Select, Insert, Update, Delete, Create / Drop index, primary key / foreign key builds
"Our tailored course provided a well rounded introduction and also covered some intermediate level topics that we needed to know. Clive gave us some best practice ideas and tips to take away. Fast paced but the instructor never lost any of the delegates"
Brian Leek, Data Analyst, May 2022
Problem 11 : You have a very complex Excel spreadsheet and you want to reproduce EXACTLY the same spreadsheet in Power BI
Solution: Power BI is not Excel, it works differently and it has different strengths. In order to tackle this issue the best way is going back to the source and try to...
All 20 points are in our latest Newsletter - Delivered directly to your inbox
CONTACT
+44 (0)20 8446 7555
enquiries@jbinternational.co.uk
Corporate Policies Terms & Conditions
JB International Training Ltd - Company number 08458005
Registered address Wohl Enterprise Hub 2B Redbourne Avenue London N3 2BS