Oracle中可被并行化执行的SQL操作

作者: Maclean Liu , post on February 18th, 2011 , English Version
【本站文章除注明转载外,均为本站原创编译】
转载请注明:文章转载自: Oracle Clinic – Maclean Liu的个人技术博客 [http://www.oracledatabase12g.com/]
本文标题: Oracle中可被并行化执行的SQL操作
本文永久地址: http://www.oracledatabase12g.com/archives/oracle%e4%b8%ad%e5%8f%af%e8%a2%ab%e5%b9%b6%e8%a1%8c%e5%8c%96%e6%89%a7%e8%a1%8c%e7%9a%84sql%e6%93%8d%e4%bd%9c.html

并不是所有的SQL operations都是可并行化的;不少人认为sort merge join这种排序合并操作是不能并行化的,这显示是一种错误的认识。有了这样一个列表你就可以更好地理解Oracle中的Parallel Execution了:

Parallel Query:
Table scan
Nested loop join
Sort merge join
NOT IN
GROUP BY
Hash join
SELECT DISTINCT
UNION and UNION ALL
Aggregation
PL/SQL functions called from SQL
ORDER BY

DDL:
CREATE TABLE AS SELECT
CREATE INDEX
Rebuild index
Move partition
Split partition

DML:
UPDATE   on partitioned table
DELETE   on partitioned table
MERGE    on partitioned table
INSERT … SELECT
Enable constraint (the table scan is parallelized)
Star transformation

© 2011, www.oracledatabase12g.com. 版权所有.文章允许转载,但必须以链接方式注明源地址,否则追究法律责任.

相关文章 | Related posts:

  1. Optimizer Selects the Merge Join Cartesian Despite the Hints
  2. 如何设计分区索引
  3. Wrong Results from a RANGE-LIST PARTITIONED TABLE- Bug 5882821
  4. Diagnosing ORA-14097 On Alter Table Exchange Partition
  5. Script:列出数据库中子表上没有对应索引的外键
  6. 11.2 Database New Feature Deferred Segment Creation
  7. Script:partition table into rowid extent chunks
  8. How To Introduce Interval Parititioning into a Range Partitioned Table
  9. EVENT: 10060 dump predicates in optimizer (kko)
  10. How to Re-Organize a Table Online

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>