create tablespace aa
datafile 'G:\oracle\product\10.2.0\oradata\ORACLE\aa.pdf' size 24M autoextend on next 24M
logging extend management local;
请问   这个logging是什么意思啊

解决方案 »

  1.   

    logging clause这个子句声明这个表空间上所有的用户对象的日志属性(缺省是logging),包括表,索引,分区,物化视图,物化视图上的索引,分区
    create tablespace详解
      

  2.   

    LOGGING| NOLOGGING  specifies the default logging attributes of all tables, indexes, and partitions within the tablespace. LOGGING is the default.  The tablespace-level logging attribute can be overridden by logging specifications at the table, index, and partition levels. Only the following operations support the NOLOGGING mode: DML: direct-load INSERT (serial or parallel), Direct Loader (SQL*Loader) DDL: CREATE TABLE ... AS SELECT, CREATE INDEX, ALTER INDEX ... REBUILD, ALTER INDEX ... REBUILD PARTITION, ALTER INDEX ... SPLIT PARTITION, ALTER TABLE ... SPLIT PARTITION, and ALTER TABLE ... MOVE PARTITION  In NOLOGGING mode, data is modified with minimal logging (to  new extents INVALID and to record dictionary changes). When applied during media recovery, the extent invalidation records  a range of blocks as logically corrupt, because the redo data is not logged. Therefore, if you cannot afford to lose the object, you should take a backup after the NOLOGGING operation.
      

  3.   

    缺省是logging的
    这个表空间上的对象 在操作时都将写入日志