SlideShare a Scribd company logo
1 of 21
Part II : Waits Events


      Kyle Hailey
   kylelf@gmail.com

  http://oraclemonitor.com
Oracle Instrumentation

CPU

       Lib      Buffer
Redo
  Database
       Cache    Cache

        Locks
                Network
                                              *$%@!!

   IO

                 Copyright 2006 Kyle Hailey
Wait Tree                                    Write IO


Commit                                       Read IO
                                                                      Rollback
                                                                                                Administrative
                                                                                                Other
Application
SQL*Net break/reset to client                Buffer Busy              Free lists
                    IO
enq: KO - fast object checkpoint
enq: RO - fast object reuse                                                                    Network
                                                                                               Application
enq: TM - contention                         Cache Latches            IO Read          Other
                    Buffer Cache
enq: TX - row lock contention
                                   Network
                                   SQL*Net message to client                           buffer exterminate
enq: UL - contention                                                                            Administrative
                                                                                       enq: CF - contention
                                   SQL*Net Library Cache
                                           more data to client
                                   SQL*Net more data from client                       enq: CI - Cross Instance
Concurrency       Library Cache                                                        enq: TX - contention
buffer busy wait                                                                       kksfbc child completion
                                   Administrative Pool
                                          Shared                                                Concurrency
                                                                                                 Configuration
Wait
latch: cache buffers chains
os thread startup Lock
                                                                                       latch: cache buffers handles
                                                                                       latch: cache buffers lru chain
s
enq: TX - index contention         Configuration Lock
                                          TX Row
                                                                                       latch free
                                                                                               Configuration
cursor: pin S                                                                                  Commit
                                   enq: HW - contention
cursor: pin X                      enq: SQ - contention                                User I/O
                      Redo
cursor: pin S wait on X            enq: ST TX ITL Lock
                                             - contention                              data file init write
latch: library cache               enq: TX - allocate ITL entry                                  Network
                                                                                                 Application
                                                                                       db file parallel read
latch: library cache lock          free buffer wait                                    db file scattered read
latch: library cache pin Net
                      SQL          sort segment Lock                                   db file sequential read
latch: row cache objects                     HW request
                                   write complete wait                                 direct path read
                                                                                                 Concurrency
                                                                                                 Other
latch: shared pool latch           log buffer space                                    direct path read temp
library cache load lock            log file switch File                                direct path write
library cache lock                           Log (archiving needed)
                                   log file switch (checkpoint incomplete)             direct path write temp
library cache pin                  log file switch (private strand flush incomplete)             User I/O
                                                                                       local write wait
row cache lock                     log file switch Buffer                              read by other session
                                             Log completion
                                   Copyright 2006 Kyle Hailey
                                          Log File Sync
Waits beyond OEM
 OEM identifies Wait problems
 Provides solutions with ADDM sometimes but …
     What do you do when ADDM isn’t sufficient?
     What do you do if you don’t have OEM 10g?
 Then have to analyze the Waits
     Need to know about waits
     How they work
     How to analyze them




                        Copyright 2006 Kyle Hailey
v$active_session_history
  When ADDM fails or we don’t have ADDM we can
   collect the necessary information from

  v$active_session_history
    1.   Session (user, service, client, package, procedure, etc)
    2.   SQL statement
    3.   Wait
            P1
            P2
            P3
    1.   Blocking_Session (sometimes)




                             Copyright 2006 Kyle Hailey
What are P1,P2,P3 ?
 Each Wait has a 3 parameters P1,P2,P3
 Give detailed information
 Meaning different for each wait
 Meaning definitions in V$event_name

    col parameter1 for a10
    col parameter2 for a10
    col parameter3 for a10
    select parameter1 ,parameter2 , parameter3
     from v$event_name
    where name = '&1';

                     Copyright 2006 Kyle Hailey
Wait Arguments Example
select parameter1 ,parameter2 , parameter3
 from v$event_name;

NAME                           PARAMETER1      PARAMETER2      PARAMETER3
------------------------------ ----------- --------------- ---------------
latch: cache buffers chains   address         number          tries
free buffer waits             file#           block#          set-id#
buffer busy waits             file#           block#          class#
latch: redo copy              address         number          tries
log buffer space
switch logfile command
log file sync                 buffer#
db file sequential read       file#           block#          blocks
enq: TM - contention          name|mode       object #        table/partition
undo segment extension        segment#
enq: TX - row lock contention name|mode       usn<<16 | slot sequence
row cache lock                cache id        mode            request
library cache pin             handle address pin address      100*mode+namesp
library cache load lock       object address lock address     100*mask+namesp
pipe put                      handle address record length    timeout


                             Copyright 2006 Kyle Hailey
Wait Analysis requires p1,p2,p3
  Of the top 30 wait events 8 can be solved
   without ASH
         free buffer waits
         log buffer space
         log file switch (archiving needed)
         log file switch (checkpoint incomplete)
         log file switch completion
         log file sync
         switch logfile command
         write complete waits


  The rest need                         Example “hard” waits
                                         Buffer busy wait
    SQL                                 Row cache lock
                                         Latch free
    P1,P2,P3                            row lock contention
                                         Latch: cache buffers chains
    Statspack , AWR fail
                             Copyright 2006 Kyle Hailey
Wait Analysis
 SQL
     Most often the tuning answer lies in looking at what the application is
      doing, and changing it


 Parameters
   Find extended wait information
   Parameter1, Parameter2, Parameter3
   Defined in v$event_name



 Guess Work
     Sometimes the wait events that are found are not in the
      documentation and it takes some educated guesswork to figure out
      the problem
Waits we will Ignore

One thing that makes waits difficult is knowing which
 ones to look at and which ones to ignore.

 Background
 Idle
 Resource Manager
 Parallel Query
 RAC
   Good   stuff, but not covered in this seminar


                         Copyright 2006 Kyle Hailey
Background & Foreground
 Background Processes
   DBWR
   LGWR
   PMON
   SMON
   Etc

 Foreground Processes
   SQL*Plus
   Pro*C
   SQL*Forms
   Oracle   applications

Only interested in Foreground waits
                            Copyright 2006 Kyle Hailey
Background Waits
 ASH
   Avoid   Background waits in ASH with

    Select …from v$active_session_history
    Select …from v$active_session_history
    where SESSION_TYPE='FOREGROUND'
    where SESSION_TYPE='FOREGROUND'
 V$session_wait joined to v$session
    select …
     select …
    from
     from    v$session
              v$session                      s,
                                             s,
             v$session_wait
              v$session_wait                 w
                                             w
    where w.sid=s.sid
     where w.sid=s.sid
         and s.type='USER'
         and s.type='USER'

                    Copyright 2006 Kyle Hailey
Idle Waits
 Filtered Out of ASH by default
 10g
   where wait_class != ‘Idle’
   Create a list

           Select name from v$event_name where
           Select name from v$event_name where
           wait_class=‘Idle’;
           wait_class=‘Idle’;
 9i
   Create      a list with
          Documentation
          List created from 10g
          Stats$idle_events from statspack

                              SQL*Net message from client
                               Copyright 2006 Kyle Hailey
PQO and Resource Manager
 Resource manager throttles user
   Createswait
   Obfuscates problems


        select name from v$event_name where
         select name from v$event_name where
        wait_class='Scheduler';
        wait_class='Scheduler';
 Parallel Query Wait events are unusable
   Save  waits are both idle and waits
   Parallel Query Waits start with ‘PX’ or ‘KX’
       PX Deq: Par Recov Reply
       PX Deq: Parse Reply

                          Copyright 2006 Kyle Hailey
RAC Waits
RAC waits are certainly interesting but will be covered
  outside of this presentation.

   You are on your own
   Check documentation
   If you are not using RAC then no worries
   10g
           Select event from v$event_name where
           Select event from v$event_name where
           wait_class=‘Cluster’;
           wait_class=‘Cluster’;
 9i
       RAC and OPS waits usually contain the word “global”



                            Copyright 2006 Kyle Hailey
Additional Support

  AWR Tables – on disk for 7 days by default
       DBA_HIST_ACTIVE_SESS_HISTORY
           1 in 10 ASH samples
       DBA_HIST_SEG_STAT
           Sometimes make analysis of ITL and buffer busy wait easier
       DBA_HIST_SYSTEM_EVENT
           Important for getting avg wait times
       DBA_HIST_SQLSTAT
           sql execution deltas
       DBA_HIST_SYSMETRIC_SUMMARY
           Statistics avg, max, min
  Metric Tables – in memory deltas
       V$EVENTMETRIC

                                   Copyright 2006 Kyle Hailey
All Events over 7 days
 Union of 7 day history with in memory buffer :

 select count(*), event from
 ( select event from DBA_HIST_ACTIVE_SESS_HISTORY
     where sample_time < ( select min(sample_time) from
                             v$active_session_history)
   union all
   select event from v$active_session_history
       )
 group by event
 order by event
 /

                       Copyright 2006 Kyle Hailey
Avg Wait times now
select
     en.name,
     (time_waited)/nullif(wait_count,0) avg_ms,
     wait_count
from
    v$eventmetric e,
    v$event_name en
where
    e.event# = en.event#
  and en.name like '%&1%‘;

       NAME                                             AVG_MS WAIT_COUNT
       db file sequential read                      .658863707      6420
       db file scattered read                       .549427419       186
       db file parallel write                       .089073438        64

                           Copyright 2006 Kyle Hailey
Object Translation
Current fields in v$active_session_history
        CURRENT_OBJ#
        CURRENT_FILE#
        CURRENT_BLOCK#
        Called “ROW_WAIT_%” in v$session
Only apply to
        Buffer Busy Waits
        IO Waits
        Enqueue TX
Ignore these fields for other wait events
Wait interface Weaknesses
 Logons
     EM 10g shows these on perf page
     Time model helps
            V$SYS_TIME_MODEL
               connection management call elapsed time (I’ve had problems)

   Paging/Memory issues
   CPU starvation
   Null Events
   Bugs – read external table reports CPU
       http://blog.tanelpoder.com/




                                  Copyright 2006 Kyle Hailey
Summary
                                                                     Host        CPU
 Waits make Tuning Easy                                                         Memory

                                                                  Oracle Load
    Check Machine Health                                           (AAS)

    Tune Waits                                                         AAS >
                                                                        #CPU

    Tune CPU                                                      Waits >       CPU >
                                                      AAS > 1      CPU           Waits
          Tune SQL                                 Top Session     Top Wait     Top SQL
          Change Application Architecture
 Use                               Object Detail    SQL Detail    Wait Detail   Session Detail   File Detail
    OEM10g
                                                                         SQL Tuning
    Statspack/AWR,
                                         ADDM                            Advisor
    S/ASH

 Ignore Background, Idle, Resmgr, PQO
 Use ASH if OEM fails
 See http://oraclemonitor.com for more info
                                Copyright 2006 Kyle Hailey

More Related Content

What's hot

Oracle Database Management Basic 1
Oracle Database Management Basic 1Oracle Database Management Basic 1
Oracle Database Management Basic 1Chien Chung Shen
 
Troubleshooting Complex Oracle Performance Problems with Tanel Poder
Troubleshooting Complex Oracle Performance Problems with Tanel PoderTroubleshooting Complex Oracle Performance Problems with Tanel Poder
Troubleshooting Complex Oracle Performance Problems with Tanel PoderTanel Poder
 
Oracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptOracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptSantosh Kangane
 
Oracle Database SQL Tuning Concept
Oracle Database SQL Tuning ConceptOracle Database SQL Tuning Concept
Oracle Database SQL Tuning ConceptChien Chung Shen
 
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And TricksCloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And TricksScott Jenner
 
Oracle 10g Performance: chapter 09 enqueues
Oracle 10g Performance: chapter 09 enqueuesOracle 10g Performance: chapter 09 enqueues
Oracle 10g Performance: chapter 09 enqueuesKyle Hailey
 
Ash masters : advanced ash analytics on Oracle
Ash masters : advanced ash analytics on Oracle Ash masters : advanced ash analytics on Oracle
Ash masters : advanced ash analytics on Oracle Kyle Hailey
 
All Oracle DBAs have to know about Unix Memory Monitoring
All Oracle DBAs have to know about Unix Memory MonitoringAll Oracle DBAs have to know about Unix Memory Monitoring
All Oracle DBAs have to know about Unix Memory MonitoringYury Velikanov
 
Oracle Clusterware and Private Network Considerations - Practical Performance...
Oracle Clusterware and Private Network Considerations - Practical Performance...Oracle Clusterware and Private Network Considerations - Practical Performance...
Oracle Clusterware and Private Network Considerations - Practical Performance...Guenadi JILEVSKI
 
