Re: Measuring relation free space

Поиск
Список
Период
Сортировка
От Robert Treat
Тема Re: Measuring relation free space
Дата
Msg-id CAJSLCQ1rt5AnV7TxSgnQZS4_oG8XGVec5qWz2SGL1YWYgdSRTw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Measuring relation free space  (Greg Smith <greg@2ndQuadrant.com>)
Список pgsql-hackers
On Tue, Nov 8, 2011 at 7:19 PM, Greg Smith <greg@2ndquadrant.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


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: parallel make failure
Следующее
От: Tom Lane
Дата:
Сообщение: Re: reduce null bitmap size