Solved

USING OEM to find the cause of Slow runign query

Posted on 2013-01-13
4
864 Views
Last Modified: 2013-01-17
what are the steps that I need to take USING OEM to diagnose and solve the slow running SQL query?

Say a query started taking way too long to complete.
to handle the issue I start OEM now
1st step
2nd step....
.....
.....
.......
0
Comment
Question by:taaz
[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
4 Comments
 
LVL 16

Assisted Solution

by:Swadhin Ray
Swadhin Ray earned 167 total points
ID: 38773465
Please check this link for how to analyzer in Oracle Database 11g along with the steps :

http://www.oracle-base.com/articles/11g/sql-performance-analyzer-11gr1.php
0
 
LVL 37

Assisted Solution

by:Geert Gruwez
Geert Gruwez earned 166 total points
ID: 38774582
oem will not solve your problem
>> you can create indexes via oem

easiest is to check the execution plan:

to generate the explain plan
explain plan for
select * from .... ;

to view the explain plan
select *
from table(DBMS_XPLAN.DISPLAY('PLAN_TABLE'));

more info:
http://www.oracle-base.com/articles/9i/dbms_xplan.php

based on the execution plan evaluation of a query can be done
0
 

Accepted Solution

by:
shomilb earned 167 total points
ID: 38777205
Login to OEM
Select target database.
Goto Performance tab.
Under Additional Monitoring Links: Goto Search Sessions.
Search the concerned session using SID or select other options from drop down.
In the Session Details page you will all the more information.
You can look into Wait events and explore further.
There is another useful tab SQL Monitoring, which tells the actual status of the running query.
0
 

Author Closing Comment

by:taaz
ID: 38788288
Thanks, The answers really helped me to great extent
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
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 set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

739 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