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 2019/12/06 10:42:26 UTC

[GitHub] [incubator-shardingsphere] terrymanu commented on issue #3676: Is there any good way to handle with parsing sql first time, which is taking too many time?

terrymanu commented on issue #3676: Is there any good way to handle with parsing sql first time, which is taking too many time?
URL: https://github.com/apache/incubator-shardingsphere/issues/3676#issuecomment-562523927
 
 
   Because parse SQL by ANTLR is slow, and ShardingSphere save the 1st parse result into cache.
   Please see details here: https://shardingsphere.apache.org/document/current/en/features/sharding/principle/parse/
   
   I don't think we can enhance the performance before the AST into cache. If you want, you can consider about  preheat your SQL.
   

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