From: Scott Marlowe <scott.marlowe@gmail.com>
To: Ernesto Eduardo Medina Núñez <eemnpg@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: auto vacuum for opentaps
Date: Mon, 21 Jul 2008 10:31:42 -0600
Message-ID: <dcc563d10807210931q472cdd61t44c541505c9498fd@mail.gmail.com> (raw)
In-Reply-To: <18cc0be90807210841l637556ffl7a239a10bc45c285@mail.gmail.com>
References: <18cc0be90807210841l637556ffl7a239a10bc45c285@mail.gmail.com>
On Mon, Jul 21, 2008 at 9:41 AM, Ernesto Eduardo Medina Núñez
<eemnpg@gmail.com> wrote:
> Hi I installed the open source ERP Opentaps which have 802 tables and using
> PostgreSQL as backend, and also filled the tables with demo data.
>
> When I browse the tables using PgAdmin3 I get messages saying that:
> The estimated row count on the table "some_table" deviates significantly
> from the actual row count. You should run vacuum analyze.
>
> So I do it again and again with each table that throws me the message until
> I get tired, then I went to the database's root and click on maintenance,
> vacuum analyze.
> Then a long process begin, after that I continue browsing the tables but I'm
> still getting the messages, so I suppose that I'm not doing the vacuum
> correctly.
What is your default stats target set to? Try increasing it to 50 or
100 for this db and see if the message you're seeing goes away.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: scott.marlowe@gmail.com, eemnpg@gmail.com
Subject: Re: auto vacuum for opentaps
In-Reply-To: <dcc563d10807210931q472cdd61t44c541505c9498fd@mail.gmail.com>
References: <18cc0be90807210841l637556ffl7a239a10bc45c285@mail.gmail.com> <dcc563d10807210931q472cdd61t44c541505c9498fd@mail.gmail.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