Solved

Wait Class Question

Posted on 2014-11-03
2
223 Views
Last Modified: 2014-11-04
Application hung the database again.  This time i'm seeing :

Wait Classes by Total Wait Time

Wait Class Waits Total Wait Time (sec) Avg Wait (ms) % DB time Avg Active Sessions
Scheduler 418,600 386,163 923 86.4 217.1
Concurrency 8,115 18,949 2335 4.2 10.7
Other 7,083 15,600 2202 3.5 8.8
DB CPU   2,739   .6 1.5

Is this scheduler scheduling processor time or what?
What are some of the conditions that lead to scheduler being at the top of waits?

Top 10 Foreground Events by Total Wait Time


Event Waits Total Wait Time (sec) Wait Avg(ms) % DB time Wait Class
resmgr:cpu quantum 418,149 386.1K 923 86.4 Scheduler
buffer busy waits 1,220 9124 7479 2.0 Concurrency
0
Comment
Question by:xoxomos
2 Comments
 
LVL 36

Accepted Solution

by:
Geert Gruwez earned 500 total points
Comment Utility
the scheduler executes procedures which typically run in background

you'll probably find the queries from in those procedures in the top 10 queries also
tuning them will bring down the scheduler wait time

concurrency is a process causing a lock (like select for update) and taking some time until the commit happens
> in extreme cases, or a bad design:
select for update is triggered by a user, the user goes for a coffee and triggers a commit after the coffee
0
 

Author Closing Comment

by:xoxomos
Comment Utility
Thanks
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now