$P is not cleaned up by a FULL OPTIMIZE (Doc ID 2284095.1)

Last updated on JULY 06, 2017

Applies to:

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

Symptoms

On : 12.1.0.2 version, Query on context index (contains)

The optimize for Oracle Text leaves records in $P table.

The optimize FULL index does NOT clean the $P table. So when records are deleted for whatever reason the optimize will take care of the tokens that are a part of the deleted documents in the $I table but it does not touch the $P table.

Steps to show the behavior:

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms