Monitoring locks

Поиск
Список
Период
Сортировка
От Himanshu Baweja
Тема Monitoring locks
Дата
Msg-id 20050512080524.12473.qmail@web51001.mail.yahoo.com
обсуждение исходный текст
Список pgsql-general
I wanted to see which tables/transaction have acquired or are waiting for which locks....
as far as i know there are two ways to do it....
 
1) pg_locks ::: but we need to continously keep getting data from the table and it also locks lock manager data structures which is not a good thing to do...
 
2) trace_locks,trace_lwlocks ... etc etc.... ::: well for this my server says undefined parameters... so as far as i know i need to rebuild the server with some flag...
 
is there any other better way by which i can get a list of locks acquired and waited for during entire run of my application....
 
thx
Himanshu


Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!

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

Предыдущее
От: Patrick.FICHE@AQSACOM.COM
Дата:
Сообщение: pgadmin on Solaris
Следующее
От: "Philippe Lang"
Дата:
Сообщение: Delphi 2005, Postgresql, ZEOS & optimistic locking