| From: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> |
|---|---|
| To: | Daniel Bergmann <dcberg(at)gmail(dot)com>, pgsql-admin(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Many databases ou many schemas |
| Date: | 2022-05-20 14:13:17 |
| Message-ID: | a6045fa2ceef05dc6b45f6741a4b05f8996f458f.camel@cybertec.at |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
On Fri, 2022-05-20 at 11:03 -0300, Daniel Bergmann wrote:
> Folks ! who can help, I'm migrating a sql server system that contains many databases
> and that the queries in these make join between the databases, going to postgres I
> create a database with only several schemas? or several databases using dblink to
> do the joins? in case of a single database how can I manage the tablespaces?
> per schema (1 schema in 1 tablespace) ?
If you want to join the tables, use different schemas in a single database.
dblink or foreign data wrappers would just add additional complexity and
slow down operation.
Don't create any tablespaces, keep everything in the default tablespace.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | MichaelDBA Vitale | 2022-05-20 14:15:42 | Re: Many databases ou many schemas |
| Previous Message | Daniel Bergmann | 2022-05-20 14:03:38 | Many databases ou many schemas |