fgdfg 发表于 2016-11-19 08:34:41

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日志记录执行计划