home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / database / oracle / 2210 < prev    next >
Encoding:
Internet Message Format  |  1992-11-16  |  1.5 KB

  1. Path: sparky!uunet!lhdsy1!nntpserver.chevron.com!abds7.aberdeen.chevron.com!epeas
  2. From: epeas@abds7.aberdeen.chevron.com (John Peach)
  3. Newsgroups: comp.databases.oracle
  4. Subject: Re: Way to view locks - who,what,where
  5. Message-ID: <1992Nov16.122442@abds7.aberdeen.chevron.com>
  6. Date: 16 Nov 92 12:24:42 GMT
  7. References: <X6V7TB1w165w@iowegia.uucp>
  8. Sender: news@nntpserver.chevron.com (USENET News System)
  9. Reply-To: epeas@aberdeen.chevron.com
  10. Organization: Chevron (UK) Ltd.
  11. Lines: 27
  12. Bcc: epeas@aberdeen.chevron.com
  13. Disclaimer: The opinions expressed are mine; _not_ those of        
  14.             the company I work for.
  15.  
  16. In article <X6V7TB1w165w@iowegia.uucp>, bob@iowegia.uucp (Bob Powers) writes:
  17. |> Does anyone have a SQL script available that will display all of the
  18. |> locks, who has them, what they are on, what type they are and who is waiting
  19. |> on them.  THis would be like the lock screen in SQLDBA Monitor but without
  20. |> having to fire monitor up.
  21.  
  22. No script, but...
  23.  
  24. look in the back of the DBA manual for the V$ views
  25.  
  26. V$_LOCK
  27. V$LOCK
  28. V$LATCH
  29. etc.
  30.  
  31. |> 
  32. |> This would be used when a user calls and is locked up.  I could run this 
  33. |> script and tell them who and what is holding them up
  34. |> 
  35. |>                                                        Bob Powers
  36. |>                                                        bob@ia-ngnet.army.mil
  37.  
  38. -- 
  39.                                John Peach
  40.                            Chevron (UK) Ltd.
  41.    Ninian House, Crawpeel Road, Altens, Aberdeen, AB1 4LG, Scotland.
  42.    Internet: epeas@aberdeen.chevron.com       Phone: +44 224 242637
  43.