ORA-20011: Approximate NDV Failed: ORA-16532 During Statistics Gathering (Doc ID 1455548.1)

Last updated on DECEMBER 09, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.

Symptoms

 Gathering statistics fails with ORA-20011: Approximate NDV failed: ORA-16532: Data Guard broker configuration does not exist:

SQL> exec dbms_stats.gather_fixed_objects_stats;

BEGIN dbms_stats.gather_fixed_objects_stats; END;

*
ERROR at line 1:
ORA-20011: Approximate NDV failed: ORA-16532: Data Guard broker configuration does not exist
ORA-06512: at "SYS.DBMS_STATS", line 20508
ORA-06512: at "SYS.DBMS_STATS", line 20957
ORA-06512: at "SYS.DBMS_STATS", line 21498
ORA-06512: at line 1

Changes

 Data Guard broker is enabled.

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