Solved

Wait Class Question

Posted on 2014-11-03
2
243 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 38

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
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.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
Suggested Courses

623 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