zhx
959ce54750
fix: 治理线上 MySQL CPU 波动的两个热点查询
- backfill-last7 的报表用户集合改从 wallet_accounts(7千行)取,
替代每10分钟对千万级 wallet_entries 做资产全量 DISTINCT 扫描
(线上等价性已核验:旧集合 4907 人 ⊆ 新集合 4908 人)
- lucky_gift_outbox 补两个无 app_code 前缀的 claim 索引,
消除 worker 每秒空轮询的全索引扫描+filesort(线上已手工应用)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 16:10:57 +08:00
..
2026-07-10 11:59:24 +08:00
2026-07-03 22:04:39 +08:00
2026-07-03 22:04:39 +08:00
2026-07-10 11:25:22 +08:00
2026-07-10 16:10:57 +08:00
2026-07-04 01:53:10 +08:00
2026-06-23 11:53:00 +08:00
2026-07-09 13:02:49 +08:00
2026-07-10 16:10:57 +08:00
2026-07-09 18:15:57 +08:00
2026-07-09 18:15:57 +08:00