oracle 構建索引index_logging_nologging

wisdomone1發表於2013-01-06
SQL> create table t_index(a int,b int);
Table created.
 

SQL> create index idx_t_index on t_index(a);
Index created.
 
 
SQL> select index_name,logging,status from user_indexes where table_name='T_INDE
X';
INDEX_NAME                     LOGGING   STATUS
------------------------------ --------- --------
IDX_T_INDEX                    YES       VALID
 
 
SQL> drop index idx_t_index;
Index dropped.
 
 
SQL> create index idx_t_index on t_index(a) nologging;
Index created.
 
 
 
SQL> select index_name,logging,status from user_indexes where table_name='T_INDE
X';
INDEX_NAME                     LOGGING   STATUS
------------------------------ --------- --------
IDX_T_INDEX                    NO        VALID
SQL>
 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-752182/,如需轉載,請註明出處,否則將追究法律責任。

相關文章