修复订单镜像宽字段索引
This commit is contained in:
parent
e5ad1b2390
commit
76de1a033c
@ -198,7 +198,9 @@ return [
|
||||
['o_id', 'Id'],
|
||||
['order_date', 'o_id', 'Id'],
|
||||
// 账单明细按线上订单号 so_id 关联订单表;缺这个索引会让关联退化成百万行全表扫描。
|
||||
['so_id', 'Id'],
|
||||
// SQL Server 的历史 so_id 字段可能超过 MariaDB 联合索引上限;
|
||||
// 订单号关联使用前 64 个字符已覆盖实际单号格式,同时保留 Id 唯一定位。
|
||||
['so_id(64)', 'Id'],
|
||||
],
|
||||
],
|
||||
'operations_replica.rpt.jst_OrderItem' => [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user