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 11.2.0.3 and laterInformation in this document applies to any platform.
Symptoms
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
*
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
Changes
You have granted the privileges execute on DBMS_SPACE and ANALYZE ANY to the user but this appears not to be sufficient.
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |