Re: Hard to Use WAS: Hard limit on WAL space

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Hard to Use WAS: Hard limit on WAL space
Дата
Msg-id 20130615095725.GA9649@svana.org
обсуждение исходный текст
Ответ на Re: Hard to Use WAS: Hard limit on WAL space  (Craig Ringer <craig@2ndquadrant.com>)
Ответы Re: Hard to Use WAS: Hard limit on WAL space  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
On Sat, Jun 15, 2013 at 12:43:10PM +0800, Craig Ringer wrote:
> Bloat
> ------
>
> Table bloat. Table bloat has been a major issue with PostgreSQL
> users/admins for years. Anyone care to explain to me in a simple
> paragraph how to find out if you have table or index bloat issues in
> your database and what to do about it? (Maybe we need
> "pg_catalog.pg_index_bloat" and "pg_catalog.pg_table_bloat" views
> including FILLFACTOR correction?)
>
> I think I'll draft up a patch to add exactly that.

Nice list btw. I monitor this by using the excellent check_progres
nagios plugin, which has stuff to check for things like this.

Which makes me think that it might be possible to add some other checks
like this, in for example pg_ctl.  A big fat warning 'your data may be
eaten' might get noticed at startup.

(A minor annoyance is that in recent version of PostgreSQL you have to
give check_postgres admin rights, otherwise it can't warn you about
"idle in transaction" problems.)

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> He who writes carelessly confesses thereby at the very outset that he does
> not attach much importance to his own thoughts.  -- Arthur Schopenhauer

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Hard to Use WAS: Hard limit on WAL space
Следующее
От: Andres Freund
Дата:
Сообщение: Re: pluggable compression support