My Oracle Support Banner

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 OCTOBER 10, 2022

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.




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.