Parallel Insert into a Partitioned Table
536952May 31 2008 — edited Jun 1 2008Hi,
I am trying to insert into a Partitioned Table using four Parallel SQLs which brings four different set of data and dump into the Target Table.
The Target table is List Partitioned based on one of its column.
I am using
ALTER SESSION enable PARALLEL DML
ALTER SESSION force parallel query parallel 2
and then the insert using below hint.
/*+ APPEND NOLOGGING parallel(table_name,2)*/
Each of the Four SQL uses the above hint and dump data into a specific partition of a table.Still i see that when i run all the four SQLs at one it takes more time to insert into the table as compared to the situation when i run one SQL.
My problem is that i am taking care of all the measures of Direct insert but still my four SQLs are NOT taking the same amount of time as it should take when one SQL is executed inspite of all four SQLs running in parallel..
Regards
Shrenik