剛新建立的用戶,在添加表時,出現以下錯誤:
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用戶所擁有的數據字典表