Posgresql Log: lots of parse statements
От | Vikas Sharma |
---|---|
Тема | Posgresql Log: lots of parse statements |
Дата | |
Msg-id | CAN6gwKx7cjSa4aviWp0Eh7zTJqrGXEbnkZTj0gdQC2caTB69PQ@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: Posgresql Log: lots of parse statements
|
Список | pgsql-general |
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.
2018-01-21 14:01:16 GMT LOG: duration: 62952.558 ms parse <unnamed>: select this_.busi_type as business_type from tablea where this_.busi_id = $1 and this_.busi_date = $2
2018-01-21 14:05:00 GMT LOG: duration: 62952.558 ms parse <unnamed>: select this_.busi_type as business_type from tablea where this_.busi_id = $1 and this_.busi_date = $2
2018-01-21 14:17:12 GMT LOG: duration: 62952.558 ms parse <unnamed>: select this_.busi_type as business_type from tablea where this_.busi_id = $1 and this_.busi_date = $2
2018-01-21 14:34:08 GMT LOG: duration: 62952.558 ms parse <unnamed>: select this_.busi_type as business_type from tablea where this_.busi_id = $1 and this_.busi_date = $2
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?
Best Regards
Vikas
В списке pgsql-general по дате отправления: