1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
| SQL> select * from v$version
2 /
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for 64-bit Windows: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
SQL> show parameter control_management_pack_access
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
control_management_pack_access string DIAGNOSTIC+TUNING
SQL> select max(sysdate), max(sample_id) from v$active_session_history
2 /
MAX(SYSD MAX(SAMPLE_ID)
-------- --------------
21:22:53 610138
SQL> /
MAX(SYSD MAX(SAMPLE_ID)
-------- --------------
21:24:35 610310
SQL> alter system set control_management_pack_access='NONE' scope=both ;
System altered.
SQL> select max(sysdate), max(sample_id) from v$active_session_history
2 /
MAX(SYSD MAX(SAMPLE_ID)
-------- --------------
SQL> alter system set control_management_pack_access='DIAGNOSTIC+TUNING' scope=both ;
System altered.
SQL> select max(sysdate), max(sample_id) from v$active_session_history
2 /
MAX(SYSD MAX(SAMPLE_ID)
-------- --------------
21:27:34 610310 |
Partager