github.com/XiaoMi/Gaea@v1.2.5/etc/file/namespace/test_namespace_2.json (about) 1 { 2 "name": "test_namespace_2", 3 "online": true, 4 "read_only": false, 5 "allowed_dbs": { 6 "sbtest1": true 7 }, 8 "slow_sql_time": "1000", 9 "black_sql": [ 10 "" 11 ], 12 "allowed_ip": null, 13 "slices": [ 14 { 15 "name": "slice-0", 16 "user_name": "test2", 17 "password": "test2", 18 "master": "127.0.0.1:3309", 19 "slaves": null, 20 "statistic_slaves": null, 21 "capacity": 12, 22 "max_capacity": 24, 23 "idle_timeout": 60 24 } 25 ], 26 "shard_rules": null, 27 "users": [ 28 { 29 "user_name": "front_user2", 30 "password": "front_password2", 31 "namespace": "test_namespace_2", 32 "rw_flag": 2, 33 "rw_split": 1, 34 "other_property": 0 35 } 36 ], 37 "default_slice": "slice-0", 38 "global_sequences": null, 39 "max_sql_execute_time": 0 40 }