Oracle 11G SCAN: Concepts and Implementation Experience Sharing
Oracle 11G SCAN: Concepts and Implementation Experience SharingOracle 11G SCAN: Concepts and Implementation Experience Sharing
Oracle 11G SCAN: Concepts and Implementation Experience SharingYury Velikanov
 
RAC - The Savior of DBA
RAC - The Savior of DBARAC - The Savior of DBA
RAC - The Savior of DBANikhil Kumar
 
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2Tanel Poder
 
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
 
Bluestore oio adaptive_throttle_analysis
Bluestore oio adaptive_throttle_analysisBluestore oio adaptive_throttle_analysis
Bluestore oio adaptive_throttle_analysis병수 박
 
Oracle Latch and Mutex Contention Troubleshooting
Oracle Latch and Mutex Contention TroubleshootingOracle Latch and Mutex Contention Troubleshooting
Oracle Latch and Mutex Contention TroubleshootingTanel Poder
 
Oracle Exadata 1Z0-485 Certification
Oracle Exadata 1Z0-485 CertificationOracle Exadata 1Z0-485 Certification
Oracle Exadata 1Z0-485 CertificationExadatadba
 
Managing Exadata in the Real World
Managing Exadata in the Real WorldManaging Exadata in the Real World
Managing Exadata in the Real WorldEnkitec
 

What's hot (20)

Oracle Database Management Basic 1
Oracle Database Management Basic 1Oracle Database Management Basic 1
Oracle Database Management Basic 1
 
Troubleshooting Complex Oracle Performance Problems with Tanel Poder
Troubleshooting Complex Oracle Performance Problems with Tanel PoderTroubleshooting Complex Oracle Performance Problems with Tanel Poder
Troubleshooting Complex Oracle Performance Problems with Tanel Poder
 
Oracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptOracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and concept
 
Oracle Database SQL Tuning Concept
Oracle Database SQL Tuning ConceptOracle Database SQL Tuning Concept
Oracle Database SQL Tuning Concept
 
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And TricksCloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
 
Oracle 10g Performance: chapter 09 enqueues
Oracle 10g Performance: chapter 09 enqueuesOracle 10g Performance: chapter 09 enqueues
Oracle 10g Performance: chapter 09 enqueues
 
Ash masters : advanced ash analytics on Oracle
Ash masters : advanced ash analytics on Oracle Ash masters : advanced ash analytics on Oracle
Ash masters : advanced ash analytics on Oracle
 
Rmoug ashmaster
Rmoug ashmasterRmoug ashmaster
Rmoug ashmaster
 
All Oracle DBAs have to know about Unix Memory Monitoring
All Oracle DBAs have to know about Unix Memory MonitoringAll Oracle DBAs have to know about Unix Memory Monitoring
All Oracle DBAs have to know about Unix Memory Monitoring
 
Oracle Clusterware and Private Network Considerations - Practical Performance...
Oracle Clusterware and Private Network Considerations - Practical Performance...Oracle Clusterware and Private Network Considerations - Practical Performance...
Oracle Clusterware and Private Network Considerations - Practical Performance...
 
Oracle 11G SCAN: Concepts and Implementation Experience Sharing
Oracle 11G SCAN: Concepts and Implementation Experience SharingOracle 11G SCAN: Concepts and Implementation Experience Sharing
Oracle 11G SCAN: Concepts and Implementation Experience Sharing
 
RAC - The Savior of DBA
RAC - The Savior of DBARAC - The Savior of DBA
RAC - The Savior of DBA
 
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2
 
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
 
Bluestore oio adaptive_throttle_analysis
Bluestore oio adaptive_throttle_analysisBluestore oio adaptive_throttle_analysis
Bluestore oio adaptive_throttle_analysis
 
Oracle Latch and Mutex Contention Troubleshooting
Oracle Latch and Mutex Contention TroubleshootingOracle Latch and Mutex Contention Troubleshooting
Oracle Latch and Mutex Contention Troubleshooting
 
Oracle Exadata 1Z0-485 Certification
Oracle Exadata 1Z0-485 CertificationOracle Exadata 1Z0-485 Certification
Oracle Exadata 1Z0-485 Certification
 
Managing Exadata in the Real World
Managing Exadata in the Real WorldManaging Exadata in the Real World
Managing Exadata in the Real World
 
optimizing_ceph_flash
optimizing_ceph_flashoptimizing_ceph_flash
optimizing_ceph_flash
 

Viewers also liked

Kscope 14 Presentation : Virtual Data Platform
Kscope 14 Presentation : Virtual Data PlatformKscope 14 Presentation : Virtual Data Platform
Kscope 14 Presentation : Virtual Data PlatformKyle Hailey
 
Successfully convince people with data visualization
Successfully convince people with data visualizationSuccessfully convince people with data visualization
Successfully convince people with data visualizationKyle Hailey
 
SQL Tuning and VST
SQL Tuning and VST SQL Tuning and VST
SQL Tuning and VST Kyle Hailey
 
Oracle 10g Performance: chapter 01 ash
Oracle 10g Performance: chapter 01 ashOracle 10g Performance: chapter 01 ash
Oracle 10g Performance: chapter 01 ashKyle Hailey
 
Message Queue (MQ) Testing
Message Queue (MQ) TestingMessage Queue (MQ) Testing
Message Queue (MQ) TestingUjjwal Gupta
 
Oracle 10g rac_overview
Oracle 10g rac_overviewOracle 10g rac_overview
Oracle 10g rac_overviewRobel Parvini
 
Step By Step Install Oracle 10g Rac Asm On Windows
Step By Step Install Oracle 10g Rac Asm On WindowsStep By Step Install Oracle 10g Rac Asm On Windows
Step By Step Install Oracle 10g Rac Asm On Windowsjstorm
 
Creating Queue Manager and Queue's in IBM WebSphere Mq
Creating Queue Manager and Queue's in IBM WebSphere MqCreating Queue Manager and Queue's in IBM WebSphere Mq
Creating Queue Manager and Queue's in IBM WebSphere MqRavi Babu
 
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
 
Sending and receiving messages in mq queues
Sending and receiving messages in mq queuesSending and receiving messages in mq queues
Sending and receiving messages in mq queuesRavi Babu
 
