[ { "enable": false, "url": "jdbc:mysql://127.0.0.1:3306/X?autoReconnect\u003dtrue\u0026allowPublicKeyRetrieval\u003dtrue\u0026useSSL\u003dfalse\u0026useUnicode\u003dtrue\u0026characterEncoding\u003dUTF-8\u0026useLegacyDatetimeCode\u003dfalse\u0026serverTimezone\u003dGMT%2B8", "username": "root", "password": "password", "driverClassName": "", "dictionary": "", "maxTotal": 100.0, "maxIdle": 0.0, "statEnable": true, "statFilter": "mergeStat", "includes": [], "excludes": [], "logLevel": "ERROR", "transactionIsolation": "read-committed", "testConnectionOnCheckin": false, "testConnectionOnCheckout": false, "maxIdleTime": 300.0, "autoCommit": false, "schema": "", "logStatEnable": false, "logStatInterval": 180.0, "slowSqlEnable": true, "slowSqlThreshold": 3000.0, "###enable": "是否启用,如果启用多个数据库,那么必须是相同类型的,不能混用,且用户名密码必须一致.###", "###url": "jdbc连接地址.###", "###username": "数据库jdbc连接用户名.###", "###password": "数据库jdbc连接密码.###", "###driverClassName": "数据库驱动类名.###", "###dictionary": "方言类.###", "###maxTotal": "最大使用连接数.###", "###maxIdle": "最大空闲连接数.###", "###statEnable": "启用统计,默认启用.###", "###statFilter": "统计方式配置,默认mergeStat.###", "###includes": "设置此数据库存储的类,默认情况下存储所有类型,如果需要对每个类进行单独的控制以达到高性能,可以将不同的类存储到不同的节点上提高性能.可以使用通配符*.###", "###excludes": "在此节点上不存储的类,和includes一起设置实际存储的类,可以使用通配符*.###", "###logLevel": "默认日志级别,FATAL, ERROR, WARN, INFO, TRACE. 完整的配置为DefaultLevel\u003dWARN, Tool\u003dTRACE, Enhance\u003dTRACE, METADATA\u003dTRACE, Runtime\u003dTRACE, Query\u003dTRACE, DataCache\u003dTRACE, JDBC\u003dTRACE, SQL\u003dTRACE.###", "###transactionIsolation": "事务隔离级别:default,none,read-uncommitted,read-committed,repeatable-read,serializable.默认使用default(数据库设置的事务级别).###", "###testConnectionOnCheckin": "测试入池连接,默认false.###", "###testConnectionOnCheckout": "测试出池连接,默认false.###", "###maxIdleTime": "空闲阈值,默认300秒.###", "###autoCommit": "自动提交,默认为false.###", "###schema": "模式.###", "###logStatEnable": "启用记录统计日志.###", "###logStatInterval": "统计日志输出间隔,单位分钟,默认180.###", "###slowSqlEnable": "是否启用执行慢sql记录.###", "###slowSqlThreshold": "执行慢sql记录阈值,毫秒数,默认3000毫秒.###", "###extension": "扩展设置.###" } ]