The join_buffer_size variable sets the buffer size for join queries that require a full table scan because they cannot use an index.
Releem automatically tunes join_buffer_size and
44 other variables to improve MySQL performance. Try Releem for
Free, or deepen your understanding by reading our detailed article.