Search Postgresql Archives

Running multiple instances off one set of binaries

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

 



Let's assume I want to run:

1. An instance of the database that is a replicated copy from another site.

2. A LOCAL instance that contains various things on the local machine that are not shared.

Let's further assume all are to be 9.2 revs.

Am I correct in that I can do this by simply initdb-ing the second instance with a different data directory structure, and when starting it do so with a different data directory structure?

e.g. "initdb -D data"

and

"initdb -D data2"

And that as long as there are no collisions (E.g. port numbers) this works fine?

--
-- Karl Denninger
The Market Ticker ®
Cuda Systems LLC

[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