Database speed optimization: few tables with many rows, or many tables with few rows?

前端 未结 7 904
鱼传尺愫
鱼传尺愫 2021-01-19 07:23

I have a big doubt.

Let\'s take as example a database for a whatever company\'s orders.

Let\'s say that this company make around 2000 orders per month, so, a

7条回答
  •  轮回少年
    2021-01-19 08:00

    Look into partitioning your tables in time slices. Partitioning is good for the log-like table case where no foreign keys point to the tables.

提交回复
热议问题