Re: Table locks

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Table locks
Дата
Msg-id 200010091800.OAA21044@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Table locks  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Table locks  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I want to write an admin utility that will view backend SQL queries, and
> > be able to view locks and statistics using gdb on the running backend.
>
> gdb on a backend doesn't seem to me like a reasonable component of a
> production situation.  I was thinking something along the line of a
> SHOW command that would show the state of the lock table.

I am thinking of a tcl/tk app that can go in and grab information from
backends by querying the actual structure values.  Does gdb
automatically halt the running app?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: postgres via shell scripts
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Table locks