From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | undisclosed user <lovetodrinkpepsi(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Experience with many schemas vs many databases |
Date: | 2009-11-15 16:43:19 |
Message-ID: | 20165.1258303399@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
undisclosed user <lovetodrinkpepsi(at)gmail(dot)com> writes:
> I have hit a wall on completing a solution I am working on. Originally, the
> app used a db per user (on MyIsam)....the solution did not fair so well in
> reliability and performance. I have been increasingly interested in Postgres
> lately.
> Currently, I have about 30-35k users/databases. The general table layout is
> the same....only the data is different. I don't need to share data across
> databases. Very similar to a multi-tenant design.
Use multiple schemas, not multiple databases. If you had it working in
mysql then what you were using was more nearly schemas than databases
anyway --- it's unfortunate that the two systems use the same word
"database" for what are really different structures.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Merlin Moncure | 2009-11-15 18:54:29 | Re: Experience with many schemas vs many databases |
Previous Message | Naoko Reeves | 2009-11-15 14:38:50 | Re: Fast Search on Encrypted Feild |