db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Matrigali (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-2337) allow latches to be transferred directly from nested internal transactions to calling user transaction to improve page allocation performance/complexity
Date Wed, 14 Feb 2007 23:19:05 GMT
allow latches to be transferred directly from nested internal transactions to calling user
transaction to improve page allocation performance/complexity
--------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: DERBY-2337
                 URL: https://issues.apache.org/jira/browse/DERBY-2337
             Project: Derby
          Issue Type: Improvement
          Components: Store
    Affects Versions: 10.2.2.0
            Reporter: Mike Matrigali
            Priority: Minor


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.  



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message