Re: Join over two tables of 50K records takes 2 hours - Mailing list pgsql-performance

From Scott Marlowe
Subject Re: Join over two tables of 50K records takes 2 hours
Date
Msg-id CAOR=d=3kdC9QcwJt5a1rdJZWRqeuVKWkAp6xX6Pt-t-khACsyA@mail.gmail.com
Whole thread Raw
In response to Join over two tables of 50K records takes 2 hours  (Svetlin Manavski <svetlin.manavski@gmail.com>)
List pgsql-performance
On Fri, Oct 14, 2011 at 2:35 AM, Svetlin Manavski
<svetlin.manavski@gmail.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.

pgsql-performance by date:

Previous
From: CSS
Date:
Subject: SSD options, small database, ZFS
Next
From: Svetlin Manavski
Date:
Subject: Re: Join over two tables of 50K records takes 2 hours