Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2337

allow latches to be transferred directly from nested internal transactions to calling user transaction to improve page allocation performance/complexity

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 10.2.2.0
    • None
    • Store
    • None

    Description

      In the newPage() routine of FileContainer.java a new page is allocated using a ntt (a nested internal transaction), so that the allocation of the new page can be committed separate from the user transaction requesting the allocation. Extra logic and time is needed once the page is allocated to allow the calling transaction to use it as it must be unlatched and must handle other transactions getting to it before it gets a chance. If somehow the ntt could be committed but the latch be transferred to the calling transaction then the insert would go faster, and there would be no need for retry logic.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mikem Mike Matrigali
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: