Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: System running slow

RE: System running slow

From: <Yosi_at_comhill.com>
Date: Tue, 23 Jan 2001 16:20:26 -0500
Message-Id: <10750.127326@fatcity.com>


Here's something you can do easily:

Use Top Session (comes with Enterprise Manager), find the session using the most resources, click on its properties, view its SQL, and tell the guy to get off the system, or tune his SQL.

The short answer, hope it helps.

Yosi

> -----Original Message-----
> From: Mitchell [mailto:mitchell_at_comnet.ca]
> Sent: Tuesday, January 23, 2001 4:05 PM
> To: Multiple recipients of list ORACLE-L
> Subject: System running slow
>
>
> Hi Guys
>
> I am running following scripts when users complains system
> slow. Usually I
> found more transaction there running from a developer.
>
> I just want to know how to explain locked_mode in
> v$locked_object view.
> Usually in my case is 3. I looked oracle Reference but it
> did' mention
> what is meaning. Anybody has any idea.
>
> I also want to know what other dba usually do when somebody
> complained
> about SLOW .
>
>
> Mitchell
>
> attached sql
>
> -- lockd.sql
> set pages 1000
> set lines 132
> select substr(do.owner, 1, 10) "Owner",
> substr(do.object_name, 1, 25) "Object ",
> lo.locked_mode,
> substr(lo.oracle_username, 1, 10) "Username",
> lpad(rtrim(substr(lo.os_user_name, 1, 8),' '),8,' ') "OS User",
> lo.session_id, vs.serial#, ' ' " ", lo.process,
> substr(to_char(vs.logon_time,'DD-MON-YY
> HH24:MI:SS'),1,20) "Logon
> Time"
> from dba_objects do, v$locked_object lo, v$session vs
> where do.object_id = lo.object_id
> and lo.session_id = vs.sid
> order by do.object_name
> /
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Mitchell
> INET: mitchell_at_comnet.ca
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
Received on Tue Jan 23 2001 - 15:20:26 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US