Re: Big number of schemas (3500) into a single database - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Big number of schemas (3500) into a single database
Date
Msg-id 4293.1101274362@sss.pgh.pa.us
Whole thread Raw
In response to Big number of schemas (3500) into a single database  ("Constantin Teodorescu" <teo@flex.ro>)
List pgsql-hackers
"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


pgsql-hackers by date:

Previous
From: "Barry Lind"
Date:
Subject: Re: [JDBC] Strange server error with current 8.0beta driver
Next
From: Michael Fuhr
Date:
Subject: Re: How to make @id or $id as parameter name in plpgsql, is it available?