3 ms·
Generally you would use indexes to speed up a complex join, to the point where the overhead of the join itself would just not matter and there would be no point
by zozbot234 4y ago
Generally you would use indexes to speed up a complex join, to the point where the overhead of the join itself would just not matter and there would be no point to having an index on it. Many databases also support partial indexes already, which could go a long way towards supporting the "top # rows" use case.