You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "strongduanmu (via GitHub)" <gi...@apache.org> on 2023/06/09 05:14:04 UTC

[GitHub] [shardingsphere] strongduanmu opened a new issue, #26210: DatabaseConnector call ShardingRule.getAllTables cause performance degradation

strongduanmu opened a new issue, #26210:
URL: https://github.com/apache/shardingsphere/issues/26210

   ## Background
   
   ![image](https://github.com/apache/shardingsphere/assets/10829171/17c8c109-ff23-4aa1-a9f8-080c5faeef17)
   
   When we are on the master branch performance testing, found the following problems, DatabaseConnector ShardingRule. A lot of call getAllTables method, the method USES the TreeSet and build subdivision table every time, and broadcast table and truth table, This results in a significant drop in performance.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] strongduanmu commented on issue #26210: DatabaseConnector call ShardingRule.getAllTables cause performance degradation

Posted by "strongduanmu (via GitHub)" <gi...@apache.org>.
strongduanmu commented on issue #26210:
URL: https://github.com/apache/shardingsphere/issues/26210#issuecomment-1586521866

   Besides, I found getParameterCount can be optimized.
   
   ![image](https://github.com/apache/shardingsphere/assets/10829171/52450617-731a-4359-9d2c-3a7a1c901554)
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] strongduanmu commented on issue #26210: DatabaseConnector call ShardingRule.getAllTables cause performance degradation

Posted by "strongduanmu (via GitHub)" <gi...@apache.org>.
strongduanmu commented on issue #26210:
URL: https://github.com/apache/shardingsphere/issues/26210#issuecomment-1585979443

   Yes, I will finish this task today.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] boyjoy1127 commented on issue #26210: DatabaseConnector call ShardingRule.getAllTables cause performance degradation

Posted by "boyjoy1127 (via GitHub)" <gi...@apache.org>.
boyjoy1127 commented on issue #26210:
URL: https://github.com/apache/shardingsphere/issues/26210#issuecomment-1585977009

   Will this issue be completed before June 15 which is the final date of version 5.4.0?


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] tristaZero closed issue #26210: DatabaseConnector call ShardingRule.getAllTables cause performance degradation

Posted by "tristaZero (via GitHub)" <gi...@apache.org>.
tristaZero closed issue #26210: DatabaseConnector call ShardingRule.getAllTables cause performance degradation
URL: https://github.com/apache/shardingsphere/issues/26210


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org