Oracle 10g Performance: chapter 00 intro live_short
Oracle 10g Performance: chapter 00 intro live_shortOracle 10g Performance: chapter 00 intro live_short
Oracle 10g Performance: chapter 00 intro live_shortKyle Hailey
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuningAbishek V S
 
Oracle Database Security: Top 10 Things You Could & Should Be Doing Differently
Oracle Database Security: Top 10 Things You Could & Should Be Doing DifferentlyOracle Database Security: Top 10 Things You Could & Should Be Doing Differently
Oracle Database Security: Top 10 Things You Could & Should Be Doing DifferentlyPythian
 
Oracle DB Performance Tuning Tips
Oracle DB Performance Tuning TipsOracle DB Performance Tuning Tips
Oracle DB Performance Tuning TipsAsanka Dilruk
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuningYogiji Creations
 
Websphere MQ admin guide
Websphere MQ admin guideWebsphere MQ admin guide
Websphere MQ admin guideRam Babu
 

Viewers also liked (20)

Kscope 14 Presentation : Virtual Data Platform
Kscope 14 Presentation : Virtual Data PlatformKscope 14 Presentation : Virtual Data Platform
Kscope 14 Presentation : Virtual Data Platform
 
New Crop Varieties and Climate Chane Adaptation, IAAE symposium 2015
New Crop Varieties and Climate Chane Adaptation, IAAE symposium 2015New Crop Varieties and Climate Chane Adaptation, IAAE symposium 2015
New Crop Varieties and Climate Chane Adaptation, IAAE symposium 2015
 
4 Kleinwechter- Agriculture and Forest Sector Long-Term Outlook from GLOBIOM
4 Kleinwechter-  Agriculture and Forest Sector Long-Term Outlook from GLOBIOM4 Kleinwechter-  Agriculture and Forest Sector Long-Term Outlook from GLOBIOM
4 Kleinwechter- Agriculture and Forest Sector Long-Term Outlook from GLOBIOM
 
Successfully convince people with data visualization
Successfully convince people with data visualizationSuccessfully convince people with data visualization
Successfully convince people with data visualization
 
Regional Development versus Global Mitigation: Insights from GLOBIOM
Regional Development versus Global Mitigation: Insights from GLOBIOMRegional Development versus Global Mitigation: Insights from GLOBIOM
Regional Development versus Global Mitigation: Insights from GLOBIOM
 
SQL Tuning and VST
SQL Tuning and VST SQL Tuning and VST
SQL Tuning and VST
 
Oracle 10g Performance: chapter 01 ash
Oracle 10g Performance: chapter 01 ashOracle 10g Performance: chapter 01 ash
Oracle 10g Performance: chapter 01 ash
 
Message Queue (MQ) Testing
Message Queue (MQ) TestingMessage Queue (MQ) Testing
Message Queue (MQ) Testing
 
Oracle 10g rac_overview
Oracle 10g rac_overviewOracle 10g rac_overview
Oracle 10g rac_overview
 
Step By Step Install Oracle 10g Rac Asm On Windows
Step By Step Install Oracle 10g Rac Asm On WindowsStep By Step Install Oracle 10g Rac Asm On Windows
Step By Step Install Oracle 10g Rac Asm On Windows
 
Creating Queue Manager and Queue's in IBM WebSphere Mq
Creating Queue Manager and Queue's in IBM WebSphere MqCreating Queue Manager and Queue's in IBM WebSphere Mq
Creating Queue Manager and Queue's in IBM WebSphere Mq
 
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
 
Sending and receiving messages in mq queues
Sending and receiving messages in mq queuesSending and receiving messages in mq queues
Sending and receiving messages in mq queues
 
Oracle 10g Performance: chapter 00 intro live_short
Oracle 10g Performance: chapter 00 intro live_shortOracle 10g Performance: chapter 00 intro live_short
Oracle 10g Performance: chapter 00 intro live_short
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuning
 
Oracle Database Security: Top 10 Things You Could & Should Be Doing Differently
Oracle Database Security: Top 10 Things You Could & Should Be Doing DifferentlyOracle Database Security: Top 10 Things You Could & Should Be Doing Differently
Oracle Database Security: Top 10 Things You Could & Should Be Doing Differently
 
Oracle DB Performance Tuning Tips
Oracle DB Performance Tuning TipsOracle DB Performance Tuning Tips
Oracle DB Performance Tuning Tips
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuning
 
Websphere MQ admin guide
Websphere MQ admin guideWebsphere MQ admin guide
Websphere MQ admin guide
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
 

Similar to Oracle 10g Performance: chapter 05 waits intro

Open stack in sina
Open stack in sinaOpen stack in sina
Open stack in sinaHui Cheng
 
Introduction to Apache Kafka- Part 1
Introduction to Apache Kafka- Part 1Introduction to Apache Kafka- Part 1
Introduction to Apache Kafka- Part 1Knoldus Inc.
 
Streams are Awesome - (Node.js) TimesOpen Sep 2012
Streams are Awesome - (Node.js) TimesOpen Sep 2012 Streams are Awesome - (Node.js) TimesOpen Sep 2012
Streams are Awesome - (Node.js) TimesOpen Sep 2012 Tom Croucher
 
Scylla Summit 2018: Keeping Your Latency SLAs No Matter What!
Scylla Summit 2018: Keeping Your Latency SLAs No Matter What!Scylla Summit 2018: Keeping Your Latency SLAs No Matter What!
Scylla Summit 2018: Keeping Your Latency SLAs No Matter What!ScyllaDB
 
Zero-Copy Event-Driven Servers with Netty
Zero-Copy Event-Driven Servers with NettyZero-Copy Event-Driven Servers with Netty
Zero-Copy Event-Driven Servers with NettyDaniel Bimschas
 
ksqlDB Workshop
ksqlDB WorkshopksqlDB Workshop
ksqlDB Workshopconfluent
 
Scaling the Container Dataplane
Scaling the Container Dataplane Scaling the Container Dataplane
Scaling the Container Dataplane Michelle Holley
 
Dissecting Open Source Cloud Evolution: An OpenStack Case Study
Dissecting Open Source Cloud Evolution: An OpenStack Case StudyDissecting Open Source Cloud Evolution: An OpenStack Case Study
Dissecting Open Source Cloud Evolution: An OpenStack Case StudySalman Baset
 
Streaming ETL with Apache Kafka and KSQL
Streaming ETL with Apache Kafka and KSQLStreaming ETL with Apache Kafka and KSQL
Streaming ETL with Apache Kafka and KSQLNick Dearden
 
