You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/03/20 07:43:30 UTC

[GitHub] [incubator-shardingsphere] songxu opened a new issue #2063: Why shardingspere need to load all meta data?

songxu opened a new issue #2063: Why shardingspere need to load all meta data?
URL: https://github.com/apache/incubator-shardingsphere/issues/2063
 
 
   ## Version
   io.shardingsphere.sharding-jdbc-spring-boot-starter:3.0.0
   
   During the initializing, shardingspere will load all table meta in TableMetaDataInitializer.
   
   TableMetaDataInitializer.load(final ShardingRule shardingRule) {
   ...
        result.putAll(loadDefaultTables(shardingRule));
   }
   
   It takes much time(almost 2 minutes) to load all meta data.
   
   ## Question
   Why shardingspere need to load all meta data? If I don't load them, what will happen?
   
   Thanks a lot.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services