지금 지원 담당자와 채팅
지원 담당자와 채팅

SQL Optimizer for Oracle 10.0 - User Guide

Welcome to SQL Optimizer
About SQL Optimizer SQL Optimization Workflow New in This Release Additional Resources Database Privileges Database Privileges Script Connect to the Database Windows Layout Customize Toolbars Keyboard Shortcuts Support Bundle Register SQL Optimizer Check for Updates SQL Operations
ALL PARTITION ALTER INDEX AND EQUAL ANTI JOIN BITMAP AND BITMAP COMPACTION BITMAP CONSTRUCTION BITMAP CONVERSION BITMAP INDEX BITMAP JOIN INDEX UPDATE BITMAP JOIN INDEX UPDATE STATEMENT BITMAP KEY ITERATION BITMAP MERGE BITMAP MINUS BITMAP OR BUFFER SORT CARTESIAN JOIN COLLECTION ITERATOR CONCATENATION CONNECT BY CONNECT BY PUMP COUNT COUNT STOPKEY CREATE AS SELECT CUBE SCAN DDL STATEMENT DELETE DOMAIN INDEX FAST FULL INDEX SCAN FILTER FIRST ROWS FIXED INDEX FIXED TABLE FOR UPDATE FULL INDEX SCAN FULL INDEX SCAN DESCENDING FULL INDEX SCAN (MIN/MAX) HASH GROUP BY HASH GROUP BY PIVOT HASH JOIN HASH JOIN BUFFERED HASH PARTITION HASH UNIQUE INDEX INDEX BUILD NON UNIQUE INDEX RANGE SCAN INDEX RANGE SCAN DESCENDING INDEX RANGE SCAN (MIN/MAX) INDEX SAMPLE FAST FULL SCAN INDEX SKIP SCAN INDEX SKIP SCAN DESCENDING INDEX UNIQUE SCAN INLIST ITERATOR INLIST PARTITION INSERT INTERSECTION INTO INVALID PARTITION ITERATOR PARTITION LOAD AS SELECT MAT_VIEW ACCESS MAT_VIEW REWRITE ACCESS MERGE JOIN MINUS MULTI-TABLE INSERT NESTED LOOPS OUTER JOIN PARTITION PARTITION HASH EMPTY PARTITION LIST PARTITION RANGE PROJECTION PX BLOCK ITERATOR PX COORDINATOR PX ITERATOR PX PARTITION PX PARTITION HASH ALL PX PARTITION LIST ALL PX PARTITION RANGE ALL PX RECEIVE PX SEND RANGE PARTITION RECURSIVE EXECUTION RECURSIVE WITH PUMP REFERENCE MODEL REMOTE SELECT SEMI JOIN SEQUENCE SINGLE PARTITION SINGLE RANGE PARTITION SORT SORT AGGREGATE SORT GROUP BY SORT GROUP BY CUBE SORT GROUP BY NOSORT SORT GROUP BY ROLLUP SORT JOIN SORT ORDER BY SORT UNIQUE SQL MODEL TABLE ACCESS TABLE ACCESS BY GLOBAL INDEX ROWID TABLE ACCESS BY INDEX ROWID TABLE ACCESS BY LOCAL INDEX ROWID TABLE ACCESS BY ROWID TABLE ACCESS BY USER ROWID TABLE ACCESS CLUSTER TABLE ACCESS FULL TABLE ACCESS HASH TABLE ACCESS SAMPLE TABLE QUEUE TEMP TABLE GENERATION TEMP TABLE TRANSFORMATION UNION UNION ALL UNION ALL (RECURSIVE WITH) UNPIVOT UPDATE VIEW VIEW PUSHED PREDICATE WINDOW
Optimize SQL
Create Optimize SQL Sessions Open Optimizer SQL Sessions Rewrite SQL Generate Execution Plan Alternatives
Optimize Indexes Batch Optimize SQL Scan SQL Inspect SGA Analyze Impact Manage Plans Configure Options SQL Optimizer Tutorials About Us Legal Notices

RANGE PARTITION

Execution plan image: image\Plan_Partition_All.gif  

Partition operation.

A partitioned table is comprised of multiple segments. Each segment contains table rows that share the same range of values for a particular column. A table (and its indexes) can be range partitioned.

Example

CREATE TABLE sales_range_part

(column definitions)

PARTITION BY RANGE (sale_date) 

(PARTITION q198 VALUES LESS THAN 

(TO_DATE('1998-04-01', 'YYYY-MM-DD')) , 

PARTITION q298 VALUES LESS THAN 

(TO_DATE('1998-07-01', 'YYYY-MM-DD')) , 

PARTITION q398 VALUES LESS THAN 

(TO_DATE('1998-10-01', 'YYYY-MM-DD')) , 

PARTITION q498 VALUES LESS THAN 

(TO_DATE('1999-01-01', 'YYYY-MM-DD')) , 

PARTITION q199 VALUES LESS THAN 

(TO_DATE('1999-04-01', 'YYYY-MM-DD')) , 

PARTITION q299 VALUES LESS THAN 

(TO_DATE('1999-07-01', 'YYYY-MM-DD')) , 

PARTITION q399 VALUES LESS THAN 

(TO_DATE('1999-10-01', 'YYYY-MM-DD')) , 

PARTITION q499 VALUES LESS THAN 

(TO_DATE('2000-01-01', 'YYYY-MM-DD')) , 

PARTITION q100 VALUES LESS THAN 

(TO_DATE('2000-04-01', 'YYYY-MM-DD')) , 

PARTITION q200 VALUES LESS THAN 

(TO_DATE('2000-07-01', 'YYYY-MM-DD')) ) 

Each partition is a separate segment, and partitions can be stored in separate tablespaces and have individual storage definitions. Although partitions are implemented transparently to an application and need not be specified in SQL, SQL statements can specify a partition name. For instance, the following statement applies an update to an individual partition (S1) only:

UPDATE sales_part PARTITION(s1)
SET purge_ind=’Y’ 
WHERE sale_value < 10000 

 

Related Topics

RECURSIVE EXECUTION

 

The RECURSIVE EXECUTION operation executes a statement with a recursive execution function call.

 

  

 

RECURSIVE WITH PUMP

 

The RECURSIVE WITH PUMP operation executes a self-join operation in hierarchical fashion.

 

  

 

REFERENCE MODEL

 

The REFERENCE MODEL operation retrieves data from a reference table.

 

  

 

관련 문서

The document was helpful.

평가 결과 선택

I easily found the information I needed.

평가 결과 선택