Gather Schema Stats Fail With ORA-0001 "unique constraint (APPLSYS.FND_STATS_HIST_U1) violated" Errors (Doc ID 470556.1)

Last updated on SEPTEMBER 28, 2016

Applies to:

Oracle EBS Applications Performance - Version 11.5.10.2 to 11.5.10.2 [Release 11.5.10]
Information in this document applies to any platform.

Symptoms

On 11.5.10.2 in Production:
Running Gather Schema Statistics program failed with the following errors:

ERROR
Unable to correctly update the history table - fnd_stats_hist.
-1 - ORA-00001: unique constraint (APPLSYS.FND_STATS_HIST_U1) violated

STEPS
The issue can be reproduced at will with the following steps:
1. Submit Gather Schema Statistics program.
OR
2. Any other program that calls FND_STATS package to gather statistics.

BUSINESS IMPACT
The issue has the following business impact:
Due to this issue, gathering optimizer statistics program is not working properly. This might
cause performance problems in the database.


Changes

Version of FND_STATS package changed

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