Indexing a reference column
Question
Say I have a reference table like languages
with only 20 records. Is it worth indexing a field like language_code
(e.g. en
, es
) that's frequently used in queries? I'm wondering if an efficient server would effectively be indexing columns like this automatically.
This is specifically for MariaDB with InnoDB engine.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange