SQL> select index_name from user_indexes where table_name='DEPT';
INDEX_NAME
------------------------------
PK_DEPT
SQL> alter INDEX PK_DEPT MONITORING USAGE;
Index altered.
SQL> SELECT * FROM V$OBJECT_USAGE;
INDEX_NAME TABLE_NAME MON USE
------------------------------ ------------------------------ --- ---
START_MONITORING END_MONITORING
------------------- -------------------
PK_DEPT DEPT YES NO
01/20/2015 14:51:52
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29438041/viewspace-1408157/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29438041/viewspace-1408157/