How to use Oracle Database SQL Parallel Query to enhance performance.
In some occasions such as batch processing you might want to utilize Oracle’s Parallel Execution feature to allow multiple CPU cores processing the request. Here are three ways to kick off parallel query.

milly 8:15 am on January 13, 2010
There are three ways to make a query to execute in parallel.
1. Enable the table(s) for parallel execution:
Use this method if you generally want to accessing these tables in parallel.
2. Use a parallel hint:
This method is useful for testing purposes, or if you have a particular statement or few statements that you want to execute in parallel, but most statements run in serial.
3. Session specific:
Use
alter session force parallel query;This is useful if your application always runs in serial except for the particular session that you want to execute in parallel.
A batch operation in an OLTP application is an example.
All three methods are enabled in DEFAULT parallel capabilities where Oracle chooses the DOP. By default, Oracle will spawn two parallel server processes per each core on most systems, so if you run your query on an environment with 2 CPU cores the DOP will be 4. The original query which initially took 10 minutes to complete should complete within less than 3 minutes at DOP of 4, assuming sufficient resources are available.