Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Deadlock in stored procedure

Re: Deadlock in stored procedure

From: <Kenneth>
Date: Wed, 23 Feb 2005 18:55:05 GMT
Message-ID: <421cd093.5558250@news.inet.tele.dk>

>
>sorry for the missing information, I forgot that these things are
>rather important. I'm running Oracle 9.2.0.4 on a Windows XP SP1
>desktop. The message stack that I get looks like:
>
>BEGIN LOAD_FILE_TO_MY_DOCS('InstallSolaris.pdf'); END;
>
>*
>ERROR at line 1:
>ORA-04020: deadlock detected while trying to lock object TEST.MY_DOCS
>ORA-06512: at "TEST.LOAD_FILE_TO_MY_DOCS", line 15
>ORA-06512: at line 1
>
>Looks like the error occurs while the 'alter index' statement is being
>processed.
>

Hi Bert,

Ok, it's a text domain index on column doc.

AFAIK, Oracle does not recommend rebuilding text domain indexes with the SYNC option. I suggest you separate the syncronization from the rebuild by means of CTX_DDL.SYNC_INDEX.

Hope this helps.

Received on Wed Feb 23 2005 - 12:55:05 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US