From: | Pandu Poluan <pandu(at)poluan(dot)info> |
---|---|
To: | Sean Davis <sdavis2(at)mail(dot)nih(dot)gov> |
Cc: | pgsql <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: One PostgreSQL server for multiple apps? |
Date: | 2014-02-23 15:37:09 |
Message-ID: | CAA2qdGVnx8ea9_a3-X9CMa40coJu0=-Ss-fNF-RrTq3-BMJL4Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)mail(dot)nih(dot)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(at)poluan(dot)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,
>> --
>>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Sean Davis | 2014-02-23 17:28:58 | Re: One PostgreSQL server for multiple apps? |
Previous Message | Sean Davis | 2014-02-23 15:28:12 | Re: One PostgreSQL server for multiple apps? |