Home > other >  Reading and writing separation
Reading and writing separation

Time:10-09

Configuration schema. The XML
Logic library and table set up * * * *
CheckSQLschema="false"//do not check the SQL
SqlMaxLimit="100"//maximum number of connections
The dataNode="dn1" & gt;//data node name

* * * * data node
DataHost="localhost1"//host group
The database="testdb"/& gt;//the real database name
Host group * * * *
MaxCon="1000" minCon="10"//connection
The balance="0"//load balance
WriteType="0"//write mode configuration
DbType="mysql" dbDriver="native"//database configuration
SwitchType="1" slaveThreshold="100" & gt;
  • Related