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

Optimise dump table #24

Merged
merged 1 commit into from
Nov 25, 2023
Merged

Optimise dump table #24

merged 1 commit into from
Nov 25, 2023

Conversation

nickschuch
Copy link
Collaborator

Problem

The mtk dump <DATABASE> <TABLE> command was building a full list of parameters.

Building this list can be expensive when working with large configuration files since it has to lookup, glob and expand the list of tables as part of it's operations, resulting in a large number of SHOW FULL TABLES commands (this will be cached in a few PR).

Solution

Build a list of params to that are specific to this table.

@nickschuch nickschuch merged commit 9a3a037 into main Nov 25, 2023
2 checks passed
@nickschuch nickschuch deleted the optimise-dump-table branch November 25, 2023 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant