TraceLife

真正的幸福,在于对平淡生活的热爱……

导航

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

在 PL/SQL Developer 中执行命令时,总会在你登陆后第一次执行命令时弹出如下的错误提示信息。

image 

产生这个的原因在于,开启了 PL/SQL Developer 的自动统计功能,可以在

Tools  Preferences Oracle Options 

中将 Automatic Statistics 选项取消。

Note: Automatic Statistics 功能可以参看这里