Solved

Wait Class Question

Posted on 2014-11-03
2
230 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 37

Accepted Solution

by:
Geert Gruwez earned 500 total points
ID: 40420983
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
ID: 40421997
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

786 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