We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xxx_schema.json配置文件的如下配置 { "schemaName": "test", "targetName": "prototype" } 代表的是该schema在mycat中的逻辑库和实际数据源,单标配置可以单独配置自己的物理库和物理表 "normalTables": { "role_edges": { "createTableSQL":null,//可选 "locality": { "schemaName": "mysql",//物理库,可选 "tableName": "role_edges",//物理表,可选 "targetName": "prototype"//指向集群,或者数据源 } } 全局表就不行 "globalTables": { "role_edges": { "broadcast": [{"targetName": "c0"},{"targetName": "c1"}] } 只能根据schemaName来,不灵活。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
xxx_schema.json配置文件的如下配置
{
"schemaName": "test",
"targetName": "prototype"
}
代表的是该schema在mycat中的逻辑库和实际数据源,单标配置可以单独配置自己的物理库和物理表
"normalTables": {
"role_edges": {
"createTableSQL":null,//可选
"locality": {
"schemaName": "mysql",//物理库,可选
"tableName": "role_edges",//物理表,可选
"targetName": "prototype"//指向集群,或者数据源
}
}
全局表就不行
"globalTables": {
"role_edges": {
"broadcast": [{"targetName": "c0"},{"targetName": "c1"}]
}
只能根据schemaName来,不灵活。
The text was updated successfully, but these errors were encountered: