toraloader how to do parallel loading

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
oxford

toraloader how to do parallel loading

Post by oxford » Mon 18 Jul 2005 14:38

hi
is there a way to parallel load data into the database when using the toraloader (sql*loader mode )

thanx

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Thu 21 Jul 2005 12:09

You can't use TOraLoader in multithread environment, so there is no parallel loading feature in ODAC using Oracle direct path feature. You can use DML array feature for such tasks. For example of using DML array see DMLArray ODAC demo project

LarthaL
Posts: 3
Joined: Mon 21 May 2007 21:05

Multithreaded TOraLoader

Post by LarthaL » Thu 10 Mar 2011 11:16

Hi Alex, i can see using ODAC 6.50.0.39 with Delphi 2007 that is still true your affirmation saying TOraLoader can't be user in a multithreaded environment.

I.e. I can't write an application such as for every external file there is a thread with its own TOraSession and TOraLoader running concurrently.
Trying to do so every thread is, using Oracle Client 10g 10.2.0.4, executed serially.

Is there any chance that this feature will be implemented?

Thank you

My environment is:
ODAC 6.50.0.39
Delphi 2007
Windows XP SP3 (Italian)
Oracle Client 10g 10.2.0.4

The server is:
RedHat Linux 5.1 x64
Oracle Database 10g R2 10.2.0.4 x64

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Mon 14 Mar 2011 09:24

Hello,

Unfortunately, we can't implement this feature in the lmDirect mode, this limitation is connected with the Oracle behavior.
You can use only the lmDML mode for such task.

LarthaL
Posts: 3
Joined: Mon 21 May 2007 21:05

Post by LarthaL » Wed 16 Mar 2011 17:20

Thank you for your kind reply Alex.
I will keep lmDirect mode in a single thread.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Thu 17 Mar 2011 08:17

Hello,

If any other questions come up, please contact us.

Post Reply