Re: Posgresql Log: lots of parse statements

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Posgresql Log: lots of parse statements
Дата
Msg-id 18983.1519925203@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Posgresql Log: lots of parse statements  (Vikas Sharma <shavikas@gmail.com>)
Список pgsql-general
Vikas Sharma <shavikas@gmail.com> writes:
> But why are there so many parse statement occurances for one query?

A "parse" log entry is recorded when the client sends a Parse protocol
message.  So the answer to that question needs to be sought in your
client application's logic.

> In the log I can see these parse statement occurances about 400 times in a
> day and everytime taking longer than 15 secs.

That seems like a mighty long time for parse analysis.  Maybe you're
having difficulties with something taking exclusive locks, thereby
blocking other queries?

            regards, tom lane


В списке pgsql-general по дате отправления:

Предыдущее
От: Ron Johnson
Дата:
Сообщение: Re: Version upgrade: is restoring the postgres database needed?
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Posgresql Log: lots of parse statements