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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- alter table nologging /*+APPEND PARALLEL(n)*/APPParallel
- python append()PythonAPP
- URLSearchParams append()APP
- URLSearchParams append() 方法APP
- nologging、force logging、supplemental log的理解
- 【DATAGUARD】Oracle Dataguard nologging 塊修復Oracle
- [Bash] Append the content at the beginning of the fileAPP
- jQuery的append和appendTojQueryAPP
- Nologging對恢復的影響(二)
- Nologging對恢復的影響(一)
- test
- SAP ABAP Append structure 介紹APPStruct
- 日誌記錄模式(LOGGING 、FORCE LOGGING 、NOLOGGING)模式
- test_NO
- Unit test
- 【Android Test】糟心的“Empty test suite ”異常AndroidUI
- 挽救DG中主庫的nologging操作的塊
- AB test 中的AA test有什麼作用?
- test easyui with nodejsUINodeJS
- Test Oracle triggerOracle
- test123
- test日記
- test2024.3.21
- Shell test 命令
- test6
- test4
- test2
- Test12
- WPF test GPUGPU
- 1-test
- test3
- test004
- test1
- Numerical test reports
- gstreamer-test
- 小小test整理
- [golang]slice的坑:從append到共享GolangAPP
- 列表中的append,extend,+=,+的區別APP
- v-html 及vue-append外掛HTMLVueAPP