My Oracle Support Banner

Text Wildcard Query Fails with DRG-51030 Error (Doc ID 473245.1)

Last updated on NOVEMBER 04, 2019

Applies to:

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


A text wildcard query returns ODCIIndexStart() and DRG-51030 error.


SELECT <something>
FROM <table_name>
WHERE CONTAINS (text, 'boo%') > 0;
select ... from ... where contains (text ,'boo%') > 0
ERROR at line 1:
ORA-29902: error in executing ODCIIndexStart() routine
ORA-20000: Oracle Text error:
DRG-51030: wildcard query expansion resulted in too many terms

Problem still persists after setting WILDCARD_MAXTERMS to 15000 and the index was rebuilt.


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.