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

innodb_flush_log_at_trx_commit=0 as suggestion for galera vs =2

    XMLWordPrintable

Details

    Description

      =0 is a better value that =2 because it is a background thread where durability is achieved based on isolated galera machines based on this research: openquery.com.au/blog/innodbflushlogsontrxcommit-galeracluster

      upstream pull request for codership documentation: https://github.com/codership/galera/pull/86

      patch:

      === modified file 'debian/additions/my.cnf'
      --- debian/additions/my.cnf     2014-07-17 20:22:01 +0000
      +++ debian/additions/my.cnf     2014-07-28 07:04:36 +0000
      @@ -165,7 +165,7 @@
       #query_cache_size=0
       #
       # Optional setting
      -#innodb_flush_log_at_trx_commit=2
      +#innodb_flush_log_at_trx_commit=0
       
       [mysqldump]
       quick
       
      === modified file 'support-files/rpm/server.cnf'
      --- support-files/rpm/server.cnf        2014-07-17 20:22:01 +0000
      +++ support-files/rpm/server.cnf        2014-07-28 07:04:52 +0000
      @@ -25,7 +25,7 @@
       #query_cache_size=0
       #
       # Optional setting
      -#innodb_flush_log_at_trx_commit=2
      +#innodb_flush_log_at_trx_commit=0
       
       # this is only for embedded server
       [embedded]
       

      Attachments

        Activity

          People

            nirbhay_c Nirbhay Choubey (Inactive)
            danblack Daniel Black
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.