Skip site navigation (1) Skip section navigation (2)

Re: Join over two tables of 50K records takes 2 hours

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Svetlin Manavski <svetlin(dot)manavski(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Join over two tables of 50K records takes 2 hours
Date: 2011-10-14 09:41:34
Message-ID: CAOR=d=3kdC9QcwJt5a1rdJZWRqeuVKWkAp6xX6Pt-t-khACsyA@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-performance
On Fri, Oct 14, 2011 at 2:35 AM, Svetlin Manavski
<svetlin(dot)manavski(at)gmail(dot)com> wrote:
> Thank you guys for spotting the problem immediately.
> The reason for such autovacuum thresholds is that these tables are designed
> for very high rate of inserts and I have a specific routine to analyze them
> in a more controlled way. Infact the stats target of some of the fields is
> also high. However that routine was failing to perform analyze on
> appqosdata.icmptraffic and its children due to another issue...

Note that it's possible to set many of the autovacuum values per table
so you don't have to do a brainyectomy on the whole autovac system.

In response to

pgsql-performance by date

Next:From: Arjen van der MeijdenDate: 2011-10-14 10:41:34
Subject: Re: SSD options, small database, ZFS
Previous:From: Svetlin ManavskiDate: 2011-10-14 08:35:57
Subject: Re: Join over two tables of 50K records takes 2 hours

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group