Home > database >  Postgresql mycat connection do separation and master-slave switch, speaking, reading and writing
Postgresql mycat connection do separation and master-slave switch, speaking, reading and writing

Time:10-02

Mycat connection postgresql database, separation and master-slave switch, doing, speaking, reading and writing, speaking, reading and writing can separation, master-slave switch, shut down the host but mycat log has been submitted to the connection between a host inside refused, for the great god answers, below is mycat schema. The XML file configuration
 & lt; ? The XML version="1.0"?> 

DbType="postgresql" dbDriver="JDBC" switchType="1" slaveThreshold="100" & gt;
Select 1 & lt;/heartbeat>



100.10.1.1 mycat log has been submitted to the connection error of the host, the host has been down, want to read and write with 100.10.1.2