tuziaifendou commented on issue #10699:
URL:
https://github.com/apache/shardingsphere/issues/10699#issuecomment-1005349766
> @stelin In version 4.x, you need to configure
`shardingRuleConfig.setDefaultDataSourceName("ds_0");` to meet your needs. In
version 5.x, we introduced the concept of [single
table](https://shardingsphere.apache.org/document/current/cn/features/sharding/concept/sql/#%E5%8D%95%E8%A1%A8),
you can route these tables automatically without any configuration.
In version 4.1.1,when i add
spring.shardingsphere.sharding.default-data-source-name=ds0,then service starts
very slowly.
> @stelin In version 4.x, you need to configure
`shardingRuleConfig.setDefaultDataSourceName("ds_0");` to meet your needs. In
version 5.x, we introduced the concept of [single
table](https://shardingsphere.apache.org/document/current/cn/features/sharding/concept/sql/#%E5%8D%95%E8%A1%A8),
you can route these tables automatically without any configuration.
In version 4.1.1,when i add
spring.shardingsphere.sharding.default-data-source-name=ds0.when start
service,meta data load cost about 204022 milliseconds,then service starts very
slowly. how to solution?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]