Error: 'Table "ADMUSER"."PAUDIT" Does Not Exist or Insufficient Privileges' When Gathering Statistics on a P6 Professional Database
Last updated on APRIL 06, 2018
Applies to:Primavera P6 Professional Project Management - Version 126.96.36.199 to 188.8.131.52 [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
STEPS TO REPRODUCE
The issue can be reproduced at will with the following steps:
- Connect to the database as the schema owner (default admuser).
- Execute the ~\P6_<version>_Database\scripts\common\orpm_stats_gather.sql script.
- View reported error.
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