Preface:
This blog is a blogger problems encountered in the development, provide a solution for everyone, For reprint, please indicate the source, thank you!
Question one:
The first time PLSQL Developer connect to the database, if the sys user and log in with the normal operation, such as xxx login if ordinary users to create a table and the error "dynamic execution table is not accessible, automatically statistics this session is prohibited. In executing the menu where you can disable statistics, or in v $ session, v $ sesstat and v $ statname select list to get permission. "
Cause Analysis:
It can be seen from the error prompt, because the dynamic performance tables related rights have not been authorized for the current user
Solution one:
When prompted, prohibit execution statistics menu, specific methods of operation: Select "Tools" in the top menu -> "Preferences" -> "Options" -> "Auto statistics." The "Automatic statistics" in front of the default √ removed.
Solution two:
When prompted, use sys authorized user identity to haishu
grant select on V_session to xxx;
grant select on V_$sesstat to xxx;
grant select on V_$statname to xxx;
Or licensed to all users
grant select on V_$session to public;
grant select on V_$sesstat to public;
grant select on V_$statname to public;
Option One blogger here taken