用pl/sql查詢時,出現以下錯誤:
dynamic performance tables not accessible,
automatic statistics disabled for this session
you can disable statistics in the preference menu,or obtain select
priviliges on the V$session,v$sesstat and v$statname tables
可是已經把系統權限 select any table 給這個用戶了
解決方法如下:
grant SELECT ANY DICTIONARY to username;
因為v$開頭的屬于數據字典,通常稱為動態性能視圖。
posted on 2010-03-25 09:03
周銳 閱讀(1267)
評論(0) 編輯 收藏 所屬分類:
Oracle