analyze

Поиск
Список
Период
Сортировка
Искать

analyze

От:
Adrian Moisey <adrian@careerjunction.co.za>
Дата:
Hi

How long is a piece of string?

While we're at it, how often do I vacuum analyze?

Seriously though, how do I try measure this?

-- 
Adrian Moisey
System Administrator | CareerJunction | Your Future Starts Here.
Web: www.careerjunction.co.za | Email: adrian@careerjunction.co.za
Phone: +27 21 686 6820 | Mobile: +27 82 858 7830 | Fax: +27 21 686 6842

Re: analyze

От:
Andrew Sullivan <ajs@crankycanuck.ca>
Дата:
On Tue, Jan 29, 2008 at 04:28:45PM +0200, Adrian Moisey wrote:
> 
> Seriously though, how do I try measure this?

Is autovacuum not going to work for your case? 

A

Re: analyze

От:
"Scott Marlowe" <scott.marlowe@gmail.com>
Дата:
On Jan 29, 2008 8:28 AM, Adrian Moisey  wrote:
> Hi
>
> How long is a piece of string?
>
> While we're at it, how often do I vacuum analyze?
>
> Seriously though, how do I try measure this?

1: Turn on autovacuum.
2: Look up the thread on nagios plugins for pgsql and rip the query
for checking bloat out of it, or alternatively, use NAGIOS I guess. :)

monitor your db for bloat, and if autovacuum isn't keeping up either
set it to be more aggresive, or schedule manual vacuums for the tables
that need it.
FAQ