SlideShare una empresa de Scribd logo
1 de 31
EM Tuning Demo
Four Tuning Paths



             Database Home Page

     Performance Page                            ADDM Page

       Drilldowns                                  Solutions

     SQL    Session


                    Copyright 2006 Kyle Hailey
Path 1



                Database Home Page


     Performance Page                        ADDM Page

         Drilldowns                                Solutions

     SQL      Session                              Actions


                      Copyright 2006 Kyle Hailey
Database Home Page




            Copyright 2006 Kyle Hailey
ADDM Details



       Tablespace Solution ASSM

                            Object



                                       Solution 2: Partitioning



                              Solution 3: Free Lists
               Copyright 2006 Kyle Hailey
Path 2



                Database Home Page


     Performance Page                        ADDM Page

         Drilldowns                                Solutions

     SQL      Session                              Actions


                      Copyright 2006 Kyle Hailey
Database Home Page




            Copyright 2006 Kyle Hailey
ADDM Page




            Copyright 2006 Kyle Hailey
ADDM Details




               Copyright 2006 Kyle Hailey
EM Product Layout for Performance



             Database Home Page

     Performance Page                            ADDM Page

       Drilldowns                                  Solutions

     SQL    Session


                    Copyright 2006 Kyle Hailey
Database Home Page




           Copyright 2006 Kyle Hailey
Database Performance Page




        Lots of waits



                                           ADDM Report




              Copyright 2006 Kyle Hailey
ADDM Page




            Copyright 2006 Kyle Hailey
ADDM Details




               Copyright 2006 Kyle Hailey
EM Product Layout for Performance



             Database Home Page

     Performance Page                            ADDM Page

       Drilldowns                                  Solutions

     SQL    Session


                    Copyright 2006 Kyle Hailey
Database Performance Page




        “click on the
        big stuff”




               Copyright 2006 Kyle Hailey
Wait Drilldown : Concurrency




                Copyright 2006 Kyle Hailey
SQL Drilldown




                Copyright 2006 Kyle Hailey
Session Drilldown




               Copyright 2006 Kyle Hailey
Session : Wait History




                 Copyright 2006 Kyle Hailey
Part II – Taking ADDM Advice
 10 users inserting concurrently into same table




         insert into toto1 values (t,lpad('a',1000,'a'));




                        Copyright 2006 Kyle Hailey
Test 1




  Elapsed Time 14:44




                       Copyright 2006 Kyle Hailey
ADDM Details




               Copyright 2006 Kyle Hailey
ADDM Says
 Use ASSM
 Use Freelists
 Partition Object

   Trying   out Freelists




                             Copyright 2006 Kyle Hailey
Test 2




  Elapsed Time 14:59
Was 14:44 – now slower!



                       Copyright 2006 Kyle Hailey
ADDM Details




           Copyright 2006 Kyle Hailey
ADDM says
 Increase Log File Size to 2000M to hold at least 20
  minutes of redo




                     Copyright 2006 Kyle Hailey
Test 3


                    14:44           14:59          Elapsed 1:23




 Elapsed Time 1:23
 10x Improvement!




                      Copyright 2006 Kyle Hailey
Final ADDM Details




               Copyright 2006 Kyle Hailey
Final
  Commit every 50 records instead of every record
  Got elapsed down from
      1:23
      0:47




                     Copyright 2006 Kyle Hailey
In Review
 By using
   Free Lists
   Large Redo Log files

 Job Processing went from
   Over  14 minutes to
   Just over 1 minute

 Thanks to ADDM and OEM 10g !




                          Copyright 2006 Kyle Hailey

Más contenido relacionado

Más de Kyle Hailey

DBTA Data Summit : Eliminating the data constraint in Application Development
DBTA Data Summit : Eliminating the data constraint in Application DevelopmentDBTA Data Summit : Eliminating the data constraint in Application Development
DBTA Data Summit : Eliminating the data constraint in Application DevelopmentKyle Hailey
 
