SQL> set autotrace Usage: SET AUTOT[RACE] {OFF | ON | TRACE[ONLY]} [EXP[LAIN]] [STAT[ISTICS]] SQL> set autotrace on SP2: Cannot find the Session Identifier. Check PLUSTRACE role is enabled SP2: Error enabling STATISTICS report SQL> conn /as sysdb…
SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabled 今天是2013-09-17,在今天学习sql执行计划的是发现如下问题: 问题描述: 在rhys用户下开启sql语句计划报如下错误: SQL> set autotrace on SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabled SP2-06…
解决方法: SQL> conn / as sysdbaConnected.SQL> @$ORACLE_HOME/rdbms/admin/utlxplan.sql; Table created. SQL> @$ORACLE_HOME/sqlplus/admin/plustrce.sql SQL> grant plustrace to scott; SQL>conn scott/scott SQL>set autot on 再不行 grant select on…
普通用户使用 autotrace,出现如下报错: SQL> set autotrace on SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabled SP2-0611: Error enabling STATISTICS repor 第一反应是授予用用户 plustrace 角色 SQL> conn / as sysdba Connected. SQL> grant plustrace…
There parameters need to be obained: no. of physical CPU; no. of cores on each CPU; no. of all threads. In my case, the CPU name: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz (1) Check the number of physical CPU # cat /proc/cpuinfo | grep "physical id&q…
普通用户在SQL*Plus中开启AUTOTRACE报告时,遇到SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabled错误.如下所示: SQL> SQL> set autotrace on; SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabled SP2-0611: Error enabling S…