Re: How can I have 2 completely seperated databases in - Mailing list pgsql-hackers

From Joshua Drake
Subject Re: How can I have 2 completely seperated databases in
Date
Msg-id 402B9D3A.8080203@commandprompt.com
Whole thread Raw
In response to Re: How can I have 2 completely seperated databases in PostgreSQL?  (hong.ge@yale.edu)
List pgsql-hackers
Hello,

Depending on your needs and transaction load per database you can easily
run 30 databases on a machine with 2 Gig of RAM. You will of course have
to use initdb for each cluster and change the tcp port for each cluster
but it works just fine.

Sincerely,

Joshua D. Drake



hong.ge@yale.edu wrote:
> Thank you very much for your reply.
>
> Yes, that's true. But it seems not a good idea if I have many databases
> and I want them totally seperated with each other.
>
> What's your opinion? Thanks.
>
> --Hong Ge
>
>
> Quoting Rod Taylor <pg@rbt.ca>:
>
>
>>On Wed, 2004-02-11 at 16:36, hong.ge@yale.edu wrote:
>>
>>>Hi, all
>>>
>>>What should I do if I want to have 2 completely seperated databases
>>
>>in
>>
>>>PostgreSQL? I want each database to have its own data, log and
>>>everything needed to access that database. I don't want them to
>>
>>share
>>
>>>anything. Has anyone done this before? Or,
>>>could anyone give me some clue of how to do this?
>>
>>You will need to initdb 2 locations and start 2 instances on separate
>>ports.
>>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)


Attachment

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: How can I have 2 completely seperated databases in
Next
From: Tom Lane
Date:
Subject: Re: Circular-freelist bug is still there