MySQL: How avoid all partitions scan (year-based) when doing ID lookup?

后端 未结 0 1802
臣服心动
臣服心动 2020-12-03 08:40

In case I have a table partitioned by year; how do I avoid the scanning of all partitions when I have to lookup a row by its ID and can\'t use partition pruning in the looku

相关标签:
回答
  • 消灭零回复
提交回复
热议问题