My Oracle Support Banner

Strategy for Creating Oracle Text Indexes (Doc ID 150453.1)

Last updated on FEBRUARY 20, 2023

Applies to:

Oracle Text - Version and later
Information in this document applies to any platform.


Purpose of this note is to explain how to manage and control Oracle Text index of CONTEXT indextype creation process, storage preference and space usage.
There are Oracle Text indexes of other indextypes (CTXCAT, CTXRULE, CTXXPATH) for which this information may not be applicable.


Note is intended for Oracle DBAs that want to control how and where Text index is created, and to find out what is the size of Text index.
This document does NOT deal with every aspect of a Text index, it concentrates on the Text index creation process, Storage preference and space usage.
For more information about Datastore Types, Filter Types, Lexer Types, Wordlist Type, Section Group Types and Stoplists, you should check:


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
 Text Index creation process
 Recommended Text Index creation procedure
 1. Prepare table on which you want to create Text Index
 2. Set appropriate preference for Text Index
 3. Turn on index logging and check the output
 4. Check CTX_USER_INDEX_ERRORS for errors
 5. Review all the parameters of text index
 6. Check that the token table is sensibly populated
 7. Measure the size parameters of the Text index objects
 8. Check that you can execute Text queries with expected results
9. Increase number of documents and repeat indexing procedure
 10. Develop and implement appropriate strategy for maintaining an Text Index

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