DBMS/RDBMS

[VERTICA] Cluster 구성 시 Client에서 설정해야 할 JDBC 옵션

Minju Jeong 2023. 4. 11. 16:30

Vertica Cluster 구성 시 Clinet에서 설정해야 할 JDBC 옵션들이 있습니다.

 

 

  • ConnectionLoadBalance = true

Cluster 구성 시 쿼리 플랜을 각각의 노드에 Round-Robin으로 부여하기 위해서 해당 값을 true로 설정합니다.

 

 

  • BackupServerNode = IP1:PORT1, IP2:PORT2, IP3:PORT3

Cluster 구성 시 한 노드에서 장애가 발생했을 때 다른 노드에 연결을 시도하기 위해 해당 값을 각 노드의 IP와 PORT 정보로 설정합니다.

 

 

  • 참고자료

< Vertica JDBC Connection Properties >

https://www.vertica.com/docs/9.3.x/HTML/Content/Authoring/ConnectingToVertica/ClientJDBC/JDBCConnectionProperties.htm

 

JDBC Connection Properties

JDBC Connection Properties You use connection properties to configure the connection between your JDBC client application and your Vertica database. The properties provide the basic information about the connections, such as the server name and port number

www.vertica.com