Accelerate Develoment with VIrtual Data
Accelerate Develoment with VIrtual DataAccelerate Develoment with VIrtual Data
Accelerate Develoment with VIrtual DataKyle Hailey
 
Delphix and Pure Storage partner
Delphix and Pure Storage partnerDelphix and Pure Storage partner
Delphix and Pure Storage partnerKyle Hailey
 
Mark Farnam : Minimizing the Concurrency Footprint of Transactions
Mark Farnam  : Minimizing the Concurrency Footprint of TransactionsMark Farnam  : Minimizing the Concurrency Footprint of Transactions
Mark Farnam : Minimizing the Concurrency Footprint of TransactionsKyle Hailey
 
Dan Norris: Exadata security
Dan Norris: Exadata securityDan Norris: Exadata security
Dan Norris: Exadata securityKyle Hailey
 
Martin Klier : Volkswagen for Oracle Guys
Martin Klier : Volkswagen for Oracle GuysMartin Klier : Volkswagen for Oracle Guys
Martin Klier : Volkswagen for Oracle GuysKyle Hailey
 
Data as a Service
Data as a Service Data as a Service
Data as a Service Kyle Hailey
 
Data Virtualization: Revolutionizing data cloning
Data Virtualization: Revolutionizing data cloningData Virtualization: Revolutionizing data cloning
Data Virtualization: Revolutionizing data cloning Kyle Hailey
 
BGOUG "Agile Data: revolutionizing database cloning'
BGOUG  "Agile Data: revolutionizing database cloning'BGOUG  "Agile Data: revolutionizing database cloning'
BGOUG "Agile Data: revolutionizing database cloning'Kyle Hailey
 
Denver devops : enabling DevOps with data virtualization
Denver devops : enabling DevOps with data virtualizationDenver devops : enabling DevOps with data virtualization
Denver devops : enabling DevOps with data virtualizationKyle Hailey
 
Oracle Open World 2014: Lies, Damned Lies, and I/O Statistics [ CON3671]
Oracle Open World 2014: Lies, Damned Lies, and I/O Statistics [ CON3671]Oracle Open World 2014: Lies, Damned Lies, and I/O Statistics [ CON3671]
Oracle Open World 2014: Lies, Damned Lies, and I/O Statistics [ CON3671]Kyle Hailey
 
Jonathan Lewis explains Delphix
Jonathan Lewis explains Delphix Jonathan Lewis explains Delphix
Jonathan Lewis explains Delphix Kyle Hailey
 
Oaktable World 2014 Toon Koppelaars: database constraints polite excuse
Oaktable World 2014 Toon Koppelaars: database constraints polite excuseOaktable World 2014 Toon Koppelaars: database constraints polite excuse
Oaktable World 2014 Toon Koppelaars: database constraints polite excuseKyle Hailey
 
Profiling the logwriter and database writer
Profiling the logwriter and database writerProfiling the logwriter and database writer
Profiling the logwriter and database writerKyle Hailey
 
Oaktable World 2014 Kevin Closson: SLOB – For More Than I/O!
Oaktable World 2014 Kevin Closson:  SLOB – For More Than I/O!Oaktable World 2014 Kevin Closson:  SLOB – For More Than I/O!
Oaktable World 2014 Kevin Closson: SLOB – For More Than I/O!Kyle Hailey
 
Oracle Open World Thursday 230 ashmasters
Oracle Open World Thursday 230 ashmastersOracle Open World Thursday 230 ashmasters
Oracle Open World Thursday 230 ashmastersKyle Hailey
 
DevOps, Databases and The Phoenix Project UGF4042 from OOW14
DevOps, Databases and The Phoenix Project UGF4042 from OOW14DevOps, Databases and The Phoenix Project UGF4042 from OOW14
DevOps, Databases and The Phoenix Project UGF4042 from OOW14Kyle Hailey
 
Delphix for DBAs by Jonathan Lewis
Delphix for DBAs by Jonathan LewisDelphix for DBAs by Jonathan Lewis
Delphix for DBAs by Jonathan LewisKyle Hailey
 
