关于全文索引优化ctx_ddl.optimize_index很慢的问题
我的表 有17W数据。。我在表上做了个全文索引 。。使用了全文索引的USER_DATASTORE属性 在索引上 做了个过程。。这样实现了一个全文索引索引2个表字段的功能。。我测试了下 同步索引 ctx_ddl.sync_index 瞬间完成。。但是 ctx_ddl.optimize_index 确出奇的慢。。请问问题可能出现在哪里?是那个索引上的过程。。还是这个17W数据量本来就慢谢谢
我的表 有17W数据。。我在表上做了个全文索引 。。使用了全文索引的USER_DATASTORE属性 在索引上 做了个过程。。这样实现了一个全文索引索引2个表字段的功能。。我测试了下 同步索引 ctx_ddl.sync_index 瞬间完成。。但是 ctx_ddl.optimize_index 确出奇的慢。。请问问题可能出现在哪里?是那个索引上的过程。。还是这个17W数据量本来就慢谢谢
ctx_ddl.optimize_index有可能造成死锁
Note:Optimizing an index can result in better response time only if you insert, delete, or update documents in your base table after your initial indexing operation.
Using this procedure to optimize your index is recommended over using the ALTER INDEX statement.Optimization of a large index may take a long time. To monitor the progress of a lengthy optimization, log the optimization with CTX_OUTPUT.START_LOG and check the resultant logfile from time to time.
Using this procedure to optimize your index is recommended over using the ALTER INDEX statement
使用此过程,以优化在您的索引,建议使用ALTER INDEX语句