代码改变世界

Dynamic Performance Tables not accessible, Automatic Statistics Disabled for this session【ZZ】

2009-06-26 16:42  hyddd  阅读(3312)  评论(0编辑  收藏  举报

原文:http://hi.baidu.com/wowodo/blog/item/b7f12834674bab3e5ab5f5d5.html

Dynamic Performance Tables not accessible,
Automatic Statistics Disabled for this session
You can disable statistics in the preference menu,or obtanin select
priviliges on the v$session,v$sesstat and v$statname tables
我每次登录数据库查询表时,第一次总报这个错误。有谁见过这个错误,可有解决方案

有的文章会提到用户权限问题,在这里的这个提示是指在别人的机器上用PLsql用同样的用户登录没有问题,是属于PL/Sql 的设置,当然归根的问题还是权限问题,呵呵!

你开了PLSQL Developer 的统计功能了, 在 Tools->Preferences->Oracle->Options里 把Automatic Statistics前的那个勾子去掉,保存就可以了。