Full day seminars by top Oracle experts
 

Agenda for: Jonathan Lewis Beating the Oracle Optimizer Seminar

   
 
Friday, August 17th 2012  
8:00 AM - 8:30 AM Check In  
  Check-in. Complimentary breakfast served  
8:30 AM - 10:00 AM Single table access paths  
  We start with a brief reminder of what we need to know to write efficient and scalable SQL, then we examine the B-tree and bitmap access paths that are automatically available to Oracle as it accesses a single table before extending Oracle's strategies with a few manually constructed strategies that become available if we can rewrite the SQL.  
10:00 AM - 10:30 AM Break  
  Coffee and informal discussion: 30 minutes  
10:30 AM - 12:00 PM The two-table join  
  In this session we examine a very simple join and note a fundamental limitation in the optimizer's ability to find the best strategy for joining two tables. We see how we can overcome this limitation - at a cost of more complex SQL - and look at the way we need to think about joins to minimise the work we do, noting that the possible benefit isn't always as great as we might first think. We also review a method for keeping the code simpler at a risk of variable performance - then find we can eliminate the variability by again increasing the complexity.  
12:00 PM - 12:45 PM Break  
  Lunch and informal discussion: 45 minutes  
12:45 PM - 2:15 PM Complex Joins  
  After setting the groundwork with single table access paths and two table joins, we go on to more complex examples, showing how the principle can be used to emulate data warehouse patterns of query in a structure designed for OLTP data access; even to the extent of emulating a Star Transformation in Standard Edition Oracle where bitmap indexes are not implemented.  
2:15 PM - 2:30 PM Break  
  Coffee and informal discussion: 15 minutes  
2:30 PM - 4:00 PM Structures and Features  
  Falling back to slight more standard SQL, we take a look at the way in which we can use features like function-based indexes, virtual columns and deterministic functions in the newer versions of Oracle to reduce work. We also look at the ways in which structures such as sorted hash clusters and partitioning allow us to re-think the way we write SQL to minimise the work done.  
 
Calendar
There are no seminars on the
calendar at this time.
View all Seminars
 
 © 2004-2006, Speak-Tech, LLC. All rights reserved.