debugging queries from psql

Поиск
Список
Период
Сортировка
От Rajesh Kumar Mallah
Тема debugging queries from psql
Дата
Msg-id 40716D62.8040200@trade-india.com
обсуждение исходный текст
Список pgsql-admin
Greeting,

i have 2 identical queries. One of that finish faast another takes ages.
there are couble of trigers that run on update. I want to know where
exactly the sencond query takes time.

is there any way to increase debug logging from the psql prompt
so that i can see whats going behind?

Regds
Mallah.

tradein_clients=#  UPDATE users set last_visit=now() WHERE userid= 34866;
UPDATE 1
Time: 436.591 ms
tradein_clients=# UPDATE users set last_visit=now() WHERE userid= 72643;
Time: Takes ages

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

Предыдущее
От: "Jaime Casanova"
Дата:
Сообщение: [ODBC] psqlodbc problem?
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Frequent 'deadlock detected' in 7.4 ... or just my bad code?