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

Validating the no of total number of rows in tables in Database XYZ Error:Migration Issue detected on Table in XYZ please verify the rows running command : SELECT table_name, table_rows FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA ='XYZ'; #125

Open
basavarajaC opened this issue Jun 10, 2022 · 1 comment

Comments

@basavarajaC
Copy link

after running the script, we get this issue but data is migrated, We found some number of rows data mismatch on migrated DB.

@mattiasclaesson
Copy link

mattiasclaesson commented Jun 13, 2022

The number of rows as displayed by information_schema.tabels used for validation is only a estimation.
It cannot be trusted.
https://stackoverflow.com/questions/61662317/why-does-my-mysql-databases-information-schema-not-accurately-represent-the-tab
Use the ordinary count method instead.

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

No branches or pull requests

2 participants