Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-4947

Tables in information_schema are treated as a normal tables

Details

    Description

      The tables in the information_schema are treated like normal user-created tables and get route to any of the nodes where they are found. This makes it hard to use queries that target these tables in conjunction with other queries. A JOIN to an information_schema still works correctly and can sometimes be used as a workaround.

      An improvement to the current behavior would be that if a default database is set and the query only targets tables that are "system tables" (mysql, information_schema, sys, etc.), the query should be routed based on the default database instead. If no default database is set but a previous query was executed, it could be routed to that node. This would at least allow "priming" the queries by doing a SHOW TABLES IN <db> after which the next query to information_schema would then be routed in the correct manner.

      Attachments

        Issue Links

          Activity

            mariadb-jira-automation Jira Automation (IT) made changes -
            Zendesk Related Tickets 164090
            markus makela markus makela made changes -
            markus makela markus makela made changes -
            Fix Version/s 6.4.14 [ 29605 ]
            Fix Version/s 22.08.12 [ 29607 ]
            Fix Version/s 23.02.9 [ 29611 ]
            Fix Version/s 23.08.5 [ 29610 ]
            Fix Version/s 6.4 [ 26119 ]
            Resolution Fixed [ 1 ]
            Status In Review [ 10002 ] Closed [ 6 ]
            markus makela markus makela made changes -
            Status In Progress [ 3 ] In Review [ 10002 ]
            markus makela markus makela made changes -
            Summary Tables in information_schema is treated as a normal tables Tables in information_schema are treated as a normal tables
            markus makela markus makela made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            markus makela markus makela made changes -
            Field Original Value New Value
            Rank Ranked higher
            markus makela markus makela created issue -

            People

              markus makela markus makela
              markus makela markus makela
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.