Search Postgresql Archives

Re: [ADMIN] Can we have 2 databases on same server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: RE: [ADMIN] Can we have 2 databases on same server

Suresh Gupta asked:

>
> I have Solaris 9 machine with Pgsql 7.4 and want to upgrade to 8.2.5. I
> don't want to disturb the first version now. I want to install second
> one separately and need to test with my application. If it works fine, I
> will activate only the latest one and other version 7.4 will be
> discarded. This is my idea.
>
> 1)       Can I please know, if we can run 2 databases on the same server
> with out any conflicts?

Absolutely. We have one server with 8.1.x, 8.2.x and 8.3RC2 one it. We don't push more than one of them hard at any given time though, but we probably could (disk contention would be the biggest issue). As others pointed out, make different directories for the software and data.

> 2)       If it is so, at what stage we are need to configure the 2
> databases? Pls provide links or docs if available.

Before firing up the new instance, make sure you have enough shared memory allocated for *both* instances. Read the relevant docs pointed out in another response and make sure you specify the correct directories and ports etc. when running initdb to create the new 8.2 database. Make sure you point the logs to different files as well.

<...>

HTH,


Greg Williamson
Senior DBA
GlobeXplorer LLC, a DigitalGlobe company

Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information and must be protected in accordance with those provisions. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

(My corporate masters made me say this.)



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux