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

SHOW TABLES unnecessary opens frm files

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.21, 5.3.3, 5.2.10, 5.1.41
    • Fix Version/s: 5.5.22, 5.3.6
    • Component/s: None
    • Labels:
      None

      Description

      SHOW FULL TABLES opens every frm file to know the table type - whether it's a base table or a view.

      SHOW TABLES does the same, although the table type is not part of the result, it's ignored. This unnecessary work is reported to add a two orders of magnitude slowdown.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            serg Sergei Golubchik added a comment -

            pushed in 5.3

            Show
            serg Sergei Golubchik added a comment - pushed in 5.3

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                serg Sergei Golubchik
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Time Spent - 30 minutes Remaining Estimate - 30 minutes
                  30m
                  Logged:
                  Time Spent - 30 minutes Remaining Estimate - 30 minutes
                  30m