Re: [ADMIN] Databases Vs. Schemas
От
Tom Lane
Тема
Re: [ADMIN] Databases Vs. Schemas
Дата
Msg-id
8796.1079993090@sss.pgh.pa.us
Ответ на
Databases Vs. Schemas (Subbiah, Stalin)
Список
Дерево обсуждения
Databases Vs. Schemas "Subbiah, Stalin" <SSubbiah@netopia.com>
Re: Databases Vs. Schemas Josh Berkus <josh@agliodbs.com>
Re: Databases Vs. Schemas CoL <col@mportal.hu>
Re: [ADMIN] Databases Vs. Schemas Tom Lane <tgl@sss.pgh.pa.us>
Re: [ADMIN] Databases Vs. Schemas Adam Ruth <aruth@intercation.com>
"Subbiah, Stalin" writes: > Is it better to have 1000 databases vs 1000 schemas in a > database cluster. You almost certainly want to go for schemas, at least from a performance point of view. The overhead of a schema is small (basically one more row in pg_namespace) whereas the overhead of a database is not trivial. The main reason you might not want to use schemas is if you want fairly airtight separation between different services. Separate databases would prevent services from looking at each others' catalog entries. regards, tom lane
В списке pgsql-performance по дате отправления