摘要:
1、异常提示: DEBUG o.s.w.s.m.m.a.ServletInvocableHandlerMethod - Error resolving argument [2] [type=java.lang.Integer] HandlerMethod details: Controller [c 阅读全文
摘要:
表 A 中共有数据 738 条,表 B 中共有数据 16612 条,优化前查询耗时超过 1 分钟,优化后查询耗时缩减至 0.066 秒。经 EXPLAIN 分析发现,优化前 A 表和 B 表采用的是全表扫描的方式,优化后使用了索引从而使查询速度提升了 10 倍以上。优化方法:在 B 表中的外键中加入 阅读全文