Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL 8.0: Remove i_s.*variables, i_s.*status #9154

Closed
morgo opened this issue Jan 23, 2019 · 0 comments · Fixed by #56569
Closed

MySQL 8.0: Remove i_s.*variables, i_s.*status #9154

morgo opened this issue Jan 23, 2019 · 0 comments · Fixed by #56569
Labels
compatibility-mysql80 This is a compatibility issue with MySQL 8.0(but NOT 5.7) component/infoschema information_schema type/compatibility type/enhancement The issue or PR belongs to an enhancement.

Comments

@morgo
Copy link
Contributor

morgo commented Jan 23, 2019

Feature Request

Is your feature request related to a problem? Please describe:

MySQL 8.0 removes the following information_schema tables:

GLOBAL_VARIABLES
SESSION_VARIABLES
GLOBAL_STATUS
SESSION_STATUS

These tables are empty in TiDB with the exception of session_variables, so removing these is not expected to cause incompatibility (see alternatives below).

As a separate issue, these tables are now in performance_schema in MySQL. It would be nice to add support in TiDB.

Describe the feature you'd like:

Remove the following information_schema tables:

GLOBAL_VARIABLES
SESSION_VARIABLES
GLOBAL_STATUS
SESSION_STATUS

Describe alternatives you've considered:

It is possible to include the information_schema.session_variables table in the compatibility mode described in #9141

Teachability, Documentation, Adoption, Migration Strategy:

This is easy to teach, since it makes TiDB behavior closer to MySQL.

@morgo morgo added the type/enhancement The issue or PR belongs to an enhancement. label Jan 23, 2019
@dveeden dveeden added type/compatibility compatibility-mysql80 This is a compatibility issue with MySQL 8.0(but NOT 5.7) labels Oct 11, 2024
@ti-chi-bot ti-chi-bot bot closed this as completed in b37a837 Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility-mysql80 This is a compatibility issue with MySQL 8.0(but NOT 5.7) component/infoschema information_schema type/compatibility type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants