spring-boot记录sql探索
摘要:目标记录每次请求内的http、es、mysql耗时,本篇讨论mysql部分 为什么说要探索,这不是很简单的事么?但是能满足以下几点么? 能记录limit等参数 能将参数和sql写一起,能直接使用 能记录耗时 能计数累加,统计一次请求中sql执行的总数和总耗时 spring原生能力 logging.l
阅读全文
posted @ 2021-03-16 13:50
posted @ 2021-03-16 13:50
posted @ 2021-03-11 11:42
posted @ 2021-03-10 15:43
posted @ 2021-03-10 10:26