My Oracle Support Banner

Creating a Text Index with USER_DATASTORE Shows Error DRG-50857, ORA-22920 in CTX_USER_INDEX_ERRORS (Doc ID 1110326.1)

Last updated on JANUARY 05, 2020

Applies to:

Oracle Text - Version to [Release 10.2 to 11.2]
Information in this document applies to any platform.


Creating a domain index with a user_datastore procedure that returns a CLOB fails to index the document with the following errors:

DRG-50857: oracle error in drsinopen
ORA-22920: row containing the LOB value is not locked

When using the FOR UPDATE clause to lock the CLOB, indexing succeeds, but the CLOB in the table disappears (seems to be an empty CLOB).


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.