pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: teo@flex.ro
Cc: pgsql-hackers@postgresql.org
Subject: Re: Big number of schemas (3500) into a single database
Date: Wed, 24 Nov 2004 00:32:42 -0500
Message-ID: <4293.1101274362@sss.pgh.pa.us> (raw)
In-Reply-To: <200411220736.iAM7akZ2008229@corbeanca.iqm.ro>
References: <200411220736.iAM7akZ2008229@corbeanca.iqm.ro>

"Constantin Teodorescu" <teo@flex.ro> 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



view thread (3+ messages)  latest in thread

Message-ID: <4293.1101274362@sss.pgh.pa.us>
Permalink:  ../4293.1101274362@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4293.1101274362@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, teo@flex.ro, pgsql-hackers@postgresql.org
  Subject: Re: Big number of schemas (3500) into a single database
  In-Reply-To: <4293.1101274362@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox