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
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