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/09/14 15:28:21 UTC

[GitHub] [shardingsphere] sandynz commented on issue #7419: Make SQLParseResultCache maximum cached elements size customizable

sandynz commented on issue #7419:
URL: https://github.com/apache/shardingsphere/issues/7419#issuecomment-692133227


   > 
   > 
   > > In some scenario, routed sql will be parsed again
   > > Does `Some scenarios` mean `SQLParseResultCache` reach its capacity?
   
   It might reach its capacity. For example, if t_order has 100 shardings, then one sql might be 100 different sqls after rewriting, t_order -> t_order_0, t_order_1, ..., t_order_99.
   
   > 
   > Do you have any suggestions or ideas?
   
   Could we initialize `maximumSize` in `SQLParseResultCache` and `StandardSQLParserEngine` constructor?
   


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