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-06-30 15:17:06 +08:00
2026-05-25 15:45:57 +08:00