Re: Question about optimizing access to a table.

From: Kevin Grittner <kgrittn(at)ymail(dot)com>
To: Herouth Maoz <herouth(at)unicell(dot)co(dot)il>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Question about optimizing access to a table.
Date: 2013-12-11 16:28:18
Message-ID: 1386779298.89425.YahooMailNeo@web162901.mail.bf1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Herouth Maoz <herouth(at)unicell(dot)co(dot)il> wrote:
> On 10/12/2013, at 20:55, Kevin Grittner wrote:

>> First, make sure that you are on the latest minor release of
>> whatever major release you are running.  There were some serious
>> problems with autovacuum's table truncation when a table was
>> used as a queue and size fluctuated.  These are fixed in the
>> latest set of minor releases.
>
> I failed to mention which version of PostgreSQL I was on.
> 9.1.2 in this case. Do you mean that I have to go to 9.3.x or
> simply to 9.1.11?

In the PostgreSQL world, a minor release is when everything to the
left of the second dot stays the same.

http://www.postgresql.org/support/versioning/

9.1.11 contains the fix for the problems I was describing.  While
it's a good idea to stay current with minor releases in general,
for those using a table for a queue which may fluctuate in size,
there is an important set of fixes that make it particularly
important right now.  I have seen multiple sites using Slony where,
without the fixes, the database became unusable for normal
production after falling behind and subsequently catching up.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Janes 2013-12-11 16:54:05 Re: Question about optimizing access to a table.
Previous Message Dev Kumkar 2013-12-11 16:17:50 Re: Case sensitivity