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

mariabackup excessive logging of ddl tracking

    XMLWordPrintable

Details

    Description

      mariabackup writes space id of each table to stdout once per second, despite space id not having changed:

      MariaDB [(none)]> select space, name from information_schema.INNODB_SYS_TABLESPACES where space=56;
      +-------+--------------------------+
      | space | name                     |
      +-------+--------------------------+
      |    56 | mysql/innodb_index_stats |
      +-------+--------------------------+
      1 row in set (0.001 sec)
      

      # grep DDL /mnt/holland/mariabackup/20220718_205103/mariabackup.log | 
      awk '{print $NF}' | sort | uniq -c | head -3
       
          503 "./mysql/gtid_slave_pos.ibd"
          503 "./mysql/innodb_index_stats.ibd"
          503 "./mysql/innodb_table_stats.ibd"
       
      # awk '/DDL.*innodb_index_stats/ {print $7" "$8" "$9}' /mnt/holland/mariabackup/20220718_205103/mariabackup.log | 
      sort | uniq -c
       
          503 modify 56 "./mysql/innodb_index_stats.ibd"
       
       
      # awk '/DDL.*innodb_index_stats/ {print}' /mnt/holland/mariabackup/20220718_205103/mariabackup.log |
      tail -3
       
      [00] 2022-07-18 20:54:39 DDL tracking : modify 56 "./mysql/innodb_index_stats.ibd"
      [00] 2022-07-18 20:54:40 DDL tracking : modify 56 "./mysql/innodb_index_stats.ibd"
      [00] 2022-07-18 20:54:41 DDL tracking : modify 56 "./mysql/innodb_index_stats.ibd"
      

      Attachments

        Issue Links

          Activity

            People

              thiru Thirunarayanan Balathandayuthapani
              mg MG
              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.