Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Problem with Insert statement
IANAL_VISTA schrieb:
> "barraboombarrabin" <barraboombarrabing_at_yahoo.com> wrote in > news:1118502680.924312.188180_at_g49g2000cwa.googlegroups.com: > >
> > > -- HOLDER_WAITER SQL script > > When the INSERT is "stuck", try running this query > > SELECT DECODE(request,0,'Holder: ','Waiter: ')||sid sess, > id1, id2, lmode, request, type > FROM V$LOCK > WHERE (id1, id2, type) IN > (SELECT id1, id2, type FROM V$LOCK WHERE request>0) > ORDER BY id1, request > / > > If it returns rows, they may provide clue WRT source of problem.
In addition, i would look on the explain plan, maybe your statistics are stale and your plan is wrong, also parallel hint not necessarily force the parallel execution. Look on os activity as well - maybe your memory is exhausted and you are running into swapping.
Best regards
Maxim Received on Sat Jun 11 2005 - 11:50:37 CDT
![]() |
![]() |