O
otdatadirect
Guest
Currently opensource PostgreSQL driver can support this option targetServerType as explained in below link https://jdbc.postgresql.org/documentation/94/connect.html We need this option to be supported with DataDirect drivers. For example something like this jdbc
ostgresql://node1,node2,node3/accounting?targetServerType=master . And read pool balances connections between slaves nodes, but allows connections also to master if no slaves are available: jdbc
ostgresql://node1,node2,node3/accounting?targetServerType=preferSlave&loadBalanceHosts=true
Continue reading...
Continue reading...