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

sync_diff_inspector:Add hint use_index when verifying SQL using primary key/unique key paging #836

Open
ryangao0513 opened this issue Dec 25, 2024 · 0 comments · May be fixed by #837
Open

Comments

@ryangao0513
Copy link

Is your feature request related to a problem? Please describe:
The SQL validation will default to using primary key/unique key paging. These SQL statements may use full table scann due to optimizer bugs or inaccurate statistic. Resulting in a long verification time.

Describe the feature you'd like:
When using primary key/unique key paging, add hint use_index to force index scan.

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

@joechenrh joechenrh linked a pull request Jan 2, 2025 that will close this issue
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 a pull request may close this issue.

1 participant