From: Bruno Wolff III <bruno@wolff.to>
To: Bahadur Singh <bahadursingh@yahoo.com>
Cc: pgsql-bugs@postgresql.org
Cc: pgsql-novice@postgresql.org
Subject: Re: BUG #1697: Select getting slower on continously updating data
Date: Thu, 2 Jun 2005 08:02:59 -0500
Message-ID: <20050602130259.GB9716@wolff.to> (raw)
In-Reply-To: <20050602110500.59D47F0B00@svr2.postgresql.org>
References: <20050602110500.59D47F0B00@svr2.postgresql.org>
This does not belong on the pgsql-bugs list. The pgsql-novice or
pgsql-performance lists seem more appropiate. I have set followups
to the pgsql-novice list.
On Thu, Jun 02, 2005 at 12:05:00 +0100,
Bahadur Singh <bahadursingh@yahoo.com> wrote:
>
> Hello,
>
> I found situtation that, when I am selecting data from a table of 200
> records, getting slower as I do continous update to the same existing data.
You need to be vacuuming (and possibly analyzing) the table more often as the
updates will leave dead rows in the table which will bloat the table size and
slow down access, particularly sequential scans. If the updates modify the
data value distributions significantly, then you will also need to
reanalyze the table to help the planner make good decisions.
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: bruno@wolff.to, bahadursingh@yahoo.com, pgsql-bugs@postgresql.org, pgsql-novice@postgresql.org
Subject: Re: BUG #1697: Select getting slower on continously updating data
In-Reply-To: <20050602130259.GB9716@wolff.to>
* 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