Home > Ask the Oracle Experts > Database Backup and Recovery Questions & Answers > Analyzing wait events in Oracle
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Analyzing wait events in Oracle

Brian Peasland EXPERT RESPONSE FROM: Brian Peasland

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Oracle tips, scripts, and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 01 May 2008
Explain plan shows everything is fine. But the query is still not performing well. What could be the issue and what are the steps to check?

>
EXPERT RESPONSE
The next step is to determine where the query is spending its time waiting. For that, you'll have to look at the query's wait events. The following URL's show some information on wait events:

Oracle Performance Tuning Using Event

Interpreting Wait Events To Boost System Performance (PowerPoint presentation download)

This is a big topic, so I cannot go into detail here. But the basic idea is to start a trace in your session with wait events enabled, run the query, and then analyze the trace file. The TKPROF utility can help analyze the wait events. You may find that your query is spending a large amount of time performing sorting to disk. You may find that a slow disk unit is causing problems. There could be other causes too, each of which would be a guess at this point. The wait events will eliminate the guesswork.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Database Backup and Recovery
ORA-27101 error: shared memory realm does not exist
Hot backup when Oracle Database is up
ORA-06550 error when exporting a database
Why do I have to start my Oracle database manually?
How to recover a control file
The USING BACKUP CONTROLFILE clause in Oracle commands
Backup and recoveries of Oracle RAC 10gR2
Backup and recovery of Oracle 10g with forgotten admin password
How to use the OPatch Utility in Oracle
How to get history of modified data from Oracle databases

Oracle database administration (DBA)
ORA-27101 error: shared memory realm does not exist
How to set up a job for an SQL query in Oracle 10g Grid Control
Receiving the ORA-01652 error with no specified tablespace
Why am I getting the ORA-03113 error when trying to refresh a materialized view?
Hot backup when Oracle Database is up
ORA-06550 error when exporting a database
Why do I have to start my Oracle database manually?
Why am I getting an Oracle error when issuing the RECOVER DATABASE command?
Can I add multiple datafiles and make use of all the temporary datafiles at the same time?
Checkpoint vs. commit process
Oracle database administration (DBA) Research

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts