Uploaded image for project: 'iBatis for .NET'
  1. iBatis for .NET
  2. IBATISNET-151

Pre-load stored procedure parameters should use the already-open connection of the IDalSession

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • DataMapper 1.3
    • DataMapper 1.5
    • DataMapper
    • None

    Description

      Report by
      Chris Bissell
      Managing Architect
      MySpace.com

      The only performance optimization we've made so far is to ensure that the
      call to pre-load stored procedure parameters borrows the already-open
      connection of the IDalSession above it. We saw that under super-heavy load
      the fact that the sproc parameter populator tried to grab its own connection
      within the connection of its parent that a semi-deadlock situation would
      result, because the parameter populator does all its work in a heavy lock.
      Interested in hearing why this was done, because we definitely got a big
      boost on app startup post-optimization.

      Attachments

        Activity

          People

            gilles Gilles Bayon
            gilles Gilles Bayon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: