文档介绍的比较清楚,也有示例: https://docs.pingcap.com/zh/tidb/stable/partitioned-table/#range-interval-分区
不过实际用的应该不多