You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/11/11 05:42:43 UTC

[GitHub] [shardingsphere] weikangqq opened a new issue #8128: sharding jdbc cost too many times to checm meta data when i start a spring boot project

weikangqq opened a new issue #8128:
URL: https://github.com/apache/shardingsphere/issues/8128


   my application.yml  
     props:
         sql:
           show: true
         check:## it looks like not effict
           table:
             metadata:
               enabled: false
   
   my maven
              <dependency>
                   <groupId>org.apache.shardingsphere</groupId>
                   <artifactId>sharding-jdbc-spring-boot-starter</artifactId>
                   <version>4.1.1</version>
               </dependency>
               <dependency>
                   <groupId>org.springframework.boot</groupId>
                   <artifactId>spring-boot-dependencies</artifactId>
                   <version>2.3.2.RELEASE</version>
                   <type>pom</type>
                   <scope>import</scope>
               </dependency>
   
   that's my start log:
   2020-11-11 13:23:27.090  INFO 7116 --- [  restartedMain] ShardingSphere-metadata                  : Loading 5 logic tables' meta data.
   2020-11-11 13:23:27.522  INFO 7116 --- [  restartedMain] ShardingSphere-metadata                  : Loading 458 tables' meta data.
   2020-11-11 13:25:25.592  INFO 7116 --- [  restartedMain] ShardingSphere-metadata                  : Meta data load finished, cost 118541 milliseconds.
   
   it wait it too long;
   please tell me how can i do to close meta check in spring boot project
   


----------------------------------------------------------------
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



[GitHub] [shardingsphere] strongduanmu commented on issue #8128: sharding jdbc cost too many times to checm meta data when i start a spring boot project

Posted by GitBox <gi...@apache.org>.
strongduanmu commented on issue #8128:
URL: https://github.com/apache/shardingsphere/issues/8128#issuecomment-725430923


   @weikangqq This problem is duplicated with #6212, and it has been solved in the latest `5.0.0-alpha` version. Welcome to try the new version. 😀
   


----------------------------------------------------------------
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



[GitHub] [shardingsphere] strongduanmu closed issue #8128: sharding jdbc cost too many times to checm meta data when i start a spring boot project

Posted by GitBox <gi...@apache.org>.
strongduanmu closed issue #8128:
URL: https://github.com/apache/shardingsphere/issues/8128


   


----------------------------------------------------------------
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



[GitHub] [shardingsphere] weikangqq commented on issue #8128: sharding jdbc cost too many times to checm meta data when i start a spring boot project

Posted by GitBox <gi...@apache.org>.
weikangqq commented on issue #8128:
URL: https://github.com/apache/shardingsphere/issues/8128#issuecomment-725213692


   ![image](https://user-images.githubusercontent.com/20835251/98773438-e20ead00-2423-11eb-805e-748ea4394d56.png)
   
   property 
         sql.show  ** take effect
         check:
           table:
             metadata:
               enabled: false  ***not take effect


----------------------------------------------------------------
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