X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 18F1ED8930 for ; Wed, 16 Nov 2005 19:25:08 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 64276-07 for ; Wed, 16 Nov 2005 23:25:10 +0000 (GMT) X-Greylist: delayed 03:02:46.857118 by SQLgrey- Received: from svr2.postgresql.org (svr2.postgresql.org [65.19.161.25]) by svr1.postgresql.org (Postfix) with ESMTP id 92568D6853 for ; Wed, 16 Nov 2005 19:25:05 -0400 (AST) Received: from olive.qinip.net (olive.qinip.net [62.100.30.40]) by svr2.postgresql.org (Postfix) with ESMTP id C9F8EF0B3E for ; Wed, 16 Nov 2005 20:22:18 +0000 (GMT) Received: from [127.0.0.1] (h8441139206.dsl.speedlinq.nl [84.41.139.206]) by olive.qinip.net (Postfix) with ESMTP id 7D86A180F9; Wed, 16 Nov 2005 21:22:11 +0100 (MET) Message-ID: <437B94F9.20306@tweakers.net> Date: Wed, 16 Nov 2005 21:22:17 +0100 From: Arjen van der Meijden User-Agent: Thunderbird 1.5 (Windows/20051025) MIME-Version: 1.0 To: Steve Wampler Cc: Postgres-performance Subject: Re: Help speeding up delete References: <6BCB9D8A16AC4241919521715F4D8BCE6C7BC4@algol.sollentuna.se> <4379EE24.8000504@noao.edu> In-Reply-To: <4379EE24.8000504@noao.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0546-3, 16-11-2005), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/306 X-Sequence-Number: 15563 On 15-11-2005 15:18, Steve Wampler wrote: > Magnus Hagander wrote: > (This is after putting an index on the (id,name,value) tuple.) That outer seq scan > is still annoying, but maybe this will be fast enough. > > I've passed this on, along with the (strong) recommendation that they > upgrade PG. Have you tried with an index on (name,value) and of course one on id ? Best regards, Arjen