gh-ost icon indicating copy to clipboard operation
gh-ost copied to clipboard

Handling Slow Queries Without Indexes in gh-ost

Open xf97 opened this issue 1 year ago • 1 comments

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.

xf97 avatar Jul 26 '24 08:07 xf97

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

meiji163 avatar Nov 07 '24 18:11 meiji163