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

Handling Slow Queries Without Indexes in gh-ost #1439

Open
xf97 opened this issue Jul 26, 2024 · 1 comment
Open

Handling Slow Queries Without Indexes in gh-ost #1439

xf97 opened this issue Jul 26, 2024 · 1 comment

Comments

@xf97
Copy link

xf97 commented Jul 26, 2024

Hello, I'm developing a similar tool. Currently, we've encountered an issue where when we use SELECT xxx FROM xxx WHERE xxx to obtain a result set, if there's no index created on the column processed by the WHERE clause, the entire query will become a slow query. I'd like to ask how gh-ost handles this situation. I'm looking forward to your answer.

@meiji163
Copy link
Contributor

meiji163 commented Nov 7, 2024

The row copy ranges over the unique index that gh-ost chooses. See https://github.com/github/gh-ost/blob/master/doc/shared-key.md for more info

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