home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!lhdsy1!nntpserver.chevron.com!abds7.aberdeen.chevron.com!epeas
- From: epeas@abds7.aberdeen.chevron.com (John Peach)
- Newsgroups: comp.databases.oracle
- Subject: Re: Way to view locks - who,what,where
- Message-ID: <1992Nov16.122442@abds7.aberdeen.chevron.com>
- Date: 16 Nov 92 12:24:42 GMT
- References: <X6V7TB1w165w@iowegia.uucp>
- Sender: news@nntpserver.chevron.com (USENET News System)
- Reply-To: epeas@aberdeen.chevron.com
- Organization: Chevron (UK) Ltd.
- Lines: 27
- Bcc: epeas@aberdeen.chevron.com
- Disclaimer: The opinions expressed are mine; _not_ those of
- the company I work for.
-
- In article <X6V7TB1w165w@iowegia.uucp>, bob@iowegia.uucp (Bob Powers) writes:
- |> Does anyone have a SQL script available that will display all of the
- |> locks, who has them, what they are on, what type they are and who is waiting
- |> on them. THis would be like the lock screen in SQLDBA Monitor but without
- |> having to fire monitor up.
-
- No script, but...
-
- look in the back of the DBA manual for the V$ views
-
- V$_LOCK
- V$LOCK
- V$LATCH
- etc.
-
- |>
- |> This would be used when a user calls and is locked up. I could run this
- |> script and tell them who and what is holding them up
- |>
- |> Bob Powers
- |> bob@ia-ngnet.army.mil
-
- --
- John Peach
- Chevron (UK) Ltd.
- Ninian House, Crawpeel Road, Altens, Aberdeen, AB1 4LG, Scotland.
- Internet: epeas@aberdeen.chevron.com Phone: +44 224 242637
-