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

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.5h
                  0.5h

                  Git Integration

                    Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.