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

        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.