何百万ものレコードを含むテーブルがあり、Oracle Text は完璧に機能します。
select * from table1 where contains(col1, 'some text') > 0
しかし、追加not
すると非常に遅くなります。
select * from table1 where contains(col1, 'some text') > 0 and (not contains(col1, 'some text') > 0)
また
select * from table1 where contains(col1, 'some text') > 0 and (
contains(col1, 'some text') = 0)
最初の直接クエリは数分の 1 秒で実行され、2 回目は数分かかります。
これに対する解決策はありますか?