Acunu & OCaml: Experience Report, CUFP
Acunu & OCaml: Experience Report, CUFPAcunu & OCaml: Experience Report, CUFP
Acunu & OCaml: Experience Report, CUFPAcunu
 
Sql server 2012 - always on deep dive - bob duffy
Sql server 2012 - always on deep dive - bob duffySql server 2012 - always on deep dive - bob duffy
Sql server 2012 - always on deep dive - bob duffyAnuradha
 
14th Athens Big Data Meetup - Landoop Workshop - Apache Kafka Entering The St...
14th Athens Big Data Meetup - Landoop Workshop - Apache Kafka Entering The St...14th Athens Big Data Meetup - Landoop Workshop - Apache Kafka Entering The St...
14th Athens Big Data Meetup - Landoop Workshop - Apache Kafka Entering The St...Athens Big Data
 
MARC ONERA Toulouse2012 Altreonic
MARC ONERA Toulouse2012 AltreonicMARC ONERA Toulouse2012 Altreonic
MARC ONERA Toulouse2012 AltreonicEric Verhulst
 
OpenStack and OpenFlow Demos
OpenStack and OpenFlow DemosOpenStack and OpenFlow Demos
OpenStack and OpenFlow DemosBrent Salisbury
 
Production Ready Kafka on Kubernetes (Devandra Tagare, Lyft) Kafka Summit SF ...
Production Ready Kafka on Kubernetes (Devandra Tagare, Lyft) Kafka Summit SF ...Production Ready Kafka on Kubernetes (Devandra Tagare, Lyft) Kafka Summit SF ...
Production Ready Kafka on Kubernetes (Devandra Tagare, Lyft) Kafka Summit SF ...confluent
 

Similar to Oracle 10g Performance: chapter 05 waits intro (20)

Presentation
PresentationPresentation
Presentation
 
Presentation
PresentationPresentation
Presentation
 
Open stack in sina
Open stack in sinaOpen stack in sina
Open stack in sina
 
Introduction to Apache Kafka- Part 1
Introduction to Apache Kafka- Part 1Introduction to Apache Kafka- Part 1
Introduction to Apache Kafka- Part 1
 
Streams are Awesome - (Node.js) TimesOpen Sep 2012
Streams are Awesome - (Node.js) TimesOpen Sep 2012 Streams are Awesome - (Node.js) TimesOpen Sep 2012
Streams are Awesome - (Node.js) TimesOpen Sep 2012
 
Scylla Summit 2018: Keeping Your Latency SLAs No Matter What!
Scylla Summit 2018: Keeping Your Latency SLAs No Matter What!Scylla Summit 2018: Keeping Your Latency SLAs No Matter What!
Scylla Summit 2018: Keeping Your Latency SLAs No Matter What!
 
Zero-Copy Event-Driven Servers with Netty
Zero-Copy Event-Driven Servers with NettyZero-Copy Event-Driven Servers with Netty
Zero-Copy Event-Driven Servers with Netty
 
Usenix lisa 2011
Usenix lisa 2011Usenix lisa 2011
Usenix lisa 2011
 
ksqlDB Workshop
ksqlDB WorkshopksqlDB Workshop
ksqlDB Workshop
 
Apache con 2011 gd
Apache con 2011 gdApache con 2011 gd
Apache con 2011 gd
 
Scaling the Container Dataplane
Scaling the Container Dataplane Scaling the Container Dataplane
Scaling the Container Dataplane
 
Dissecting Open Source Cloud Evolution: An OpenStack Case Study
Dissecting Open Source Cloud Evolution: An OpenStack Case StudyDissecting Open Source Cloud Evolution: An OpenStack Case Study
Dissecting Open Source Cloud Evolution: An OpenStack Case Study
 
Streaming ETL with Apache Kafka and KSQL
Streaming ETL with Apache Kafka and KSQLStreaming ETL with Apache Kafka and KSQL
Streaming ETL with Apache Kafka and KSQL
 
Acunu & OCaml: Experience Report, CUFP
Acunu & OCaml: Experience Report, CUFPAcunu & OCaml: Experience Report, CUFP
Acunu & OCaml: Experience Report, CUFP
 
Sql server 2012 - always on deep dive - bob duffy
Sql server 2012 - always on deep dive - bob duffySql server 2012 - always on deep dive - bob duffy
Sql server 2012 - always on deep dive - bob duffy
 
14th Athens Big Data Meetup - Landoop Workshop - Apache Kafka Entering The St...
14th Athens Big Data Meetup - Landoop Workshop - Apache Kafka Entering The St...14th Athens Big Data Meetup - Landoop Workshop - Apache Kafka Entering The St...
14th Athens Big Data Meetup - Landoop Workshop - Apache Kafka Entering The St...
 
MARC ONERA Toulouse2012 Altreonic
MARC ONERA Toulouse2012 AltreonicMARC ONERA Toulouse2012 Altreonic
MARC ONERA Toulouse2012 Altreonic
 
OpenStack and OpenFlow Demos
OpenStack and OpenFlow DemosOpenStack and OpenFlow Demos
OpenStack and OpenFlow Demos
 
Production Ready Kafka on Kubernetes (Devandra Tagare, Lyft) Kafka Summit SF ...
Production Ready Kafka on Kubernetes (Devandra Tagare, Lyft) Kafka Summit SF ...Production Ready Kafka on Kubernetes (Devandra Tagare, Lyft) Kafka Summit SF ...
Production Ready Kafka on Kubernetes (Devandra Tagare, Lyft) Kafka Summit SF ...
 
SQL Azure in deep
SQL Azure in deepSQL Azure in deep
SQL Azure in deep
 

More from Kyle Hailey

Hooks in postgresql by Guillaume Lelarge
Hooks in postgresql by Guillaume LelargeHooks in postgresql by Guillaume Lelarge
Hooks in postgresql by Guillaume LelargeKyle Hailey
 
Performance insights twitch
Performance insights twitchPerformance insights twitch
Performance insights twitchKyle Hailey
 
History of database monitoring
History of database monitoringHistory of database monitoring
History of database monitoringKyle Hailey
 
Virtual Data : Eliminating the data constraint in Application Development
Virtual Data :  Eliminating the data constraint in Application DevelopmentVirtual Data :  Eliminating the data constraint in Application Development
Virtual Data : Eliminating the data constraint in Application DevelopmentKyle 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
 
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
 
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
 
