2014年1月26日

postgreSQLG关闭活动的connection、删除活动的数据库

摘要: First, find the activities that are taken place against the target database, you can query thepg_stat_activityview as the following query:SELECT *FROM pg_stat_activityWHERE datname = 'target_database'; Second, terminate the active connections by issuing the following query:SELECT pg_term... 阅读全文

posted @ 2014-01-26 12:57 Paul_bai 阅读(416) 评论(0) 推荐(0) 编辑

导航