home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / database / oracle / 2896 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.7 KB

  1. Path: sparky!uunet!olivea!inews.Intel.COM!mipos2!kortikar
  2. From: kortikar@mipos2.intel.com (Aniruddha Kortikar)
  3. Newsgroups: comp.databases.oracle
  4. Subject: Re: Oracle Dynamic Performance views questions
  5. Message-ID: <C17stM.M5r@inews.Intel.COM>
  6. Date: 21 Jan 93 17:34:33 GMT
  7. Sender: news@inews.Intel.COM (USENET News System)
  8. Organization: Intel Corporation, Santa Clara, CA USA
  9. Lines: 35
  10. Nntp-Posting-Host: mipos2
  11.  
  12. In article <562@cmutual.com.au> btc@cmutual.com.au (Tony Cook) writes:
  13. >Does anyone know what the values for the column 'command' in the view
  14. >v$session actually mean ?
  15.     This is what I could get by actually typing commands and querying 
  16.     somebody might want to add to this list other commands and post them
  17.  
  18.     1    : create table
  19.     3     : Insert
  20.     6     : Update
  21.      7     : delete
  22.     9    : create index
  23.     10    : drop index           
  24.     12     : drop table
  25.     13    : create sequence
  26.     14    : alter sequence
  27.     15     : Alter table
  28.     16    : drop sequence
  29.     17     : grant connect,resource    
  30.     18     : revoke connect,resource
  31.     19    : create synonym
  32.     20    : drop synonym
  33.     44    : while granting connect, update (interim lock - DDL Lock ?)
  34.  
  35. >v$lock view shows who is holding locks, what type etc. but how do you find out
  36. >WHAT is locked ? I suspect you must follow the ADDR column somewhere.
  37. >i.e. PID 7 is holding a parse lock on a table, but which table?
  38. >
  39.     v$lock has pid  v$acess also has pid (and tablename too!)
  40.  
  41. Aniruddha Kortikar (kortikar@mipos2.intel.com)
  42.  
  43. ------------------------------------------------------------------------------
  44. E-mail  : kortikar@mipos2.intel.com | A billion here, a billion there ...
  45. Phone(W): 408 765 5515              | pretty soon it adds upto real big money
  46. ------------------------------------------------------------------------------
  47.