Calling Stored Proc Simultaneously to Update Different tables.

  • I have a stored procedue(SP) that I am using to load data from an SSIS process.

    The SP is dynamic and runs every 30 seconds. Meaning, based on the parameters I pass it, the SP will determine which tables to updates. Tables contain Varchar(50), Money, Dates, Integers. The tables have about 80 columns each.

    Is there a loss in performance with this approach? Meaning using the same SP to update different tables? Or should I use a different SP for each update process for better performance?

    Teekay

  • Separate ones will end up with better performance, usually. This is due to stored execution plans.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply