Re: Long (really long) queries and not sure how to diagnose

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Long (really long) queries and not sure how to diagnose
Дата
Msg-id 15083.1272605532@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Long (really long) queries and not sure how to diagnose  (Tony Day <tonyd@panztel.com>)
Список pgsql-novice
Tony Day <tonyd@panztel.com> writes:
> I am not sure what you mean by "complete query logs" but I do have a 1.3G
> Postgresql log file from the day in question.
> Is there a particular way that a "write-preventing lock" will be logged that
> I can search for in that file?

Well, other than an explicit LOCK TABLE, it'd be some sort of DDL action
on the table.  CREATE INDEX, ALTER TABLE, that sort of thing.  I'd try
grepping the query log for the table name and then filtering out the
easy select/insert/update/delete stuff.

            regards, tom lane

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

Предыдущее
От: Tony Day
Дата:
Сообщение: Re: Long (really long) queries and not sure how to diagnose
Следующее
От: Tony Day
Дата:
Сообщение: Re: Long (really long) queries and not sure how to diagnose