haohetao 发表于 2013-1-30 01:32:02

PostgreSql日志记录执行计划

postgresql.conf配置中加入如下行
 
shared_preload_libraries = 'auto_explain'
custom_variable_classes = 'auto_explain'
auto_explain.log_min_duration = '0s'
auto_explain.log_analyz=on
auto_explain.log_nested_statements=on
auto_explain.log_verbose=on
页: [1]
查看完整版本: PostgreSql日志记录执行计划