Better HN
topnewbestaskshowjobs
Log inSign up

INeedAnother

2 karma · joined Apr 5, 2024 (2y ago) · 1 submissions

Submissions

comment 2y ago · link · parent

Indexes aren't free. They take up storage space and reduce the performance of inserts. On top of that, if an index gets too big it can be really slow, the table needs partitioning instead.

In some applications you might value the performance of insert a lot more than select, and not want to pay for extra storage of the index.