Select * From TABLE(dbms_space.asa_recommendations()) Gets ORA-00942: Table Or View Does Not Exist when not run as SYS user

(Doc ID 1564264.1)

Last updated on NOVEMBER 03, 2015

Applies to:

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


When running the following statement as a user other than SYS, you will get the following error:


select * from TABLE(dbms_space.asa_recommendations())
ERROR at line 1:
ORA-00942: table or view does not exist
ORA-06512: at "SYS.DBMS_SPACE", line 768
ORA-06512: at "SYS.DBMS_SPACE", line 1031
ORA-06512: at line 1




You have granted the privileges execute on DBMS_SPACE and ANALYZE ANY to the user but this appears not to be sufficient.




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