10.11 Frequently Asked Questions About Updating the Index
This section answers some of the frequently asked questions about updating your index and related performance issues.
10.11.1 How often should I index new or updated records?
Answer: If you run reindexing with CTX_DDL.SYNC_INDEX
less often, your indexes will be less fragmented, and you will not have to optimize them as often.
However, your data becomes progressively more out-of-date, and that may be unacceptable to your users.
Overnight indexing is acceptable for many systems. In this case, data that is less than a day old is not searchable. Other systems use hourly, 10-minute, or 5-minute updates.
See Also:
-
Oracle Text Reference to learn more about using
CTX_DDL.SYNC_INDEX
10.11.2 How can I tell when my indexes are fragmented?
Answer: The best way is to time some queries, run index optimization, and then time the same queries (restarting the database to clear the SGA each time, of course). If the queries speed up significantly, then optimization was worthwhile. If they do not, then you can wait longer next time.
You can also use CTX_REPORT.INDEX_STATS
to analyze index fragmentation.
See Also:
-
Oracle Text Reference to learn more about using the
CTX_REPORT
package