Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm very new to postsql. Here is my situation.

There is an existing postsql running on my VM on port 1234 pointing to a database name : db1. Now, I want to add db2, will I need re-configure another port for ? Maybe 1235 ?

Can 1 VM host 2 PostgreSQL Databases ? How would one configure something like this ?

share|improve this question

Each VM can host a theoretically unlimited number of databases. The practical limits are the usual suspects - memory, disk, and CPU resource availability for the connections and internal processing said database(s) require. Simply create the new database and give access to it through the normal PostgreSQL commands (GRANT statements).

share|improve this answer
    
Thank you john for pointing me to the right direction. – ihue Jun 13 at 19:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.