Refresh of indexes on CLOB fields. [message #355050] |
Wed, 22 October 2008 06:54 |
Malakay79
Messages: 41 Registered: September 2007
|
Member |
|
|
I have 1 index on a clob column create in this way:
CREATE INDEX index_name
ON TABELLA (COLONNA)
INDEXTYPE IS ctxsys.context
PARAMETERS ( 'STOPLIST mystop' );
This fild is updated very often.
I have created a job that refresh that index with ctx_ddl.sync_index
There is another way to schedule his refresh?
IF I use a trigger after insert or update I think this can be too heavy because sometimes there are 200 people that modify that table in that column.
Thanks
|
|
|
|
Re: Refresh of indexes on CLOB fields. [message #355108 is a reply to message #355050] |
Wed, 22 October 2008 12:58 |
Malakay79
Messages: 41 Registered: September 2007
|
Member |
|
|
I try to execute this command:
CREATE INDEX index
ON tabella (colonna)
INDEXTYPE IS ctxsys.context
PARAMETERS ( 'STOPLIST mystop
SYNC (EVERY "SYSDATE+10/1440")' );
but I get this error:
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-50857: oracle error in drvddl.IndexCreate
ORA-27486: insufficient privileges
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 364
If I create the index with sync (ON COMMIT) it works.
Does anyone know why?
[Updated on: Wed, 22 October 2008 13:13] Report message to a moderator
|
|
|
|