Passing of Table Value Parameters to stored procedures

  • We are using TVP's in a call to a stored procedure. The proc takes three arguments of which all are TVP's. This functionality does not seem to scale at all, no

    matter how many threads are calling the stored procedure, it always performs the same.

    We removed all functionality in the proc but this made almost no difference.

    It seems that the major time is spent in the passing of the TVP's from the .net dataaccess code to the stored procedure.

    Could there be that there are some locks involved?

    Is the TVP's not recommended if you call the stored proc at a high frequency?

    Do we have to send batches instead to achieve any performance?

Viewing 0 posts

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