Re: get this warning from pgAdmin

From: Melvin Davidson <melvin6925(at)gmail(dot)com>
To: anj patnaik <patna73(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: get this warning from pgAdmin
Date: 2015-11-12 18:59:47
Message-ID: CANu8FiyqegZ9G0gH-BXf+qOZ7f5xpN+Zp5N8_VXzCD2gV1yAxg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

This is not necessarily a major issue. It is simply an advisory that a
significant number of rows in the table have been inserted, updated or
deleted and that in order to have reliable statistics, a vacuum analyze
should be done.

Depending on the number of rows in the table and the difference between
actual row count and and the current statistics row count, you can decide
if you need to vacuum analyze or delay.

One rule of thumb is to consider the response time of queries against that
tablet. IOW, are DML queries involving that table completing within a
couple of seconds? If yes, you can delay a while or wait for autovacuum to
be done on that table. If the DML is taking more than a few seconds, then
yes, it is advisable to vacuum analyze it.

On Thu, Nov 12, 2015 at 1:02 PM, anj patnaik <patna73(at)gmail(dot)com> wrote:

> I get this warning when trying to fetch data for a postgres db. Does this
> indicate a real issue? Thanks
>
> Running VACUUM recommended
> The estimated rowcount on the table "recorder" deviates significantly from
> the actual rowcount. You should run VACUUM ANALYZE on this table.
>

--
*Melvin Davidson*
I reserve the right to fantasize. Whether or not you
wish to share my fantasy is entirely up to you.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Guillaume Lelarge 2015-11-12 19:01:29 Re: get this warning from pgAdmin
Previous Message Scott Marlowe 2015-11-12 18:50:41 Re: can postgres run well on NFS mounted partitions?