Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-29877: failed in the execution of the ODCIINDEXUPDATE routine

3250930Jun 3 2016 — edited Jun 9 2016

Hi Team,

I have created domain indexon one of the oracle tableas below. I have used USER_DATASTORE while creating index.

BEGIN

ctx_ddl.REMOVE_SECTION ('extract_report_group', 'requesttype');

ctx_ddl.REMOVE_SECTION ('extract_report_group', 'discountcategory');

ctx_ddl.REMOVE_SECTION ('extract_report_group', 'intendeduse');

ctx_ddl.REMOVE_SECTION ('extract_report_group', 'pricelist_i');

ctx_ddl.REMOVE_SECTION ('extract_report_group', 'pricelist_e');

END;

/

-- Drop Section Group

BEGIN

CTX_DDL.DROP_SECTION_GROUP ('extract_report_group');

END;

/

-- Create Section Group

BEGIN

CTX_DDL.CREATE_SECTION_GROUP ('extract_report_group',

'BASIC_SECTION_GROUP');

END;

/

-- Create Sections

BEGIN

ctx_ddl.add_mdata_section ('extract_report_group', 'requesttype', 'rt');

ctx_ddl.add_mdata_section ('extract_report_group','discountcategory','dc');

ctx_ddl.add_mdata_section ('extract_report_group', 'intendeduse', 'iu');

ctx_ddl.add_mdata_section ('extract_report_group', 'pricelist_i', 'pli');

ctx_ddl.add_mdata_section ('extract_report_group', 'pricelist_e', 'ple');

END;

/

-- Drop Preference

BEGIN

CTX_DDL.drop_preference ('extract_report_filter');

END;

/

-- Create Preference

BEGIN

CTX_DDL.CREATE_PREFERENCE ('extract_report_filter', 'USER_DATASTORE');

CTX_DDL.SET_ATTRIBUTE ('extract_report_filter',

'PROCEDURE',

'DOMAIN_INDEX_CREATE_PR');

END;

/

DROP INDEX tab1_IDX1

/

-- Create Domain Index

CREATE INDEX tab1_IDX1

ON tab1 (dummy_col)

INDEXTYPE IS CTXSYS.CONTEXT

PARAMETERS ('stoplist CTXSYS.EMPTY_STOPLIST DATASTORE extract_report_filter section group extract_report_group')

/

-- Sync index

begin

ctx_ddl.sync_index('tab1_IDX1', '2M');

end;

/

When I execute an update statement which updates more than 260 rows I get this error. Can you please help over here.

  UPDATE  tab1

  SET     dummy_col              = dummy_col

  WHERE   ROWNUM <= 260;

Erroris

ORA-29877: failed in the execution of the ODCIINDEXUPDATE routine
ORA-20000:
DRG-50857:
ORA-20000: Oracle Text error:initialization failed
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 797

Can you please help over here

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 7 2016
Added on Jun 3 2016
3 comments
8,058 views