Kscope 14 Presentation : Virtual Data Platform
Kscope 14 Presentation : Virtual Data PlatformKscope 14 Presentation : Virtual Data Platform
Kscope 14 Presentation : Virtual Data PlatformKyle Hailey
 

Más de Kyle Hailey (20)

DBTA Data Summit : Eliminating the data constraint in Application Development
DBTA Data Summit : Eliminating the data constraint in Application DevelopmentDBTA Data Summit : Eliminating the data constraint in Application Development
DBTA Data Summit : Eliminating the data constraint in Application Development
 
Accelerate Develoment with VIrtual Data
Accelerate Develoment with VIrtual DataAccelerate Develoment with VIrtual Data
Accelerate Develoment with VIrtual Data
 
Delphix and Pure Storage partner
Delphix and Pure Storage partnerDelphix and Pure Storage partner
Delphix and Pure Storage partner
 
Mark Farnam : Minimizing the Concurrency Footprint of Transactions
Mark Farnam  : Minimizing the Concurrency Footprint of TransactionsMark Farnam  : Minimizing the Concurrency Footprint of Transactions
Mark Farnam : Minimizing the Concurrency Footprint of Transactions
 
Dan Norris: Exadata security
Dan Norris: Exadata securityDan Norris: Exadata security
Dan Norris: Exadata security
 
Martin Klier : Volkswagen for Oracle Guys
Martin Klier : Volkswagen for Oracle GuysMartin Klier : Volkswagen for Oracle Guys
Martin Klier : Volkswagen for Oracle Guys
 
What is DevOps
What is DevOpsWhat is DevOps
What is DevOps
 
Data as a Service
Data as a Service Data as a Service
Data as a Service
 
Data Virtualization: Revolutionizing data cloning
Data Virtualization: Revolutionizing data cloningData Virtualization: Revolutionizing data cloning
Data Virtualization: Revolutionizing data cloning
 
BGOUG "Agile Data: revolutionizing database cloning'
BGOUG  "Agile Data: revolutionizing database cloning'BGOUG  "Agile Data: revolutionizing database cloning'
BGOUG "Agile Data: revolutionizing database cloning'
 
Denver devops : enabling DevOps with data virtualization
Denver devops : enabling DevOps with data virtualizationDenver devops : enabling DevOps with data virtualization
Denver devops : enabling DevOps with data virtualization
 
Oracle Open World 2014: Lies, Damned Lies, and I/O Statistics [ CON3671]
Oracle Open World 2014: Lies, Damned Lies, and I/O Statistics [ CON3671]Oracle Open World 2014: Lies, Damned Lies, and I/O Statistics [ CON3671]
Oracle Open World 2014: Lies, Damned Lies, and I/O Statistics [ CON3671]
 
Jonathan Lewis explains Delphix
Jonathan Lewis explains Delphix Jonathan Lewis explains Delphix
Jonathan Lewis explains Delphix
 
Oaktable World 2014 Toon Koppelaars: database constraints polite excuse
Oaktable World 2014 Toon Koppelaars: database constraints polite excuseOaktable World 2014 Toon Koppelaars: database constraints polite excuse
Oaktable World 2014 Toon Koppelaars: database constraints polite excuse
 
Profiling the logwriter and database writer
Profiling the logwriter and database writerProfiling the logwriter and database writer
Profiling the logwriter and database writer
 
Oaktable World 2014 Kevin Closson: SLOB – For More Than I/O!
Oaktable World 2014 Kevin Closson:  SLOB – For More Than I/O!Oaktable World 2014 Kevin Closson:  SLOB – For More Than I/O!
Oaktable World 2014 Kevin Closson: SLOB – For More Than I/O!
 
Oracle Open World Thursday 230 ashmasters
Oracle Open World Thursday 230 ashmastersOracle Open World Thursday 230 ashmasters
Oracle Open World Thursday 230 ashmasters
 
DevOps, Databases and The Phoenix Project UGF4042 from OOW14
DevOps, Databases and The Phoenix Project UGF4042 from OOW14DevOps, Databases and The Phoenix Project UGF4042 from OOW14
DevOps, Databases and The Phoenix Project UGF4042 from OOW14
 
