3 ms·
Creating indexes without understanding how they actually arrange the underlying data is at best a mild performance hit and at worst a catastrophic performance s
by koolba 5y ago
Creating indexes without understanding how they actually arrange the underlying data is at best a mild performance hit and at worst a catastrophic performance sink.
Each type handles a different access pattern and query work load. But “I have an index” doesn’t mean anything if the column order or operator doesn’t match the actual task.
If you want to really make your database experience shine, then take the time to understand how each type of index actually lays out your data. What it means to perform a range operation (e.g. key > X) v.s. an equality (e.g. key = or contains X). Otherwise you’re adding overhead to every data modification with no long term gain.