动态执行表不可访问,本会话的自动统计被禁止 。
在执行菜单里你可以禁止统计,或在v$session,v$sesstat 和 v$statname 表里获得select权限
![](https://img2020.cnblogs.com/blog/520685/202003/520685-20200331152652518-1892699983.png)
grant SELECT ANY DICTIONARY to readonly;
grant SELECT ANY table to readonly;
导航到Tools --> Preferences --> Options
找到“Automatic Statistics”选项,将其前面的小对勾去掉,然后点击“Apply”和“OK”保存退出。
![](https://img2020.cnblogs.com/blog/520685/202003/520685-20200331152706615-726940480.png)