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

Split buf_pool.page_hash to fil_space_t::page_hash

    XMLWordPrintable

Details

    Description

      Some of the logic in the buf_flush_page_cleaner thread is based on processing one tablespace at a time. I did not fully think through this, but I believe that the global buf_pool.page_hash could be split into hash tables that are attached into the individual tablespaces.

      Most callers of buf_page_get_gen() should be able to access the tablespace object conveniently. For the bulk of the calls, it would be available via dict_index_t::space. For all tablespaces that are known to InnoDB, there will be a fil_space_t object allocated in memory, even for tables or files that have not been accessed during the lifetime of the server process.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:

                Git Integration

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