No indexes on small tables?

后端 未结 13 1024
忘掉有多难
忘掉有多难 2020-12-13 06:35

\"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.\" (Donald Knuth). My SQL tables are unlikely to conta

13条回答
  •  情书的邮戳
    2020-12-13 07:18

    As a general rule of thumb, it's good to avoid smaller indexes as they typically won't be used.

    But sometimes they can provide a huge boost as I outlined here.

提交回复
热议问题