Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 3FBEF34FBB7 for ; Wed, 9 Nov 2011 11:48:55 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 27041-01 for ; Wed, 9 Nov 2011 15:48:49 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id BFB6034FBB6 for ; Wed, 9 Nov 2011 11:48:48 -0400 (AST) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Wed, 09 Nov 2011 09:48:49 -0600 Message-Id: <4EBA4C770200002500042BE2@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Wed, 09 Nov 2011 09:48:39 -0600 From: "Kevin Grittner" To: , "Silvio Brandani" Subject: Re: database not using indexes References: <4EBA9AAC.9030900@tech.sdb.it> In-Reply-To: <4EBA9AAC.9030900@tech.sdb.it> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-3.101 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-1.201 X-Spam-Level: X-Archive-Number: 201111/30 X-Sequence-Number: 38624 Silvio Brandani wrote: > Our database seems not using index anymore, please help with, > is a production database. > > is there a script to check missing index on foreign key ?? You haven't provided enough information to allow anyone to help. http://wiki.postgresql.org/wiki/Guide_to_reporting_problems -Kevin