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

AliSQL: [Perf] Issue#24 SPLIT LOG BUFFER TO ROTATE LOG WRITE

    XMLWordPrintable

Details

    Description

      Description:
      ------------
      It included two kinds of optimization for log write:
       
      1. Split the log buffer into the two buffer that has the same size with innodb_log_buffer_size.
         So that when log_write_up_to_lsn occured, the mtr commit can write private log into
         another global log buffer.
      2. Split log_sys->mutex into two mutex.
         log_sys->mutex protect the log buffer.
         log_sys->w_mutex protect log file.
       
      Those optimization can reduce the log write conflict and improve throughout.
      

      https://github.com/alibaba/AliSQL/commit/959e2d3ebe43012c3c05374aa5cd79b7f9cac2ef

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              svoj Sergey Vojtovich
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.