4 ms·
MariaDB can do sort/merge joins. It's rare that you want to force one, but you can. That's what IGNORE INDEX is for. If you're testing, take a sample of the da
by Animats 8y ago
MariaDB can do sort/merge joins. It's rare that you want to force one, but you can. That's what IGNORE INDEX is for.
If you're testing, take a sample of the database and test on that.
First try the simple form:
explain
select
project_commits.project_id,
date_format(commits.created_at, '%x%v1') as week_commit
from commits, project_commits
where project_commits.commit_id = commits.id;
That ought to call for a sort and merge.