首页 > 其他 > 详细

How to get table pg_stat_user_functions.

时间:2015-11-18 16:28:16      阅读:134      评论:0      收藏:0      [点我收藏+]

修改配置文件postgres.conf

 

track_functions = all                   # none, pl, all

 

postgres=# select * from pg_stat_user_functions ;
 funcid | schemaname | funcname | calls | total_time | self_time 
--------+------------+----------+-------+------------+-----------
(0 rows)

 

修改完成后,重启数据库,就会有数据了。  

How to get table pg_stat_user_functions.

原文:http://www.cnblogs.com/sangli/p/4974584.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!