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

GTID .state and Index for Relay Log

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • None
    • Replication
    • None

    Description

      .state file caches and indices (MDEV-4991) were optional optimizations for Binary Logs, and (after MDEV-38908) will be optional for Relay Logs, too.

      Before adding them to Relay Logs, we should evaluate how much optimization these runtime taxes really bring, and if they should be tuned or enabled separately from Binary Logs.
      In particular, with @@relay_log_purge=1 (which is the default), Relay Logs may not be large enough for caches and indices to be worth (unless SQL Threads were sleeping while IO Threads were active).

      Otherwise, the code for Binary Logs (e.g., gtid_index.cc) should be (needs to be checked) easily applicable for Relay Logs.

      Attachments

        Issue Links

          Activity

            People

              ParadoxV5 Jimmy Hú
              ParadoxV5 Jimmy Hú
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.