X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 87E77D1B8A8 for ; Thu, 28 Aug 2003 17:22:54 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 58101-03 for ; Thu, 28 Aug 2003 14:22:24 -0300 (ADT) Received: from news.hub.org (unknown [64.117.224.194]) by svr1.postgresql.org (Postfix) with ESMTP id DA3CED1B574 for ; Thu, 28 Aug 2003 14:22:22 -0300 (ADT) Received: from news.hub.org (host-64-117-224-194.altec1.com [64.117.224.194] (may be forged)) by news.hub.org (8.12.9/8.12.9) with ESMTP id h7SHMMek070239 for ; Thu, 28 Aug 2003 17:22:22 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id h7SHFv9T068699 for pgsql-performance@postgresql.org; Thu, 28 Aug 2003 17:15:57 GMT From: teknokrat X-Newsgroups: comp.databases.postgresql.performance Subject: performance of foreign key constraints Date: Thu, 28 Aug 2003 18:15:57 +0100 Organization: Hub.Org Networking Services Lines: 7 Message-ID: Reply-To: teknokrat@yahoo.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0+) Gecko/20020518 X-Accept-Language: en-us, en, ko To: pgsql-performance@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/423 X-Sequence-Number: 3239 I have a table that has about 20 foreign key constraints on it. I think this is a bit excessive and am considering removing them ( they are all related to the same table and I don't think there is much chance of any integrity violations ). Would this improve performance or not? thanks