Data Virtualization: revolutionizing database cloning
Data Virtualization: revolutionizing database cloningData Virtualization: revolutionizing database cloning
Data Virtualization: revolutionizing database cloningKyle Hailey
 
Delphix and DBmaestro
Delphix and DBmaestroDelphix and DBmaestro
Delphix and DBmaestroKyle Hailey
 

More from Kyle Hailey (20)

Hooks in postgresql by Guillaume Lelarge
Hooks in postgresql by Guillaume LelargeHooks in postgresql by Guillaume Lelarge
Hooks in postgresql by Guillaume Lelarge
 
Performance insights twitch
Performance insights twitchPerformance insights twitch
Performance insights twitch
 
History of database monitoring
History of database monitoringHistory of database monitoring
History of database monitoring
 
Virtual Data : Eliminating the data constraint in Application Development
Virtual Data :  Eliminating the data constraint in Application DevelopmentVirtual Data :  Eliminating the data constraint in Application Development
Virtual Data : Eliminating the data constraint in Application Development
 
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
 
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
 
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
 
Data Virtualization: revolutionizing database cloning
Data Virtualization: revolutionizing database cloningData Virtualization: revolutionizing database cloning
Data Virtualization: revolutionizing database cloning
 
Delphix and DBmaestro
Delphix and DBmaestroDelphix and DBmaestro
Delphix and DBmaestro
 

Recently uploaded

ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 

Recently uploaded (20)

ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 

Oracle 10g Performance: chapter 05 waits intro

  • 1. Part II : Waits Events Kyle Hailey kylelf@gmail.com http://oraclemonitor.com
  • 2. Oracle Instrumentation CPU Lib Buffer Redo Database Cache Cache Locks Network *$%@!! IO Copyright 2006 Kyle Hailey
  • 3. Wait Tree Write IO Commit Read IO Rollback Administrative Other Application SQL*Net break/reset to client Buffer Busy Free lists IO enq: KO - fast object checkpoint enq: RO - fast object reuse Network Application enq: TM - contention Cache Latches IO Read Other Buffer Cache enq: TX - row lock contention Network SQL*Net message to client buffer exterminate enq: UL - contention Administrative enq: CF - contention SQL*Net Library Cache more data to client SQL*Net more data from client enq: CI - Cross Instance Concurrency Library Cache enq: TX - contention buffer busy wait kksfbc child completion Administrative Pool Shared Concurrency Configuration Wait latch: cache buffers chains os thread startup Lock latch: cache buffers handles latch: cache buffers lru chain s enq: TX - index contention Configuration Lock TX Row latch free Configuration cursor: pin S Commit enq: HW - contention cursor: pin X enq: SQ - contention User I/O Redo cursor: pin S wait on X enq: ST TX ITL Lock - contention data file init write latch: library cache enq: TX - allocate ITL entry Network Application db file parallel read latch: library cache lock free buffer wait db file scattered read latch: library cache pin Net SQL sort segment Lock db file sequential read latch: row cache objects HW request write complete wait direct path read Concurrency Other latch: shared pool latch log buffer space direct path read temp library cache load lock log file switch File direct path write library cache lock Log (archiving needed) log file switch (checkpoint incomplete) direct path write temp library cache pin log file switch (private strand flush incomplete) User I/O local write wait row cache lock log file switch Buffer read by other session Log completion Copyright 2006 Kyle Hailey Log File Sync
  • 4. Waits beyond OEM  OEM identifies Wait problems  Provides solutions with ADDM sometimes but …  What do you do when ADDM isn’t sufficient?  What do you do if you don’t have OEM 10g?  Then have to analyze the Waits  Need to know about waits  How they work  How to analyze them Copyright 2006 Kyle Hailey
  • 5. v$active_session_history  When ADDM fails or we don’t have ADDM we can collect the necessary information from  v$active_session_history 1. Session (user, service, client, package, procedure, etc) 2. SQL statement 3. Wait  P1  P2  P3 1. Blocking_Session (sometimes) Copyright 2006 Kyle Hailey
  • 6. What are P1,P2,P3 ?  Each Wait has a 3 parameters P1,P2,P3  Give detailed information  Meaning different for each wait  Meaning definitions in V$event_name col parameter1 for a10 col parameter2 for a10 col parameter3 for a10 select parameter1 ,parameter2 , parameter3 from v$event_name where name = '&1'; Copyright 2006 Kyle Hailey
  • 7. Wait Arguments Example select parameter1 ,parameter2 , parameter3 from v$event_name; NAME PARAMETER1 PARAMETER2 PARAMETER3 ------------------------------ ----------- --------------- --------------- latch: cache buffers chains address number tries free buffer waits file# block# set-id# buffer busy waits file# block# class# latch: redo copy address number tries log buffer space switch logfile command log file sync buffer# db file sequential read file# block# blocks enq: TM - contention name|mode object # table/partition undo segment extension segment# enq: TX - row lock contention name|mode usn<<16 | slot sequence row cache lock cache id mode request library cache pin handle address pin address 100*mode+namesp library cache load lock object address lock address 100*mask+namesp pipe put handle address record length timeout Copyright 2006 Kyle Hailey
  • 8. Wait Analysis requires p1,p2,p3  Of the top 30 wait events 8 can be solved without ASH free buffer waits log buffer space log file switch (archiving needed) log file switch (checkpoint incomplete) log file switch completion log file sync switch logfile command write complete waits  The rest need Example “hard” waits Buffer busy wait  SQL Row cache lock Latch free  P1,P2,P3 row lock contention Latch: cache buffers chains  Statspack , AWR fail Copyright 2006 Kyle Hailey
  • 9. Wait Analysis  SQL  Most often the tuning answer lies in looking at what the application is doing, and changing it  Parameters  Find extended wait information  Parameter1, Parameter2, Parameter3  Defined in v$event_name  Guess Work  Sometimes the wait events that are found are not in the documentation and it takes some educated guesswork to figure out the problem
  • 10. Waits we will Ignore One thing that makes waits difficult is knowing which ones to look at and which ones to ignore.  Background  Idle  Resource Manager  Parallel Query  RAC  Good stuff, but not covered in this seminar Copyright 2006 Kyle Hailey
  • 11. Background & Foreground  Background Processes  DBWR  LGWR  PMON  SMON  Etc  Foreground Processes  SQL*Plus  Pro*C  SQL*Forms  Oracle applications Only interested in Foreground waits Copyright 2006 Kyle Hailey
  • 12. Background Waits  ASH  Avoid Background waits in ASH with Select …from v$active_session_history Select …from v$active_session_history where SESSION_TYPE='FOREGROUND' where SESSION_TYPE='FOREGROUND'  V$session_wait joined to v$session select … select … from from v$session v$session s, s, v$session_wait v$session_wait w w where w.sid=s.sid where w.sid=s.sid and s.type='USER' and s.type='USER' Copyright 2006 Kyle Hailey
  • 13. Idle Waits  Filtered Out of ASH by default  10g  where wait_class != ‘Idle’  Create a list Select name from v$event_name where Select name from v$event_name where wait_class=‘Idle’; wait_class=‘Idle’;  9i  Create a list with  Documentation  List created from 10g  Stats$idle_events from statspack SQL*Net message from client Copyright 2006 Kyle Hailey
  • 14. PQO and Resource Manager  Resource manager throttles user  Createswait  Obfuscates problems select name from v$event_name where select name from v$event_name where wait_class='Scheduler'; wait_class='Scheduler';  Parallel Query Wait events are unusable  Save waits are both idle and waits  Parallel Query Waits start with ‘PX’ or ‘KX’  PX Deq: Par Recov Reply  PX Deq: Parse Reply Copyright 2006 Kyle Hailey
  • 15. RAC Waits RAC waits are certainly interesting but will be covered outside of this presentation.  You are on your own  Check documentation  If you are not using RAC then no worries  10g Select event from v$event_name where Select event from v$event_name where wait_class=‘Cluster’; wait_class=‘Cluster’;  9i  RAC and OPS waits usually contain the word “global” Copyright 2006 Kyle Hailey
  • 16. Additional Support  AWR Tables – on disk for 7 days by default  DBA_HIST_ACTIVE_SESS_HISTORY  1 in 10 ASH samples  DBA_HIST_SEG_STAT  Sometimes make analysis of ITL and buffer busy wait easier  DBA_HIST_SYSTEM_EVENT  Important for getting avg wait times  DBA_HIST_SQLSTAT  sql execution deltas  DBA_HIST_SYSMETRIC_SUMMARY  Statistics avg, max, min  Metric Tables – in memory deltas  V$EVENTMETRIC Copyright 2006 Kyle Hailey
  • 17. All Events over 7 days Union of 7 day history with in memory buffer : select count(*), event from ( select event from DBA_HIST_ACTIVE_SESS_HISTORY where sample_time < ( select min(sample_time) from v$active_session_history) union all select event from v$active_session_history ) group by event order by event / Copyright 2006 Kyle Hailey
  • 18. Avg Wait times now select en.name, (time_waited)/nullif(wait_count,0) avg_ms, wait_count from v$eventmetric e, v$event_name en where e.event# = en.event# and en.name like '%&1%‘; NAME AVG_MS WAIT_COUNT db file sequential read .658863707 6420 db file scattered read .549427419 186 db file parallel write .089073438 64 Copyright 2006 Kyle Hailey
  • 19. Object Translation Current fields in v$active_session_history  CURRENT_OBJ#  CURRENT_FILE#  CURRENT_BLOCK#  Called “ROW_WAIT_%” in v$session Only apply to  Buffer Busy Waits  IO Waits  Enqueue TX Ignore these fields for other wait events
  • 20. Wait interface Weaknesses  Logons  EM 10g shows these on perf page  Time model helps  V$SYS_TIME_MODEL  connection management call elapsed time (I’ve had problems)  Paging/Memory issues  CPU starvation  Null Events  Bugs – read external table reports CPU  http://blog.tanelpoder.com/ Copyright 2006 Kyle Hailey
  • 21. Summary Host CPU  Waits make Tuning Easy Memory Oracle Load  Check Machine Health (AAS)  Tune Waits AAS > #CPU  Tune CPU Waits > CPU > AAS > 1 CPU Waits  Tune SQL Top Session Top Wait Top SQL  Change Application Architecture  Use Object Detail SQL Detail Wait Detail Session Detail File Detail  OEM10g SQL Tuning  Statspack/AWR, ADDM Advisor  S/ASH  Ignore Background, Idle, Resmgr, PQO  Use ASH if OEM fails  See http://oraclemonitor.com for more info Copyright 2006 Kyle Hailey

