配置sqlplus的AUTOTRACE
配置sqlplus的AUTOTRACE以管理员身份运行cmdwww.zzzyk.com1cd D:\app\wujiahua\product\11.2.0\dbhome_1\RDBMS\ADMIN2sqlplus /nolog3connect system4manager56@utlxplan7create public synonym plan_table for plan_table-- 试具体情况 可以不执行(我的oracle11g执行就报错了) www.zzzyk.com8grant all on plan_table to public创建并授权PLUSTRACE角色1cd D:\app\wujiahua\product\11.2.0\dbhome_1\sqlplus\admin2conn sys as sysdba3manager4@plustrce5grant plustrace to publicAUTOTRACE 报告1set autotrace on