pg.ddx.io pgsql-performance@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Shaun Thomas <sthomas@peak6.com>
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: felix <crucialfelix@gmail.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: good old VACUUM FULL
Date: Wed, 23 Mar 2011 08:13:28 -0500
Message-ID: <4D89F1F8.1080609@peak6.com> (raw)
In-Reply-To: <AANLkTi=TfxNpFW-v1vFBjtJLqnWL=Rcu8DrqaL_0KDL5@mail.gmail.com>
References: <AANLkTi=SMx4GiW5DLFTpOm4Go-ibipc6WpTN+4rY7tbF@mail.gmail.com>
<AANLkTi=TfxNpFW-v1vFBjtJLqnWL=Rcu8DrqaL_0KDL5@mail.gmail.com>
On 03/23/2011 01:16 AM, Scott Marlowe wrote:
> Then either cluster failed (did you get an error message) or the table
> was not bloated. Given that it looks like it was greatly reduced in
> size by the vacuum full, I'd guess cluster failed for some reason.
Or it just bloated again. Remember, he still hasn't changed his
max_fsm_pages setting, and that table apparently experiences *very* high
turnover.
A 25x bloat factor isn't unheard of for such a table. We have one that
needs to have autovacuum or be manually vacuumed frequently because it
experiences several thousand update/deletes per minute. The daily
turnover of that particular table is around 110x. If our fsm settings
were too low, or we didn't vacuum regularly, I could easily see that
table quickly becoming unmanageable. I fear for his django_session table
for similar reasons.
Felix, I know you don't want to "experiment" with kernel parameters, but
you *need* to increase your max_fsm_pages setting.
--
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 800 | Chicago IL, 60604
312-676-8870
sthomas@peak6.com
______________________________________________
See http://www.peak6.com/email_disclaimer.php
for terms and conditions related to this email
view thread (5+ messages) latest in thread
Message-ID: <4D89F1F8.1080609@peak6.com> Permalink: ../4D89F1F8.1080609@peak6.com/ Also on: postgresql.org/message-id/4D89F1F8.1080609@peak6.com ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients using the --to and --cc options: reply via email To: pgsql-performance@postgresql.org Cc: sthomas@peak6.com, scott.marlowe@gmail.com, crucialfelix@gmail.com Subject: Re: good old VACUUM FULL In-Reply-To: <4D89F1F8.1080609@peak6.com> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox