| Oracle9i SQL Reference Release 2 (9.2) Part Number A96540-01 |
|
Common SQL DDL Clauses , 7 of 9
The parallel_clause lets you parallelize the creation of a database object and set the default degree of parallelism for subsequent queries of and DML operations on the object.
You can specify the parallel_clause in the following statements:
CREATE TABLE: to set parallelism for the table (see CREATE TABLE).ALTER TABLE (see ALTER TABLE):
CREATE CLUSTER and ALTER CLUSTER: to set or alter parallelism for a cluster (see CREATE CLUSTER and ALTER CLUSTER).CREATE INDEX: to set parallelism for the index (see CREATE INDEX).ALTER INDEX (see ALTER INDEX):
CREATE MATERIALIZED VIEW: to set parallelism for the materialized view (see CREATE MATERIALIZED VIEW).ALTER MATERIALIZED VIEW (see ALTER MATERIALIZED VIEW):
CREATE MATERIALIZED VIEW LOG: to set parallelism for the table (see CREATE MATERIALIZED VIEW LOG).ALTER MATERIALIZED VIEW LOG (see ALTER MATERIALIZED VIEW LOG):
ALTER DATABASE ... RECOVER: to recover the database (see ALTER DATABASE).ALTER DATABASE ... standby_database_clauses: to parallelize operations on the standby database (see ALTER DATABASE).parallel_clause::=
This section describes the semantics of the parallel_clause. For additional information, refer to the SQL statement in which you set or reset parallelism for a particular database object or operation.
Specify NOPARALLEL for serial execution. This is the default.
Specify PARALLEL if you want Oracle to select a degree of parallelism equal to the number of CPUs available on all participating instances times the value of the PARALLEL_THREADS_PER_CPU initialization parameter.
Specification of integer indicates the degree of parallelism, which is the number of parallel threads used in the parallel operation. Each parallel thread may use one or two parallel execution servers. Normally Oracle calculates the optimum degree of parallelism, so it is not necessary for you to specify integer.
|
![]() Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|