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 123ABD8975 for ; Tue, 20 Sep 2005 00:21:35 -0300 (ADT) 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 12158-04 for ; Tue, 20 Sep 2005 03:21:28 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id AABADD7ECE for ; Tue, 20 Sep 2005 00:21:26 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j8K3LNUa001833; Mon, 19 Sep 2005 23:21:23 -0400 (EDT) To: "cydatamatt@gmail.com" Cc: pgsql-performance@postgresql.org Subject: Re: How many tables is too many tables? In-reply-to: <1126643032.787041.127400@z14g2000cwz.googlegroups.com> References: <1126643032.787041.127400@z14g2000cwz.googlegroups.com> Comments: In-reply-to "cydatamatt@gmail.com" message dated "13 Sep 2005 13:23:52 -0700" Date: Mon, 19 Sep 2005 23:21:23 -0400 Message-ID: <1832.1127186483@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.241 required=5 tests=[AWL=-0.229, TO_ADDRESS_EQ_REAL=0.47] X-Spam-Level: X-Archive-Number: 200509/208 X-Sequence-Number: 14516 "cydatamatt@gmail.com" writes: > We currently have around 400,000 tables > and I would estimate that the vast majority of these tables are > relatively small (less than 200 rows). Stop right there, and go redesign your schema. This is unbelievably wrong :-( regards, tom lane