Nologging and append test
歸檔模式 |
SQL |
耗時(秒) |
產生的redo日誌量 |
noarchivelog |
create table t as select * from dba_objects ; |
4.40 |
152152 |
|
create table t nologging as select * from dba_objects ; |
5.59 |
153256 |
|
insert into t select * from dba_objects ; |
6.04 |
56398248 |
|
insert /*+ append */ into t select * from dba_objects ; |
4.20 |
130824 |
|
alter table t nologging ; insert into t select * from dba_objects ; |
5.90 |
56397756 |
|
alter table t nologging ; insert /*+ append */ into t select * from dba_objects ; |
4.21 |
131016 |
|
當存在索引的情況下: create index idx_t on t (owner,object_id) ; alter table t nologging ; insert /*+ append */ into t select * from dba_objects ; |
8.44 |
37078460 |
|
當存在索引的情況下: create index idx_t on t (owner,object_id) ; alter table t nologging ; alter index idx_t nologging ; insert /*+ append */ into t select * from dba_objects ; |
8.38 |
37076400 |
|
|
|
|
歸檔模式 |
SQL |
耗時(秒) |
產生的redo日誌量 |
archivelog |
create table t as select * from dba_objects ; |
1.75 |
16002016 |
|
create table t nologging as select * from dba_objects ; |
1.66 |
85072 |
|
insert into t select * from dba_objects ; |
2.60 |
15919616 |
|
insert /*+ append */ into t select * from dba_objects ; |
1.61 |
15980536 |
|
alter table t nologging ; insert into t select * from dba_objects ; |
2.65 |
15918656 |
|
alter table t nologging ; insert /*+ append */ into t select * from dba_objects ; |
1.62 |
62704 |
|
當存在索引的情況下: create index idx_t on t (owner,object_id) ; alter table t nologging ; insert /*+ append */ into t select * from dba_objects ; |
3.00 |
13012136 |
|
當存在索引的情況下: create index idx_t on t (owner,object_id) ; alter table t nologging ; alter index idx_t nologging ; insert /*+ append */ into t select * from dba_objects ; |
3.11 |
13030424 |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10867315/viewspace-670537/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- nologging與append ztAPP
- oracle nologging和appendOracleAPP
- nologging和insert /*+append*/APP
- append和nologging的案例APP
- alter table nologging /*+APPEND PARALLEL(n)*/APPParallel
- 轉eygle_append與nologgingAPP
- 聊聊Append、nologging和Redo LogAPP
- create index logging, nologging performance testIndexORM
- 使用append+nologging引起恢復故障實驗APP
- Oracle NoLogging Append 方式減少批量insert的redo_sizeOracleAPP
- 歸檔模式下的 nologging和/*+ append */引數 效能測試模式APP
- 線上重定義分割槽表和NOLOGGING APPEND分割槽表對比APP
- 關於加快INSERT語句執行速度和 HINT /*+ append*/及nologging的使用APP
- URLSearchParams append()APP
- jQuery append()jQueryAPP
- golang appendGolangAPP
- Append HintAPP
- append2 給append 新增回撥方法APP
- Oracle nologgingOracle
- test
- python append()PythonAPP
- URLSearchParams append() 方法APP
- Oracle DML NOLOGGINGOracle
- index與nologgingIndex
- Oracle’s NOLOGGINGOracle
- webservice testWeb
- test_NO
- Unit test
- oracle啟用nologgingOracle
- 【Android Test】糟心的“Empty test suite ”異常AndroidUI
- Shell test 命令
- JavaScript test() 方法JavaScript
- Spring testSpring
- ACM Coin TestACM
- partition table test
- Test Generation frameworkFramework
- test日記
- 1-test