parallel processing - oracle sqlloader paraller mode -
when talking parallel mode sqlloader mean? when have in script execute:
sqlldr control=first.ctl parallel=true direct=true data=first.unl sqlldr control=second.ctl parallel=true direct=true data=second.unl i inserting 2 tables using data file inserts of first table first.unl , 2nd table second.unl
by having parallel=true , direct=true run 2 instances of sqlloader first.unl , second.unl in parallel or run first instance , multiple inserts based on first.unl , run second instance , multiple inserts again based on second.unl?
from the documentation
"parallel specifies whether direct loads can operate in multiple concurrent sessions load data same table."
so, 1 instance of sql loader uses multiple sessions insert 1 table. actual degree of parallelism governed usual parallelization parameters.
"so cannot have inserting multiple tables in parallel?"
if kick off 2 sql loader instances run simultaneously. need careful have enough cpu handle number of threads you're spawning.
Comments
Post a Comment