Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
How to check Lock SQL - Please help

How to check Lock SQL - Please help

2005-02-22       - By Paul Drake
Reply:     1     2     3     4     5  

           from v$lock l,
                *
ERROR at line 14:
ORA-01652 (See ORA-01652.ora-code.com): unable to extend temp segment by 128 in tablespace TEMP

that is an expensive statement to execute.
I think that some caution is in order before one directs that at a live system.

Paul


On Tue, 22 Feb 2005 15:10:46 -0500, Thomas Day <tomday2@(protected)> wrote:
> Are your primary key and foreign key expressed through indexes?
>
> You also might try the script below.
>
> I'm sorry that I can't understand your problem any better but I hope this
helps.
>
> --blocker.sql
> /*
> Finds (most of the time) the SQL that is locking a row
> */
> -- Posted by "Mark Leith" <mark@(protected)> on Oracle-L
> -- from: (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 owner,
>                  o.name object,
>                  l.type type,
>                  lmode,
>                  decode (lmode,1,'NULL',2,'Row Share',3,'Row
> Exclusive',4,'Share',5,'Share Row',6,'Exclusive')                    mode
_desc,
>                  request,
>                  decode (request,1,'NULL',2,'Row Share',3,'Row
> Exclusive',4,'Share',5,'Share Row',6,'Exclusive')                    request
_desc
>              from v$lock l,
>                   v$session s,
>                   sys.obj$ o,
>                   sys.user$ u,
>                   v$sqltext t
>            where l.type in ('RW','TM','TX','UL')
>              and l.sid=s.sid(+)
>              and l.id1 = o.obj# (+)
>              and o.owner#=u.user#(+)
>              and s.sql_hash_value = t.hash_value
>              and lmode > 0
> /
>
--
http://www.freelists.org/webpage/oracle-l