Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-25281

Switch to use non-atomic (vs atomic) distributed counter to track page-access counter

    XMLWordPrintable

    Details

      Description

      • As part of MDEV-21212 we switched to use distributed counter (default to atomic) for tracking page access (n_page_get).
      • Originally the counter was non-atomic and so represented an approximate value of the page access. Using the same analogy we could continue to use a non-atomic distributed counter that helps get an approximate count.
      • this change helps improve performance slightly in the range of 3-8% especially in more contention cases.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marko Marko Mäkelä
              Reporter:
              krunalbauskar Krunal Bauskar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: