Solved

USING OEM to find the cause of Slow runign query

Posted on 2013-01-13
4
817 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
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

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

Suggested Solutions

Title # Comments Views Activity
System.InvalidCastException: Specified cast is not valid 10 68
SQL Retrieve Values 4 58
Get the parent node - XMLTYPE 9 56
help on oracle query 5 34
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…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

863 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

16 Experts available now in Live!

Get 1:1 Help Now