Stored Procedure vs performance

Posts   
 
    
Posts: 25
Joined: 16-Jul-2007
# Posted on: 18-Dec-2007 15:55:36   

Hi,

I have one main table and doing different calculation and populating around 10 tables. For this I've created 10 stored procedures and executing it. All these stored procedures are either bulk insert or bulk update based on some criteria. To execute this entire set of insert/update SPs it currently takes around 2hrs.

Right now we are dealing with 1 million records in each table.

Please tell me, If I use LLBLGEN and convert my stored procedures to .Net will it decrease my execution time?

stefcl
User
Posts: 210
Joined: 23-Jun-2007
# Posted on: 18-Dec-2007 17:34:38   

Of course it depends on what you're doing exactly but executing ten update statements in a single stored procedure will be faster than sending 10 requests from an external .Net application. No matter if the job is done with llblgen pro or not.

goose avatar
goose
User
Posts: 392
Joined: 06-Aug-2007
# Posted on: 18-Dec-2007 21:27:51   

I agree with stefcl.