Editor's Notes

  1. COUNT(*) EVENT ---------- ------------------------------------------------------- 342 Data file init write 3 L1 validation 3 LGWR wait for redo copy 4 Log file init write 200 PX Deq Credit: send blkd 22 SGA: allocation forcing component growth 3 SQL*Net break/reset to client 1 SQL*Net more data to client 14 Streams AQ: qmn coordinator waiting for slave to start 3284 buffer busy waits 2 buffer deadlock 74 buffer exterminate 780 control file parallel write 9 control file sequential read 12674 db file parallel write 1537 db file scattered read 3831 db file sequential read 41 db file single write 8 direct path read 31 direct path write 47 direct path write temp 5 enq: CF - contention 3 enq: CI - contention 805 enq: FB - contention 944 enq: HW - contention 1 enq: IM - contention for blr 476 enq: RO - fast object reuse 32 enq: SQ - contention 34 enq: TC - contention 18972 enq: TM - contention 1851 enq: TX - allocate ITL entry 90 enq: TX - contention 402 enq: TX - index contention 11587 enq: TX - row lock contention 2278 enq: UL - contention 1962 free buffer waits 31 inactive session 4 kksfbc child completion 1069 latch free 1 latch: In memory undo latch 1071 latch: cache buffers chains 241 latch: cache buffers lru chain 43 latch: library cache 9 latch: library cache pin 1 latch: shared pool 7 library cache load lock 94 library cache lock 93 library cache pin 99 local write wait 555 log buffer space 879 log file parallel write 340 log file switch (checkpoint incomplete) 98 log file switch completion 453 log file sync 50 null event 121 os thread startup 53 rdbms ipc reply 1236 read by other session 2 reliable message 12 row cache lock 180 wait for a undo record 28 wait for stopper event to be increased 127 wait list latch free 25 write complete waits
  2. From Tanel Poder http://blog.tanelpoder.com/ Advanced Oracle Troubleshooting Guide: When the wait interface is not enough [part 1] Filed under: Unix/Linux, Troubleshooting, Internals, Oracle — tanelp @ 9:38 pm Welcome to read my first real post on this blog! If I ever manage to post any more entries, the type and style of content will be pretty much as this one: some Oracle problem diagnosis and troubleshooting techniques with some OS and hardware touch in it. Mmm… internals ;-) Nevertheless I am also a fan of systematic approaches and methods so I plan to propose some less known OS and Oracle techniques for reducing guesswork in advanced troubleshooting even further. Ok, to the topic. Troubleshooting. Troubleshooting = finding out what is going on. This post covers one unexplained issue I once had with Oracle external tables - which eventually turned out to be a problem with Oracle wait interface instrumentation. I used some of these “what’s going on” techniques to find out… what’s going on. Solaris 10 x64 / Oracle 10.2.0.2. ________________________________________ I worked on a project for which I needed to read data through an external table from an Unix pipe ( ever wanted to load compressed flat file contents to Oracle on-the-fly? ;-) I created a Unix pipe: $ mknod /tmp/tmp_pipe p I created an Oracle external table, reading from that pipe: Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production With the Partitioning, OLAP and Data Mining options USERNAME INSTANCE_NAME HOST_NAME VER STARTED SID SERIAL# SPID ------------ ---------------- ------------------------- ---------- -------- ------- ------- ------- TANEL SOL01 solaris01 10.2.0.2.0 20070618 470 14 724 Tanel@Sol01&gt; CREATE DIRECTORY dir AS &apos;/tmp&apos;; Directory created. Tanel@Sol01&gt; CREATE TABLE ext ( 2 value number 3 ) 4 ORGANIZATION EXTERNAL ( 5 TYPE oracle_loader 6 DEFAULT DIRECTORY dir 7 ACCESS PARAMETERS ( 8 FIELDS TERMINATED BY &apos;;&apos; 9 MISSING FIELD VALUES ARE NULL 10 (value) 11 ) 12 LOCATION (&apos;tmp_pipe&apos;) 13 ) 14 ; Table created. Tanel@Sol01&gt; select * from ext; So far so good… unfortunately this select statement never returned any results. As it turned out later, the gunzip over remote ssh link which should have fed the Unix pipe with flat file data, had got stuck. Without realizing that, I approached this potential session hang condition with first obvious check - a select from V$SESSION_WAIT: Tanel@Sol01&gt; select sid, event, state, seq#, seconds_in_wait, p1,p2,p3 2 from v$session_wait 3 where sid = 470; SID EVENT STATE SEQ# SECONDS_IN_WAIT P1 P2 P3 ------- ------------------------------ ------------------- ---------- --------------- ---------- ---------- ---------- 470 db file sequential read WAITED KNOWN TIME 164 7338 1 1892 1 Tanel@Sol01&gt; / SID EVENT STATE SEQ# SECONDS_IN_WAIT P1 P2 P3 ------- ------------------------------ ------------------- ---------- --------------- ---------- ---------- ---------- 470 db file sequential read WAITED KNOWN TIME 164 7353 1 1892 1 Tanel@Sol01&gt; / SID EVENT STATE SEQ# SECONDS_IN_WAIT P1 P2 P3 ------- ------------------------------ ------------------- ---------- --------------- ---------- ---------- ---------- 470 db file sequential read WAITED KNOWN TIME 164 7374 1 1892 1 Tanel@Sol01&gt; The STATE and SECONDS_IN_WAIT columns in V$SESSION_WAIT say we have been crunching the CPU for last two hours, right? (as WAITED… means NOT waiting on any event, in this case the EVENT just shows the last event on which we waited before getting on CPU) Hmm.. let’s check it out: $ prstat -p 724 PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP 724 oracle 621M 533M sleep 59 0 0:00:00 0.0% oracle/1 prstat reports that this process is currently in sleep state, is not using CPU and has used virtually no CPU during its 2-hour “run” time! Let’s check with ps (which is actually a quite powerful tool): $ ps -o user,pid,s,pcpu,time,etime,wchan,comm -p 724 USER PID S %CPU TIME ELAPSED WCHAN COMMAND oracle 724 S 0.0 00:01 02:18:08 ffffffff8135cadc oracleSOL01 ps also confirms that the process 724 has existed for over 2 hours 18 minutes (ELAPSED), but has only used roughly 1 second of CPU time (TIME). The state column “S” also indicates the sleeping status. So, either Oracle V$SESSION_WAIT or standard Unix tools are lying to us. From above evidence it is pretty clear that it’s Oracle who’s lying (also, in cases like that, lower-level instrumentation always has a better chance to know what’s really going on at the upper level than vice versa). So, let’s use truss (or strace on Linux, tusc on HP-UX) to see if our code is making any system calls or is sleeping within a system call… $ truss -p 724 read(14, 0xFFFFFD7FFD6FDE0F, 524273) (sleeping…) Hmm, as no followup is printed to this line, it looks like the process is waiting for a read operation on a file descriptor 14 to complete. Which file is this fd 14 about? $ pfiles 724 724: oracleSOL01 (LOCAL=NO) ...snip... 14: S_IFIFO mode:0644 dev:274,2 ino:4036320452 uid:100 gid:300 size:0 O_RDONLY|O_LARGEFILE /tmp/tmp_pipe … snip… So from here it’s already pretty obvious where the problem is. There is no data coming from the tmp_pipe. This led me to check what was my gunzip doing on the other end of the pipe and it was stuck, in turn waiting for ssh to feed more data into it. And ssh had got stuck due some network transport issue. The baseline is that you can rely on low-level (OS) tools to identify what’s really going on when higher level tools (like Oracle wait interface) provide weird or contradicting information, in this case the Oracle wait interface was not recording external table read wait events. I reported this info to Oracle people and I think it has been filed as a bug by now. ________________________________________ This was only a simple demo, identifying a pretty clear case of a session hang, however with use of a pretty intrusive tool ( I would not attach truss to a busy production instance process without thinking twice ). However there are other options. In the next part of this guide ( when I manage to write it ) I will deal with more complex problems like what to do when the session is not reporting significant waits and is spinning heavily on CPU. Using Oracle and Unix tools it is quite easy to figure out the execution profile of a spinning server process, even without connecting to Oracle at all ( do I hear pstack, mdb and stack tracing? ;-) As I’ve just started blogging, I would appreciate any feedback, including about things like blog layout, font sizes, readability, understandability etc. Also I think it will take few days before I manage to post the Part 2 of this troubleshooting guide. Thank you for your patience reading through this :-)
  3. s