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

mariadb 10.6.8 hang

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • 10.6.8
    • N/A
    • Server
    • None
    • centos 7.4

    Description

      Importing a 170M sql file will take several hours.

      mysql < a.sql

      Enter the database to view:

      show processlist;

      It shows that the import operation has been stuck at the INSERT INTO operation.

      Check that there are no lock records in the information_schema.INNODB_LOCKS table

      Executing SHOW STATUS and how engine innodb status will hang.

      Execute show create table td_framework_monitor_history and Waiting for table flush will be displayed in show processlist. However, show create table and other tables are normal

      Other tables can be selected, but insert will also hang. Show processlist shows State: update status.

      It has appeared many times, sometimes not when data is imported, but also when inserting normal business logic. But no pattern found

      Attachments

        1. mariadb.png
          216 kB
          ls
        2. log.png
          162 kB
          ls
        3. df.png
          43 kB
          ls
        4. processlist.png
          168 kB
          ls
        5. processlist-1.png
          168 kB
          ls
        6. innodb_status.log
          63 kB
          ls
        7. trx.png
          132 kB
          ls
        8. show_global_status.log
          62 kB
          ls
        9. 23-10-24.png
          158 kB
          ls
        10. 23-10-24-2.png
          354 kB
          ls

        Activity

          People

            Unassigned Unassigned
            ls ls
            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.