Oracle Parallel DML
1.Parallel DML 1.1 Table parallel dml alter table emp parallel (degree 4); select degree from user_tables where table_name = 'EMP'; select count(*) from emp; alter table emp noparallel; 1.2 hint parallel dml SELECT /*+ PARALLEL(emp,4) */ COUNT(*) FROM emp; 1.2 Session parallel dml alter session enable parallel dml; insert /*+ parallel (emp_big,4,1) */ into emp_big select * from emp; commit; alter session disable parallel dml; 2.Parallel DDL CREATE TABLE...AS SELECT CREATE INDEX ALTER INDEX...REBUILD 2.1 Session Parallel DDL(nologging) alter session enable parallel ddl; For nonpartitioned tables and indexes, only the following types of DDL statements can be parallelized: CREATE TABLE...AS SELECT CREATE INDEX ALTER INDEX...REBUILD If you're working with partitioned tables and indexes, the scope of Oracle's parallel DDL support broadens. The following statements can be parallelized for partitioned tables and indexes: CREATE TABLE...AS SELECT ALTER TABLE...MOVE PARTITION ALTER TABLE...SPLIT PARTITION CREATE INDEX ALTER INDEX...REBUILD PARTITION ALTER INDEX...SPLIT PARTITION create table big_emp parallel (degree 4) nologging as select * from emp; CREATE INDEX emp_ix ON emp (emp_id) TABLESPACE ind STORAGE (INITIAL 1M NEXT 1M PCTINCREASE 0 MAXEXTENTS 20) PARALLEL (DEGREE 4) nologging;
來自 “ ITPUB部落格 ” ,連結:https://blog.itpub.net/70038077/viewspace-3012495/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle's Parallel Execution Features(zt)OracleParallel
- 原創:oracle DML介紹與使用Oracle
- oracle全文索引之commit與DML操作Oracle索引MIT
- Oracle 檢視可以DML操作的條件Oracle
- G008-ORACLE-DG ORACLE 19C Active Data Guard DML RedirectionOracle
- oracle點陣圖索引對DML操作的影響Oracle索引
- 【TUNE_ORACLE】等待事件之日誌等待“log file parallel write”Oracle事件Parallel
- 【TUNE_ORACLE】等待事件之IO等待“db file parallel write”Oracle事件Parallel
- ORACLE 資料庫 查詢語句與DML語句Oracle資料庫
- Oracle 19c 新特性:ADG的自動DML重定向增強讀寫分離--ADG_REDIRECT_DMLOracle
- 引數fast_start_parallel_rollback調整oracle回滾的速度ASTParallelOracle
- Oracle 19C OGG基礎運維-03DML操作同步Oracle運維3D
- Oracle 19C Data Guard基礎運維-08 DML重定向Oracle運維
- ORACLE 分割槽索引UNUSABLE導致的DML操作失敗引起的血案Oracle索引
- oracle資料庫災難挽救應急方案之DML誤操作恢復Oracle資料庫
- DML_The OUTPUT Clause
- Oracle 19C OGG基礎運維-04DML同步常見問題Oracle運維
- 聊聊flink的Parallel ExecutionParallel
- OGG 簡單DML同步
- Mysql DML 新增資料MySql
- parallel rollback引數總結Parallel
- alter table nologging /*+APPEND PARALLEL(n)*/APPParallel
- 並行處理 Parallel Processing並行Parallel
- MU5IN160 – Parallel ProgrammingParallel
- Linux parallel 命令使用手冊LinuxParallel
- MySQL DML運算元據MySql
- [Vue CLI 3] 配置解析之 parallelVueParallel
- openGauss Parallel-Page-based-Redo-For-UstoreParallel
- 並行閘道器 Parallel Gateway並行ParallelGateway
- Mandelbrot set 以parallel_for_實現Parallel
- CSCI-UA.0480-051: Parallel ComputingParallel
- SQLServer DML操作阻塞SELECT查詢SQLServer
- 入門MySQL——DML語句篇MySql
- DDL、DML、DCL、DQL相關操作
- MySQL基礎之DML語句MySql
- Sysbench-0.5改成只有DML操作
- SQL學習___03:DML語法SQL
- 0316理解db file parallel read等待事件Parallel事件