摘要:
背景 为了优化项目体验,需要记录一下SQL的执行时间以便进行进行优化。 解决 新建SQL表 基于Mybatis Interceptor实现SQL的执行时间的记录,以便进行优化。新建一张sql_log表,用于存储执行的sql语句。 create table `sql_log` ( `id` bigin 阅读全文
最新随笔
- 1.Kafka消费消息时遇到的问题
- 2.ElasticSearch使用IK分词器,并重建索引
- 3.使用Logstash进行ElasticSearch数据迁移
- 4.getWriter() has already been called for this response
- 5.Dubbo调用报错:forbid consumer
- 6.启动报错:class: interface org.apache.dubbo.common.logger.LoggerAdapter) couldn't be instantiated: null
- 7.执行报错:Transaction rolled back because it has been marked as rollback-only
- 8.Redis集群不停机升级
- 9.Web页面显示报错信息漏洞修复
- 10.Clickhouse备份与恢复