X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0C3033A42B5 for ; Wed, 24 Nov 2004 05:33:00 +0000 (GMT) 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 96382-05 for ; Wed, 24 Nov 2004 05:32:50 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id E51E53A41A6 for ; Wed, 24 Nov 2004 05:32:49 +0000 (GMT) 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 iAO5WgKZ004294; Wed, 24 Nov 2004 00:32:42 -0500 (EST) To: teo@flex.ro Cc: pgsql-hackers@postgresql.org Subject: Re: Big number of schemas (3500) into a single database In-reply-to: <200411220736.iAM7akZ2008229@corbeanca.iqm.ro> References: <200411220736.iAM7akZ2008229@corbeanca.iqm.ro> Comments: In-reply-to "Constantin Teodorescu" message dated "Mon, 22 Nov 2004 09:44:04 +0200" Date: Wed, 24 Nov 2004 00:32:42 -0500 Message-ID: <4293.1101274362@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/886 X-Sequence-Number: 61458 "Constantin Teodorescu" writes: > If I will choose to keep a mirror of every workstation database in a > separate schema in the central database that mean that I will have 3500 > different schemas. > Is there any limit or any barrier that could stop this kind of approach or > make things go slower? Would you need to put them all into "search_path" at once? I'm not sure what the scaling issues might be for long search_paths, but I wouldn't be surprised if it's bad. But as long as you don't do that, I don't believe there will be any problems. regards, tom lane