随笔- 807  文章- 150  评论- 23  阅读- 151万 

随笔分类 -  PostgreSQL 脚本

postgresql slow sql report 慢查询报告
摘要:其实也不完全算PostgreSQL的技巧,应该算是SHELL技巧。 首先要配置好postgresql.conf,让PG记录下慢查询,并且日志固定格式,如下: log_destination = 'csvlog' log_min_duration_statement = 100ms pg_ctl re 阅读全文
posted @ 2019-07-09 11:21 xibuhaohao 阅读(640) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示