RE: Locking tables in Oracle

2003-03-27 Thread Gogala, Mladen
V$LOCKED_OBJECT This view lists all locks acquired by every transaction on the system. Column Datatype Description XIDUSN NUMBER Undo segment number XIDSLOT NUMBER Slot number XIDSQN

RE: Locking tables in Oracle

2003-03-27 Thread Pillai, Rajesh
recipients of list ORACLE-LSubject: RE: Locking tables in Oracle V$LOCKED_OBJECT This view lists all locks acquired by every transaction on the system. Column Datatype Description XIDUSN NUMBER Undo

RE: Locking tables in Oracle

2003-03-27 Thread Hand, Michael T
Rajesh, 2 -- ROW SHARE or SHARE UPDATE 3 -- ROW EXCLUSIVE 4 -- SHARE 5 -- SHARE ROW EXCLUSIVE 6 -- EXCLUSIVE Mike -Original Message- Sent: Thursday, March 27, 2003 3:14 PM To: Multiple recipients of list ORACLE-L Hi All, Does anybody has any insight of dynamic view v$locked_object?

RE: Locking tables in Oracle

2003-03-27 Thread Arun Chakrapanirao
SELECT OWNER||'.'||OBJECT_NAME Object, OS_USER_NAME Terminal, ORACLE_USERNAME Locker, PROGRAM Program, NVL(lockwait,'ACTIVE') Wait, DECODE(LOCKED_MODE, 2, 'ROW SHARE', 3, 'ROW EXCLUSIVE', 4, 'SHARE', 5, 'SHARE ROW EXCLUSIVE', 6, 'EXCLUSIVE', 'UNKNOWN') Lockmode,

RE: Locking tables in Oracle

