What are the disadvantages of having many indices?

后端 未结 4 769
礼貌的吻别
礼貌的吻别 2021-01-01 16:43

I recently sped up a complicated query by an order of magnitude by giving SQLite a good index to work with. Results like this make me wonder if I should index a lot of other

4条回答
  •  有刺的猬
    2021-01-01 17:46

    Indexes slow down inserts and updates (which can become a really serious issue with locking) and cost disk space. That's pretty much it.

提交回复
热议问题