Re: One PostgreSQL server for multiple apps?

Поиск
Список
Период
Сортировка
От Pandu Poluan
Тема Re: One PostgreSQL server for multiple apps?
Дата
Msg-id CAA2qdGVnx8ea9_a3-X9CMa40coJu0=-Ss-fNF-RrTq3-BMJL4Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: One PostgreSQL server for multiple apps?  (Sean Davis <sdavis2@mail.nih.gov>)
Ответы Re: One PostgreSQL server for multiple apps?
Re: One PostgreSQL server for multiple apps?
Список pgsql-novice

Thanks for the confirmation.

I have been reading around, and it seems (CMIIW) that in PostgreSQL, a 'database' is similar to a SQL Server instance, while to create separate databases within an 'instance', I need to create 'schemas'.

Am I reading this right?

There is another question, is it possible to limit the resources used by separate instances/databases so that different apps don't start to step on each others' toes?

Rgds,
--

On Feb 23, 2014 10:28 PM, "Sean Davis" <sdavis2@mail.nih.gov> wrote:
A single postgresql server can host multiple separate databases, each with its own data, authentication, etc.  This single-server, multiple-database approach is a typical deployment strategy.  






On Sun, Feb 23, 2014 at 9:52 AM, Pandu Poluan <pandu@poluan.info> wrote:

Hello!

First, I apologize if this email sounds very... novice. I came from MS SQL Server background, and am recently 'plunged' into a mid-to-long term project to drop dependencies on proprietary databases, and use PostgreSQL instead.

Now, in MS SQL Server, I can create a single server to service several apps together. If the app is a light load and doesn't require something more than db_owner privileges, I usually just clump them together in the Default instance, using a new 'database'. If the app has heavier requirements, then I would spin up a new instance, on the same server (provided RAM and IOPS requirements suffice, of course).

How would the same principle be applied in PostgreSQL?

Thanks in advance for your kind guide.

Rgds,
--


В списке pgsql-novice по дате отправления:

Предыдущее
От: Sean Davis
Дата:
Сообщение: Re: One PostgreSQL server for multiple apps?
Следующее
От: Sean Davis
Дата:
Сообщение: Re: One PostgreSQL server for multiple apps?