2003-03-27 Thread Gogala, Mladen
[mailto:[EMAIL PROTECTED]Sent: Thursday, March 27, 2003 4:29 PMTo: Multiple recipients of list ORACLE-LSubject: RE: Locking tables in Oracle Mladen, What does it mean if locked_mode column is populated with 0 or 3 or 6. What kind of locking does it shows (RS, X etc...)? Thanks

RE: Locking tables in Oracle

2003-03-27 Thread Jacques Kilchoer
Title: RE: Locking tables in Oracle -Original Message- From: Pillai, Rajesh [mailto:[EMAIL PROTECTED]] What does it mean if locked_mode column is populated with 0 or 3 or 6. What kind of locking does it shows (RS, X etc...)? I know someone has already answered this, but you can

RE: locking issues in web based applications

2002-07-24 Thread Ratnesh Kumar Singh
Dennis , thanks for your suggestions. It seems detection is the only viable option to avoid locking. i'll try to get the suggested book from somewhere . ratnesh -Original Message- WILLIAMS Sent: Tuesday, July 23, 2002 9:08 PM To: Multiple recipients of list ORACLE-L Ratnesh I

RE: locking issues in web based applications

2002-07-23 Thread DENNIS WILLIAMS
Ratnesh I assume you are using the JDBC interface, rather than J2EE. You may want to consider buying the book Java Programming with Oracle JDBC by Donald Bales. He devotes a chapter to this subject. One issue he raises that will limit your options is whether you have other applications besides

Re: Locking Issue

2002-06-12 Thread Bill Pass
Yes. If your application executes a DML statement and then just hangs around without commiting or doing a rollback this will occur. A user forgetting to commit or rollback from SQL*Plus is often the cause of locking problems. Bill --- Hamid Alavi [EMAIL PROTECTED] wrote: List, I am

RE: Locking Issue

2002-06-11 Thread Gogala, Mladen
Yes. -Original Message- From: Hamid Alavi [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 3:59 PM To: Multiple recipients of list ORACLE-L Subject: Locking Issue List, I am monitoring a locking issue on database(oracle 8.1.7.0 on sun ), when I look at all active

Re: Locking issue

2001-09-04 Thread Jared Still
ORA-2 is an error raised by raise_application_error. In other words, you must examine the code, as it is a custom error message. Jared On Tuesday 04 September 2001 07:25, Libal, Ivo wrote: Hello All we got a problem with DBMS_ALERT package. On clients we get sometimes an error message:

Re: Locking issue

2001-09-04 Thread JOE TESTA
Jared, wish that was entirely true, look at $ORACLE_HOME/rdbms/admin/dbmsutil.sql some of oracle's code is using low numbered 2 error nums :((at least thats that the internal docs say) joe [EMAIL PROTECTED] 09/04/01 12:32PM ORA-2 is an error raised by raise_application_error.In

Re: Fwd: RE: Locking issue

2001-09-04 Thread Jared . Still
To: [EMAIL PROTECTED] cc: Subject: Fwd: RE: Locking issue

RE: Fwd: RE: Locking issue

2001-09-04 Thread Jamadagni, Rajendra
This message comes from DBMS_ALERT_INFO package body. You need to contact OWS. Raj __ Rajendra Jamadagni MIS, ESPN Inc. Rajendra dot Jamadagni at ESPN dot com Any opinion expressed here is personal and doesn't reflect that of ESPN

Re: Fwd: Re: Locking issue

2001-09-04 Thread Jared . Still
jkstill@cybco To: [EMAIL PROTECTED] n.com cc: Subject: Fwd: Re: Locking issue

RE: Locking Issue

2001-08-24 Thread Mark Leith
Kevin, Here's one that has been posted to our site recently by a customer (www.cool-tools.co.uk Support User Defined Collections BLOCKER): select l.sid sid, s.username username, s.program program, t.sql_text, u.name

RE: Locking Issue

2001-08-23 Thread Christopher Spence
Title: Message Take a look at www.vampired.net under scripts and locks, there are a few decent scripts there. "Do not criticize someone until you walked a mile in their shoes, that way when you criticize them, you are a mile a way and have their shoes." Christopher R. Spence Oracle DBA Phone:

RE: Locking Issue

2001-08-23 Thread Kevin Lange
Title: Message Thanks Christopher. I will see what I can get out of them. -Original Message-From: Christopher Spence [mailto:[EMAIL PROTECTED]]Sent: Thursday, August 23, 2001 10:24 AMTo: Multiple recipients of list ORACLE-LSubject: RE: Locking Issue Take a look

Re: Locking Issue

2001-08-22 Thread JOE TESTA
check out $ORACLE_HOME/rdbms/admin/utlockt.sql joe [EMAIL PROTECTED] 08/22/01 02:46PM Back to the experts We have an application that, litterally overnight, developed locking issues. Our users start working just fine. Then, right now cause unknown, our inserts start

RE: Locking

2001-03-21 Thread Sonja ehovi
Try with this query: select xidusn, object_id, session_id, locked_mode from v$locked_object; If developer created table with bitmap index it can be reason for locking (we had such problem). HTH, Sonja -Original Message- Sent: Tuesday, March 20, 2001 11:27 PM To:

Re: locking tables

2001-02-19 Thread Ramamohan B N
Hi Austin I dont know wether it can be done from the DB or not... But you can do it from your application by setting a flag when ever an update is happening and selecting only those records which doesn't hjave this flag set. Regards, Mohan Kris Austin wrote: hi list, how can you prevent

RE: locking tables

2001-02-13 Thread Mark Leith
You can lock a table with: lock table scott.emp in exclusive mode This should lock that table for the session you are in, not sure what permissions you need for it though? Mark -Original Message- Sent: Monday, February 12, 2001 07:31 To: Multiple recipients of list ORACLE-L hi

RE: locking tables

2001-02-13 Thread Toepke, Kevin M
Kris: There is no native way of doing this. You would need to write your own data-access methods -- maybe a stored procedure that returns a ref-cursor. The procedure would attempt to lock a table before performing the select. The DML operations on the table would have to lock the same table