刚新建立的用户,在添加表时,出现以下错误:
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
处理办法:
增加权限:“select any dictionary”
用dba执行下面这句或者在pl/sql中找到username,然后在edit中选择“System privileges”tab,增加一个“select any dictionary”权限。grant
SELECT ANY
DICTIONARY to username;
“select any dictionary” 说明:
允许查看sys用户所拥有的数据字典表
本文介绍了解决在数据库中添加表时遇到的DynamicPerformanceTablesnotaccessible及AutomaticStatisticsDisabled错误的方法。通过授予用户selectanydictionary权限,可以解决这些问题。
2145

被折叠的 条评论
为什么被折叠?



