My Oracle Support Banner

Error: 'Table "ADMUSER"."PAUDIT" Does Not Exist or Insufficient Privileges' When Gathering Statistics on a P6 Professional Database (Doc ID 2372447.1)

Last updated on MARCH 02, 2019

Applies to:

Primavera P6 Professional Project Management - Version to [Release 16.2 to 17.12]
Information in this document applies to any platform.


When running the orpm_stats_gather.sql script to gather statistics on a P6 Professional database, the following error occurs:

SP2-0310: unable to open file "C:\oracle\StatsGather17\tmp_pm_gather.tmp"
ERROR at line 1:
ORA-20000: TABLE "ADMUSER"."PAUDIT" does not exist or insufficient privileges
ORA-06512: at "SYS.DBMS_STATS", line 17374
ORA-06512: at line 2


The issue can be reproduced at will with the following steps:

  1. Connect to the P6 Professional database as the schema owner (default admuser).
  2. Execute the ~\P6_<version>_Database\scripts\common\orpm_stats_gather.sql script.
  3. View reported error.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.