Quantcast
Viewing all articles
Browse latest Browse all 24688

Have you found ADO.Net is quicker than OLEDB ??

I have a small archiving SSIS pacakge that I use to archive off old orders. I was OLEDB and found that I would be deleting about 1 order (plus all its relational records) a second. Try to find some speed I tried the ADO.net connetion and turn pooling on with a min of 10. Now I am getting about 100 order records deleted a second.

Has any one else found that that ADO.net connection is faster than the OLEDB (I would have thought it would be the other way around).

The  

Control flow items I am using are the Execute SQL Task and the queries are like this

Insert into arcprod.wh1.pickdetail
 Select * from wh1.pickdetail where status='9' and orderkey = @Pram1  and
 pickdetailkey not in (select pickdetailkey from arcprod.wh1.pickdetail)

...

delete from wh1.pickdetail where orderkey = @Pram1

etc

 

 


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>