From: | Robert Treat <rob(at)xzilla(dot)net> |
---|---|
To: | Greg Smith <greg(at)2ndquadrant(dot)com> |
Cc: | Mark Kirkwood <mark(dot)kirkwood(at)catalyst(dot)net(dot)nz>, Bernd Helmle <mailings(at)oopsware(dot)de>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Measuring relation free space |
Date: | 2011-11-09 16:34:03 |
Message-ID: | CAJSLCQ1rt5AnV7TxSgnQZS4_oG8XGVec5qWz2SGL1YWYgdSRTw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Nov 8, 2011 at 7:19 PM, Greg Smith <greg(at)2ndquadrant(dot)com> wrote:
> On 11/08/2011 05:07 PM, Robert Treat wrote:
>>
>> It's already easy to get "good enough" numbers based on user space
>> tools with very little overhead, so I think it's more important that
>> the server side tool be accurate rather than fast.
>
> What user space method do you consider good enough here? I haven't found
> any approximation that I was really happy with; wouldn't have bothered with
> this otherwise.
>
check_postgres and the pg_bloat_report both use a method of comparing
on disk size vs estimated size based on table structure (or index
info). Run regularly, it's certainly possible to keep bloat under
control. That said, I'd still like to see something more accurate.
Robert Treat
conjecture: xzilla.net
consulting: omniti.com
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-11-09 16:35:57 | Re: parallel make failure |
Previous Message | Kevin Grittner | 2011-11-09 16:28:55 | Re: const correctness |