Cache physical numbers of often used data pages to reduce number of fetches of pointer pages --------------------------------------------------------------------------------------------
Key: CORE-5441 URL: http://tracker.firebirdsql.org/browse/CORE-5441 Project: Firebird Core Issue Type: Improvement Components: Engine Reporter: Vlad Khorsun When engine need to fetch some data page by its logical number (sequence number of DP in relation) it should fetch corresponding PP first and look for slot with physical number of given DP. I.e. engine always needs to do two fetches from the page cache to read any row. Cost of page fetch is small (ideally 2 CAS instructions) but not zero, especially in highly loaded multy-CPU environment. Also, pointer pages is a very "hot" pages and many readers could force writers to wait. Note, mapping of logical data page number to physical numbers is more-or-less stable. Obviously, caching of that mapping information could reduce number of fetches of PP and lower contention in page cache. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel