oracle alter table logging,Oracle nologging 的运用

Oracle nologging 的使用

Oracle 版本: 10.2

NOLOGGING

is supported in only a subset of the locations that support LOGGING

. Only the following operations support the NOLOGGING

mode:

DML

:

Direct-path INSERT

(serial or parallel) resulting either from an INSERT

or a MERGE

statement. NOLOGGING

is not applicable to any UPDATE

operations resulting from the MERGE

statement.

Direct Loader (SQL*Loader)

DDL

:

CREATE

TABLE

... AS

SELECT

CREATE

TABLE

... LOB_storage_clause

... LOB_parameters

... NOCACHE

| CACHE

READS

ALTER

TABLE

... LOB_storage_clause

... LOB_parameters

... NOCACHE

| CACHE

READS

(to specify logging of newly created LOB columns)

ALTER

TABLE

... modify_LOB_storage_clause

... modify_LOB_parameters

... NOCACHE

| CACHE

READS

(to change logging of existing LOB columns)

ALTER

TABLE

... MOVE

ALTER

TABLE

... (all partition operations that involve data movement)

ALTER

TABLE

... ADD

PARTITION

(hash partition only)

ALTER

TABLE

... MERGE

PARTITIONS

ALTER

TABLE

... SPLIT

PARTITION

ALTER

TABLE

... MOVE

PARTITION

ALTER

TABLE

... MODIFY

PARTITION

... ADD SUBPARTITION

ALTER

TABLE

... MODIFY

PARTITION

... COALESCE

SUBPARTITION

CREATE

INDEX

ALTER

INDEX

... REBUILD

ALTER

INDEX

... REBUILD

[SUB]PARTITION

ALTER

INDEX

... SPLIT

PARTITION

For objects other than LOBs

, if you omit

this clause, then the logging attribute of the object defaults to the

logging attribute of the tablespace in which it resides.

------------------------------------------------------

Consider Using NOLOGGING When Creating Tables/Index

Space is saved in the redo log files.

The time it takes to create the index/tables is decreased.

Performance improves for parallel creation of large indexes/tables.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值