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

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.2.2.0
    • Fix Version/s: None
    • Component/s: Store
    • Labels:
      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

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

              Dates

              • Created:
                Updated: