Re: Hard to Use WAS: Hard limit on WAL space - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: Hard to Use WAS: Hard limit on WAL space
Date
Msg-id 20130615095725.GA9649@svana.org
Whole thread Raw
In response to Re: Hard to Use WAS: Hard limit on WAL space  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: Hard to Use WAS: Hard limit on WAL space
List 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 by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Hard to Use WAS: Hard limit on WAL space
Next
From: Andres Freund
Date:
Subject: Re: pluggable compression support