Oracle bulk insert question

Posts   
 
    
tjain
User
Posts: 1
Joined: 12-Jan-2007
# Posted on: 12-Jan-2007 00:38:17   

I have a huge number of rows to insert into a table and I am not sure if LLBLGen does this in the most efficient manner possible.

ODP.Net provides a way to insert bulk data into a database in an efficient manner (using the ArrayBindCount). Does LLBLGen use it? I searched the source code and could not find any usage of ArrayBindCount !!

If yes, how do I make sure it does.

If not, is there any way to extend/change LLBLGen to do so?

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 12-Jan-2007 08:40:24   
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 12-Jan-2007 10:43:22   

We don't support db specific ways to do bulk inserts. In general it's more efficient to use a small application / direct call to a DB api to do bulk inserts, especially if it's 1000's of rows. The reason is that the ways these API's work is often not through SQL but through lowlevel calls which surpass the necessity of using INSERT statements.

Frans Bouma | Lead developer LLBLGen Pro