X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 09D3AD9CDD for ; Fri, 4 Nov 2005 03:14:26 -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 16263-08 for ; Fri, 4 Nov 2005 07:14:22 +0000 (GMT) X-Greylist: delayed 00:50:19.920813 by SQLgrey- Received: from svr2.postgresql.org (svr2.postgresql.org [65.19.161.25]) by svr1.postgresql.org (Postfix) with ESMTP id 748EFD9396 for ; Fri, 4 Nov 2005 03:14:03 -0400 (AST) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [151.155.5.143]) by svr2.postgresql.org (Postfix) with ESMTP id 6EBF3F132A for ; Fri, 4 Nov 2005 06:23:51 +0000 (GMT) Received: from [172.16.1.100] grzm [61.197.227.146] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 1.6 $ on Linux via secured & encrypted transport (TLS); Thu, 03 Nov 2005 23:23:49 -0700 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v746.2) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Content-Transfer-Encoding: 7bit From: Michael Glaesemann Subject: Re: Design question: Scalability and tens of thousands of tables? Date: Fri, 4 Nov 2005 15:23:43 +0900 To: "zackchandler" X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.267 required=5 tests=[AWL=0.267] X-Spam-Score: 0.267 X-Spam-Level: X-Archive-Number: 200511/51 X-Sequence-Number: 23302 On Nov 4, 2005, at 2:58 , zackchandler wrote: > The problem is I am very concerned about scalability with having a > different > table created for each custom object. I want to design to site to > handle > tens of thousands of users. If each user has 3-5 custom objects the > database would have to handle tens of thousands of tables. > > So it would appear that this is a broken solution and will not > scale. Has > anyone designed a similar system or have ideas to share? One resource you may want to look at is Joe Conway's site: http://www.joeconway.com/ He has a PDF available for download that may help you accomplish this: OSCON 2004 presentation: Flexible Data Acquisition and Analysis Joe's an active member of the PostgreSQL community and there's a lot of good stuff there. Hope this helps. Michael Glaesemann grzm myrealbox com