Delphix for DBAs by Jonathan Lewis
Delphix for DBAs by Jonathan LewisDelphix for DBAs by Jonathan Lewis
Delphix for DBAs by Jonathan Lewis
 
Kscope 14 Presentation : Virtual Data Platform
Kscope 14 Presentation : Virtual Data PlatformKscope 14 Presentation : Virtual Data Platform
Kscope 14 Presentation : Virtual Data Platform
 

Oracle 10g Performance: chapter 03a oem demo

  • 2. Four Tuning Paths Database Home Page Performance Page ADDM Page Drilldowns Solutions SQL Session Copyright 2006 Kyle Hailey
  • 3. Path 1 Database Home Page Performance Page ADDM Page Drilldowns Solutions SQL Session Actions Copyright 2006 Kyle Hailey
  • 4. Database Home Page Copyright 2006 Kyle Hailey
  • 5. ADDM Details Tablespace Solution ASSM Object Solution 2: Partitioning Solution 3: Free Lists Copyright 2006 Kyle Hailey
  • 6. Path 2 Database Home Page Performance Page ADDM Page Drilldowns Solutions SQL Session Actions Copyright 2006 Kyle Hailey
  • 7. Database Home Page Copyright 2006 Kyle Hailey
  • 8. ADDM Page Copyright 2006 Kyle Hailey
  • 9. ADDM Details Copyright 2006 Kyle Hailey
  • 10. EM Product Layout for Performance Database Home Page Performance Page ADDM Page Drilldowns Solutions SQL Session Copyright 2006 Kyle Hailey
  • 11. Database Home Page Copyright 2006 Kyle Hailey
  • 12. Database Performance Page Lots of waits ADDM Report Copyright 2006 Kyle Hailey
  • 13. ADDM Page Copyright 2006 Kyle Hailey
  • 14. ADDM Details Copyright 2006 Kyle Hailey
  • 15. EM Product Layout for Performance Database Home Page Performance Page ADDM Page Drilldowns Solutions SQL Session Copyright 2006 Kyle Hailey
  • 16. Database Performance Page “click on the big stuff” Copyright 2006 Kyle Hailey
  • 17. Wait Drilldown : Concurrency Copyright 2006 Kyle Hailey
  • 18. SQL Drilldown Copyright 2006 Kyle Hailey
  • 19. Session Drilldown Copyright 2006 Kyle Hailey
  • 20. Session : Wait History Copyright 2006 Kyle Hailey
  • 21. Part II – Taking ADDM Advice  10 users inserting concurrently into same table insert into toto1 values (t,lpad('a',1000,'a')); Copyright 2006 Kyle Hailey
  • 22. Test 1 Elapsed Time 14:44 Copyright 2006 Kyle Hailey
  • 23. ADDM Details Copyright 2006 Kyle Hailey
  • 24. ADDM Says  Use ASSM  Use Freelists  Partition Object  Trying out Freelists Copyright 2006 Kyle Hailey
  • 25. Test 2 Elapsed Time 14:59 Was 14:44 – now slower! Copyright 2006 Kyle Hailey
  • 26. ADDM Details Copyright 2006 Kyle Hailey
  • 27. ADDM says  Increase Log File Size to 2000M to hold at least 20 minutes of redo Copyright 2006 Kyle Hailey
  • 28. Test 3 14:44 14:59 Elapsed 1:23 Elapsed Time 1:23 10x Improvement! Copyright 2006 Kyle Hailey
  • 29. Final ADDM Details Copyright 2006 Kyle Hailey
  • 30. Final  Commit every 50 records instead of every record  Got elapsed down from  1:23  0:47 Copyright 2006 Kyle Hailey
  • 31. In Review  By using  Free Lists  Large Redo Log files  Job Processing went from  Over 14 minutes to  Just over 1 minute  Thanks to ADDM and OEM 10g ! Copyright 2006 Kyle Hailey