We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When restoring many tables, it cost too many time for creating table, rebase auto ID or things likewise.
Use the meta.Meta API from TiDB directly to create tables.
meta.Meta
The current version -- using DDL to create tables, or execute the DDLs over the owner node.
There are about three steps when we want to creating a table from a model.TableInfo:
model.TableInfo
Meta.CreateTableOrView
(TODO: consistency, performance testing, etc..)
The text was updated successfully, but these errors were encountered:
seems very helpful for DM's schema tracker 👍 will port it after your PR merged.
Sorry, something went wrong.
No branches or pull requests
Feature Request
Describe your feature request related problem:
When restoring many tables, it cost too many time for creating table, rebase auto ID or things likewise.
Describe the feature you'd like:
Use the
meta.Meta
API from TiDB directly to create tables.Describe alternatives you've considered:
The current version -- using DDL to create tables, or execute the DDLs over the owner node.
Teachability, Documentation, Adoption, Migration Strategy:
There are about three steps when we want to creating a table from a
model.TableInfo
:Meta.CreateTableOrView
.(TODO: consistency, performance testing, etc..)
The text was updated successfully, but these errors were encountered: