CodePudding user response:
Partition tend to be quicker, reason is very simple, in a small table (table into sheets of small tables) check data than in a big table,With the increase of the amount of data, the performance advantage will be more and more obvious,
CodePudding user response:
Partition using the ID, but you query condition that date, this partition is not what meaning,If you do use date condition, you should consider by date to do partition, in this way can really play to the role of the partition,