Solved

USING OEM to find the cause of Slow runign query

Posted on 2013-01-13
4
799 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
Comment Utility
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 36

Assisted Solution

by:Geert Gruwez
Geert Gruwez earned 166 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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.

Join & Write a Comment

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
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 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.

772 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

14 Experts available now in Live!

Get 1:1 Help Now