From teo@flex.ro Mon Nov 22 07:33:27 2004 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 787ED3A50C4 for ; Mon, 22 Nov 2004 07:33:27 +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 08394-09 for ; Mon, 22 Nov 2004 07:33:16 +0000 (GMT) Received: from corbeanca.iqm.ro (unknown [82.76.19.39]) by svr1.postgresql.org (Postfix) with ESMTP id 7157E3A4228 for ; Mon, 22 Nov 2004 07:33:16 +0000 (GMT) Received: from saabxp (Constantinescu [192.168.1.8]) by corbeanca.iqm.ro (8.12.11/8.12.11) with ESMTP id iAM7akZ2008229 for ; Mon, 22 Nov 2004 09:36:47 +0200 Message-Id: <200411220736.iAM7akZ2008229@corbeanca.iqm.ro> Reply-To: From: "Constantin Teodorescu" To: Subject: Big number of schemas (3500) into a single database Date: Mon, 22 Nov 2004 09:44:04 +0200 Organization: IQM MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0000_01C4D077.CEAEE2F0" X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcTQZrKuyY0K5KEWSc+w2Bt2tbE6MA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.2 tagged_above=0.0 required=5.0 tests=HTML_50_60, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200411/881 X-Sequence-Number: 61453 This is a multipart message in MIME format, containing the original message body and a footer added by BitDefender --=-bd-boundary-WcPO17Pe3gfNcAL2 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0000_01C4D077.CEAEE2F0" This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C4D077.CEAEE2F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello to everybody again, thought you didn't hear any news from me for a very long time, the news are good :-) I'm still here and promoting PostgreSQL. I am involved in the developing of a big romanian project for the vets that will put Linux & PostgreSQL on 3500 computers in the whole country, linked together with dial-up connections that will keep track of the animal movements. The central database (also PostgreSLQ) will hold billions of records with animal events (births, movements, slaughter and so on) and my question is: 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? Constantin Teodorescu Ancient PgAccess developer P.S. Please Cc: me at teo@flex.ro ------=_NextPart_000_0000_01C4D077.CEAEE2F0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello to everybody = again,

 

thought you didn’t hear any news from me for a = very long time, the news are good J

I’m still here and promoting = PostgreSQL.

 

I am involved in the developing of a big romanian = project for the vets that will put Linux & PostgreSQL on 3500 computers in = the whole country, linked together with dial-up connections that will keep = track of the animal movements.

 

The central database (also PostgreSLQ) will hold = billions of records with animal events (births, movements, slaughter and so on) and = my question is:

 

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?

 

Constantin Teodorescu

Ancient PgAccess = developer

 

P.S. Please Cc: me at teo@flex.ro

 

------=_NextPart_000_0000_01C4D077.CEAEE2F0-- --=-bd-boundary-WcPO17Pe3gfNcAL2 Content-Type: text/plain; name="BitDefender.txt" Content-Disposition: inline; filename="BitDefender.txt" -- This message was scanned for spam and viruses by BitDefender For more information please visit http://linux.bitdefender.com/ --=-bd-boundary-WcPO17Pe3gfNcAL2-- From tgl@sss.pgh.pa.us Wed Nov 24 05:33:00 2004 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 From systemguards@yahoo.com Wed Nov 24 17:12:13 2004 X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C73003A4326 for ; Wed, 24 Nov 2004 17:12:13 +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 73882-01 for ; Wed, 24 Nov 2004 17:12:03 +0000 (GMT) Received: from web50001.mail.yahoo.com (web50001.mail.yahoo.com [206.190.38.16]) by svr1.postgresql.org (Postfix) with SMTP id EB1FB3A41B9 for ; Wed, 24 Nov 2004 17:12:00 +0000 (GMT) Received: (qmail 85487 invoked by uid 60001); 24 Nov 2004 17:11:57 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=KmQ4EpfoB/ak5bLDqd58g3otnBRVocaPlw+Yv2Ooqov7/bbGruTG+v+UQg3FHU+66vv/B//9s35rP9cTden8fYfLuf9B0W7lQ0Fq9S3+XF+9r4lwsxph6dLRwZc8gi/vxR5dH3hk51JtmSzf3YLWQyZGuAoXFr4HBwlVd0EgPcc= ; Message-ID: <20041124171156.85485.qmail@web50001.mail.yahoo.com> Received: from [69.65.137.210] by web50001.mail.yahoo.com via HTTP; Wed, 24 Nov 2004 11:11:56 CST Date: Wed, 24 Nov 2004 11:11:56 -0600 (CST) From: Jaime Casanova Subject: Re: [PERFORMANCE] Big number of schemas (3500) into a single database To: performance pgsql In-Reply-To: <4293.1101274362@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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/384 X-Sequence-Number: 9338 --- Tom Lane escribió: > "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. > if i do a select with fully qualified table names it will search in the search_path or it will go directly to the schema? Just for know. regards, Jaime Casanova _________________________________________________________ Do You Yahoo!? Información de Estados Unidos y América Latina, en Yahoo! Noticias. Visítanos en http://noticias.espanol.yahoo.com