使用oracle时候统计会出现这个提示
Dynamic Performance Tables not accessible
Automatic Statistics disabled for this session,
you can disable statistics in the preference menu or obtain select
privileges on the v$session v$sesstat and v$statname tables.
Tools->Preferences->Oracle->Options 把Automatic Statistics前的那个勾子去掉,保存就可以了。