oracle text performance


oracle textのインデックスは他の基本インデックスとは異なり、dml操作を実行するとデータベースはこれらのインデックスを自動的に維持しません(ただし、これらのdml操作はテーブルCTX_USER_PENDINGに記録されます)、ストレージ・プロシージャctx_を呼び出す必要があります.dll.sync_indexはインデックスを維持します.
ctx_を実行するとdll.sync_indexの場合、先にCTX_に行きます.USER_PENDINGテーブルには、インデックスされていないローが表示され、インデックスされます.ctx_dll.sync_indexはマルチcpuの利点を利用して並列に実行できる.
Index Fragmentation
The CONTEXT index is an inverted index where each word contains the list of documents that contain that word. For example, after a single initial indexing operation, the word DOG might have an entry as follows:
   DOG DOC1 DOC3 DOC5

When new documents are added to the base table, the index is synchronized by adding new rows. Thus if you add a new document (DOC 7) with the word dog to the base table and synchronize the index, you now have:
DOG DOC1 DOC3 DOC5
DOG DOC7

Subsequent DML will also create new rows:
DOG DOC1 DOC3 DOC5
DOG DOC7
DOG DOC9
DOG DOC11
ctx_を使ってdll.optimize_indexはインデックスを最適化し、インデックスの破片を除去します.
You optimize your index after you synchronize it. Optimizing an index removes old data and minimizes index fragmentation,
which can improve query response time. Querying and DML may proceed while optimization takes place.
Some users choose to perform frequent time-limited full optimizations along with occasional rebuild optimizations.
 
パラレル実行に関するいくつかの制限について説明します.
You can run CTX_DDL.SYNC and CTX_DDL.OPTIMIZE at the same time.
You can also run CTX_DDL.SYNC and CTX_DDL.OPTIMIZE with parallelism at the same time.
However, you should not run CTX_DDL.SYNC with parallelism at the same time as CTX_DDL.OPTIMIZE,
nor CTX_DDL.SYNC with parallelism at the same time as CTX_DDL.OPTIMIZE with parallelism.
If you should run one of these combinations, no error is generated;
however, one operation will wait until the other is done.
 
データベース・サーバのcpu数が十分であれば、パフォーマンスは悪くないと推定されます.数分おきに実行できます
sync_index, optimize_index(fullモード).夜に1回optimizeを実行します.index(rebuildモード).
マルチcpuの働き方がよく分からないし、oracleがマルチcpuをどのように利用しているのかよく分からないし、sync_を並列に実行しているのか分からない.indexの場合、
メインcpuは使えますか?使わなければ、完璧なのではないでしょうか.