Re: table size growing out of control

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: table size growing out of control
Дата
Msg-id 3D357FBE.56ACBFB9@Yahoo.com
обсуждение исходный текст
Ответ на table size growing out of control  (Robert Treat <rtreat@webmd.net>)
Ответы Re: table size growing out of control  (Robert Treat <rtreat@webmd.net>)
Список pgsql-general
Robert Treat wrote:
>
> those are the ways I had been thinking, here are some results:
>
> rms=# select * from pg_stat_activity;
>   datid   | datname | procpid | usesysid | usename  | current_query
> ----------+---------+---------+----------+----------+---------------
> 11914305 | rms     |    2355 |        1 | postgres |
> 11914305 | rms     |   29985 |        1 | postgres |
>
> [...]
>
> ** with current_query blank I'm assuming we have nothing hanging around
> that would interfere right?. **

Assuming that you are doing it as a database superuser, wrong. It means
that your have "stats_command_string = false" or commented out in your
postgresql.conf file. Otherwise it would report "<IDLE>" or "<IDLE> in
transaction".


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #

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

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: Re: PostgreSQL in mission-critical system
Следующее
От: nconway@klamath.dyndns.org (Neil Conway)
Дата:
Сообщение: Re: table size growing out of control