Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 5919B12B652F for ; Tue, 7 Feb 2012 15:41:08 -0400 (AST) Received: from gwmta.wicourts.gov ([165.219.244.99] helo=gw.wicourts.gov) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RuquY-0002rV-4Q for pgsql-performance@postgresql.org; Tue, 07 Feb 2012 19:41:08 +0000 Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Tue, 07 Feb 2012 13:40:51 -0600 Message-Id: <4F3129D90200002500044F85@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.2 Date: Tue, 07 Feb 2012 13:40:41 -0600 From: "Kevin Grittner" To: "Ofer Israeli" , "Andy Colson" Cc: "Netta Kabala" , "Olga Vingurt" , "pgsql-performance@postgresql.org" Subject: Re: Inserts or Updates References: <217DDBC2BB1E394CA9E7446337CBDEF20102C056BD4F@il-ex01.ad.checkpoint.com> <4F31397A.5090304@squeakycode.net> <217DDBC2BB1E394CA9E7446337CBDEF20102C056BE6F@il-ex01.ad.checkpoint.com> <4F317BBE.4020508@squeakycode.net> In-Reply-To: <4F317BBE.4020508@squeakycode.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201202/44 X-Sequence-Number: 46216 Andy Colson wrote: > Wow, so out of 46 columns, half of them have indexes? That's a > lot. I'd bet you could drop a bunch of them. You should review > them and see if they are actually helping you. You already found > out that maintain all those indexes is painful. If they are not > speeding up your SELECT's by a huge amount, you should drop them. You might want to review usage counts in pg_stat_user_indexes. -Kevin