No indexes on small tables?

后端 未结 13 994
忘掉有多难
忘掉有多难 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:15

    I guess there is an auto indexing on the primary key of the table which should be sufficient when querying on a table with less data.

    So, yes explicit indexes can be avoided in case there is a small data set to be worked upon.

提交回复
热议问题