Re: Posgresql Log: lots of parse statements - Mailing list pgsql-general

From David G. Johnston
Subject Re: Posgresql Log: lots of parse statements
Date
Msg-id CAKFQuwY_LD2ZX1eRXKU5ckCK7CtnDD+JC4v746arMWstpQcLAg@mail.gmail.com
Whole thread Raw
In response to Posgresql Log: lots of parse statements  (Vikas Sharma <shavikas@gmail.com>)
Responses Re: Posgresql Log: lots of parse statements  (Vikas Sharma <shavikas@gmail.com>)
List pgsql-general
On Thu, Mar 1, 2018 at 8:23 AM, Vikas Sharma <shavikas@gmail.com> wrote:
Hi All,

I need help to understand this please. I was looking to do performance tuning on slow queries so have stated logging queries taking more than 15 secs. In the postgresql log  I can see a query which appears only as "parse" while others appear as execute.
​[...]​
I don't see this query to appear as execute, so how can find out how much time it's taking to execute? does this parse timing includes execute also?

​The most likely explanation is that executing the already parsed query takes less than 15 seconds and so doesn't appear due to your filter.

David J.
 

pgsql-general by date:

Previous
From: Vikas Sharma
Date:
Subject: Posgresql Log: lots of parse statements
Next
From: Ron Johnson
Date:
Subject: Re: Version upgrade: is restoring the postgres database needed?