会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
littlevigra
用个简单例子来让自己清楚工作过程
博客园
首页
新随笔
联系
管理
订阅
2021年8月10日
pg阻塞 + pg_top -- select * from pg_stat_activity where pid= pid; = postgresql 运维常用脚本 杀掉进程 - kill VACUUM full bi_dws_kpi_agency
摘要: 1.查下超过10 s的查询语句 select * From pg_stat_activity where query_start<=now()- interval'10 sec' and state not in ('idle') and pid<>pg_backend_pid() and quer
阅读全文
posted @ 2021-08-10 21:29 littlevigra
阅读(441)
评论(16)
推荐(0)
编辑
公告