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

ANALYZE TABLE in processlist with State NULL

    XMLWordPrintable

    Details

      Description

      When you run the following command:

      ANALYZE TABLE test.test PERSISTENT FOR ALL;

      SHOW PROCESSLIST in another connections shows always State NULL which is obviously not true:

      +-----+------+-----------+-------+---------+-------+----------+--------------------------------------------+
      | Id  | User | Host      | db    | Command | Time  | State    | Info                                       |
      +-----+------+-----------+-------+---------+-------+----------+--------------------------------------------+
      | 846 | root | localhost | mysql | Query   |    23 | NULL     | ANALYZE TABLE test.test PERSISTENT FOR ALL |
      | 851 | root | localhost | NULL  | Query   |     0 | starting | show processlist                           |
      +-----+------+-----------+-------+---------+-------+----------+--------------------------------------------+
      

      Something like "Sending data" would be more appropriate.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            oli Oli Sennhauser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration