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

Slow InnoDB shutdown on large instance

Details

    Description

      Shutting down al large windows instance (innodb_pool_buffer_size=384GB, > 500K tables) takes much longer with 10.4 than it did with 10.3.

      Shutdown takes around 10 minutes even with innodb_fast_shutdown=1 or =3.

      innodb_defragment was originally enabled, but even after turning that off shutdown still took several minutes, even though less than with defragmentation enabled.

      Nothing special in the error log besides [Note] InnoDB: Waiting for master threadto exit once per minute.

      Attachments

        1. image-2020-07-14-19-18-54-693.png
          image-2020-07-14-19-18-54-693.png
          851 kB
        2. image-2020-07-14-19-18-55-706.png
          image-2020-07-14-19-18-55-706.png
          851 kB
        3. mdev-11778-workaround.patch
          5 kB
        4. mdev-22778.sql.gz
          9.38 MB
        5. screenshot-1.png
          screenshot-1.png
          535 kB
        6. screenshot-2.png
          screenshot-2.png
          851 kB

        Issue Links

          Activity

            hholzgra Hartmut Holzgraefe created issue -
            hholzgra Hartmut Holzgraefe made changes -
            Field Original Value New Value
            Description Shutting down al large windows instance ({{innodb_pool_buffer_size=384GB}}, > 500K tables) takes much longer with 10.4 than it did with 10.3.

            Shutdown takes around 10 minutes even with {{innodb_fast_shutdown=1}} or {{=3}}.

            {{innodb_defragment}} was originally enabled, but even after turning that off shutdown still took several minutes, even though less than with defragmentation enabled.

            Nothing special in the error log besides {{[Note] InnoDB: Waiting for master threadto exit}} once per minute.
            elenst Elena Stepanova made changes -
            Fix Version/s 10.4 [ 22408 ]
            Assignee Marko Mäkelä [ marko ]
            marko Marko Mäkelä made changes -
            Fix Version/s 10.2 [ 14601 ]
            Fix Version/s 10.3 [ 22126 ]
            Fix Version/s 10.5 [ 23123 ]
            Assignee Marko Mäkelä [ marko ] Eugene Kosov [ kevg ]
            Summary Slow InnoDB shutdown on large 10.4 instance on Windows Slow InnoDB shutdown on large instance
            hholzgra Hartmut Holzgraefe made changes -
            Attachment mdev-22778.sql.gz [ 52778 ]
            wlad Vladislav Vaintroub made changes -
            Attachment screenshot-1.png [ 52807 ]
            wlad Vladislav Vaintroub made changes -
            Attachment screenshot-2.png [ 52808 ]
            wlad Vladislav Vaintroub made changes -
            Attachment image-2020-07-14-19-18-55-706.png [ 52809 ]
            Attachment image-2020-07-14-19-18-54-693.png [ 52810 ]
            marko Marko Mäkelä made changes -
            Fix Version/s 10.2 [ 14601 ]
            Fix Version/s 10.3 [ 22126 ]
            marko Marko Mäkelä made changes -
            Assignee Eugene Kosov [ kevg ] Marko Mäkelä [ marko ]
            hholzgra Hartmut Holzgraefe made changes -
            Attachment mdev-11778-workaround.patch [ 52898 ]
            marko Marko Mäkelä made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            marko Marko Mäkelä made changes -
            Fix Version/s 10.4.14 [ 24305 ]
            Fix Version/s 10.5.5 [ 24423 ]
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.5 [ 23123 ]
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 109417 ] MariaDB v4 [ 157894 ]
            Roel Roel Van de Paar made changes -
            mariadb-jira-automation Jira Automation (IT) made changes -
            Zendesk Related Tickets 170968

            People

              marko Marko Mäkelä
              hholzgra Hartmut Holzgraefe
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.