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

Defer change buffer merge until pages are requested

Details

    Description

      For MDEV-14481, we must defer the change buffer merge to the moment when the secondary index leaf page is requested by a user thread.

      This would also simplify MDEV-16526, because the change buffer I/O would not have to be treated as a special case.

      The change buffer format will not be changed as part of this task. That could remain part of MDEV-11634.

      As part of this, the counter innodb_ibuf_merge_usec will be removed from information_schema.innodb_metrics.

      Attachments

        1. MDEV-19514.ods
          57 kB
        2. MDEV-19514-2.ods
          74 kB
        3. MDEV-19514-3.ods
          63 kB

        Issue Links

          Activity

            marko Marko Mäkelä created issue -
            marko Marko Mäkelä made changes -
            Field Original Value New Value
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            Status Open [ 1 ] Confirmed [ 10101 ]
            marko Marko Mäkelä made changes -
            ralf.gebhardt Ralf Gebhardt made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            marko Marko Mäkelä made changes -
            thiru Thirunarayanan Balathandayuthapani made changes -
            Status Confirmed [ 10101 ] In Progress [ 3 ]
            thiru Thirunarayanan Balathandayuthapani made changes -
            Assignee Thirunarayanan Balathandayuthapani [ thiru ] Marko Mäkelä [ marko ]
            Status In Progress [ 3 ] In Review [ 10002 ]
            marko Marko Mäkelä made changes -
            Assignee Marko Mäkelä [ marko ] Thirunarayanan Balathandayuthapani [ thiru ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            marko Marko Mäkelä made changes -
            thiru Thirunarayanan Balathandayuthapani made changes -
            Assignee Thirunarayanan Balathandayuthapani [ thiru ] Marko Mäkelä [ marko ]
            Status Stalled [ 10000 ] In Review [ 10002 ]
            marko Marko Mäkelä made changes -
            Description For MDEV-14481, we must defer the change buffer merge to the moment when the secondary index leaf page is requested by a user thread.

            This would also simplify MDEV-16526, because the change buffer I/O would not have to be treated as a special case.

            This should also allow us to remove the buf_pool->watch and BUF_BLOCK_POOL_WATCH.

            The change buffer format will not be changed as part of this task. That could remain part of MDEV-11634.
            For MDEV-14481, we must defer the change buffer merge to the moment when the secondary index leaf page is requested by a user thread.

            This would also simplify MDEV-16526, because the change buffer I/O would not have to be treated as a special case.

            The change buffer format will not be changed as part of this task. That could remain part of MDEV-11634.

            As part of this, the counter {{innodb_ibuf_merge_usec}} will be removed from {{information_schema.innodb_metrics}}.
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            Assignee Marko Mäkelä [ marko ] Thirunarayanan Balathandayuthapani [ thiru ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            thiru Thirunarayanan Balathandayuthapani made changes -
            Assignee Thirunarayanan Balathandayuthapani [ thiru ] Marko Mäkelä [ marko ]
            Status Stalled [ 10000 ] In Review [ 10002 ]
            marko Marko Mäkelä made changes -
            Assignee Marko Mäkelä [ marko ] Thirunarayanan Balathandayuthapani [ thiru ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            axel Axel Schwenke made changes -
            Attachment MDEV-19514.ods [ 49026 ]
            marko Marko Mäkelä made changes -
            Assignee Thirunarayanan Balathandayuthapani [ thiru ] Matthias Leich [ mleich ]
            axel Axel Schwenke made changes -
            Attachment MDEV-19514-2.ods [ 49084 ]
            Attachment MDEV-19514-3.ods [ 49085 ]
            axel Axel Schwenke made changes -
            Attachment MDEV-19514-2.ods [ 49084 ]
            axel Axel Schwenke made changes -
            Attachment MDEV-19514-2.ods [ 49143 ]
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            issue.field.resolutiondate 2019-10-11 14:57:48.0 2019-10-11 14:57:48.628
            marko Marko Mäkelä made changes -
            Fix Version/s 10.5.0 [ 23709 ]
            Fix Version/s 10.5 [ 23123 ]
            Assignee Matthias Leich [ mleich ] Marko Mäkelä [ marko ]
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 96805 ] MariaDB v4 [ 133957 ]
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            rob.schwyzer@mariadb.com Rob Schwyzer (Inactive) made changes -
            rob.schwyzer@mariadb.com Rob Schwyzer (Inactive) made changes -
            marko Marko Mäkelä made changes -

            People

              marko Marko Mäkelä
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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