Vertica4x multi-database instance port configuration

Source: Internet
Author: User


I recently used the vertica database and wanted to start multiple database instances at the same time. However, when I started the database, I found that all database instances use the same port: 5433, in this way, only one database instance can be used at a time, which is too restrictive for me to use. So this afternoon, I finally found the vertica port definition file. The above problem can be solved by defining different ports for different database instances. The procedure is as follows:


1. Create multipul database instances through "admintools". For example: mydb1 and mydb2;

2. shutdown all database instances through "admintools ";

3. Change port number for database instances.

Backup $ {vertica_top}/config/share/portinfo. dat file, and change port number for some database instances.

For example: mydb1 uses 5433, mydb2 uses 5444.

4. Restart verticad Service

$ Sudo/etc/init. d/verticad restart


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.