Re: auto_explain contrib moudle - Mailing list pgsql-hackers

From ITAGAKI Takahiro
Subject Re: auto_explain contrib moudle
Date
Msg-id 20081110173232.7F2B.52131E4D@oss.ntt.co.jp
Whole thread Raw
In response to Re: auto_explain contrib moudle  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: auto_explain contrib moudle  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-hackers
Thank you for reviewing.

Jeff Davis <pgsql@j-davis.com> wrote:
> Another question: what is explain.log_analyze supposed to do? Changing
> it doesn't seem to have an effect; it always prints out the actual time.

That's because explain.log_analyze requires executor instruments,
and it's not free. I think we'd better to have an option to avoid
the overheads... Oops, I found my bug when force_instrument is
turned on. It should be enabled only when
(explain_log_min_duration >= 0 && explain_log_analyze).

I send a new patch to fix it. A documentation about
explain.log_nested_statements is also added to the sgml file.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center


Attachment

pgsql-hackers by date:

Previous
From: Joshua Tolley
Date:
Subject: Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets
Next
From: "Fujii Masao"
Date:
Subject: Re: Walsender process patch v1 for Synch Rep