plustrce.sql
creates a role (named plustrace
) which grants access to the three dynamic performance views v$sesstat
, v$statname
and v$mystat
. set autotrace … statistics
. plustrace.sql
, the DBA should grant plustrace
to each user which needs to run the set autotrace
command in SQL*Plus. $ORACLE_HOME/sqlplus/admin