fantacy2001
fantacy2001
> You wanna "sku_info" literally instead of "table" of "db_0:table_01" in runtime? yes,I want to use my own mapping to find the real table name into the sharding algorithms.
> Hi, @fantacy2001 , > > ShardingSphere need you configured actual data nodes if you want to shard both datasources and tables. If there are no `actualDataNodes` configured, ShardingSphere can't...
> I don't understand your question clearly. Do you mean that you want only configure `defaultDatabaseStrategy` and `defaultTableStrategy` without `tables`? besides `defaultDatabaseStrategy` and `defaultTableStrategy`, Can only define the tables who...
> > > I don't understand your question clearly. Do you mean that you want only configure `defaultDatabaseStrategy` and `defaultTableStrategy` without `tables`? > > > > > > besides `defaultDatabaseStrategy`...
> Possibly not, no actualDataNodes means that you want shard datasource only. And if you want to shard both datasources and tables, you should configure actualDataNodes ensure the input of...
> > another question: > > one existing project, now I want to introduce sharding-jdbc to sharding db and table, my existing table : table(no suffix)、table_001、table_002.... table_00n,like this define, How...
> Hi, @fantacy2001 , what's your meaning in detail of `vertical databases`? Do I just need to add configuration?like this: master,master_slave0,master_slave1,authority,authority_slave0,authority_slave1 # master spring.shardingsphere.sharding.tables.auto_device.actual-data-nodes=master.auto_device spring.shardingsphere.sharding.tables.band_info.actual-data-nodes=master.band_info # authority spring.shardingsphere.sharding.tables.au_data_rule.actual-data-nodes=authority.au_data_rule spring.shardingsphere.sharding.tables.au_module.actual-data-nodes=authority.au_module if...
> You means all databases have the same structures. > And wanna config them in a simple style? i mean 400 tables Split into different databases by business, each database...
> If you means many different tables in ten db, and how about performance. > I suggest you can clone the latest master code and build it: > > >...
> May I close this issue? please close it ,thank you !