出入库数据为0的问题解决 20251222 —— insert/update 类型的语句 #182
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
update语句慢的,在于缺“等值+状态+时间”复合索引,导致锁了不该锁的成千上万行
考虑到索引和优化select查询的时候 #178 重复,重新优化如下



优化策略
insert语句慢的,肯定是出现了业务锁的情况
大于1秒的 insert和update语句的时间分布