Chinaunix首页 | 论坛 | 博客
  • 博客访问: 67854
  • 博文数量: 21
  • 博客积分: 466
  • 博客等级: 下士
  • 技术积分: 175
  • 用 户 组: 普通用户
  • 注册时间: 2011-07-21 19:13
文章分类
文章存档

2011年(21)

我的朋友

分类: Oracle

2011-09-22 09:58:41

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 mark new extents INVALID and to record dictionary changes). When applied during media recovery, the extent invalidation records mark 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.
阅读(4791) | 评论(0) | 转发(0) |
0

上一篇:star schema

下一篇:oracle锁机制1

给主人留下些什么吧!~~