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 2022/09/21 08:58:18 UTC

[GitHub] [shardingsphere] liushangqing9803 opened a new issue, #21113: SQLStatement expiration issues

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

   now,SQLStatement cache is ReferenceMap.However, when the jvm performs full gc, the cached objects may be recycled, and the SQL will be parsed next time, causing interface fluctuations. It is recommended to add configurations to determine whether the cache needs to expire.
   
   
   


-- 
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] TeslaCN commented on issue #21113: SQLStatement expiration issues

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

   `softValues()` is not configurable for now. Consider making it configurable.
   
   
   https://github.com/apache/shardingsphere/blob/c3596089f4bfccd5d2b02b164c203f72e5d779be/shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/database/cache/ParseTreeCacheBuilder.java#L41
   
   https://github.com/apache/shardingsphere/blob/c3596089f4bfccd5d2b02b164c203f72e5d779be/shardingsphere-infra/shardingsphere-infra-parser/src/main/java/org/apache/shardingsphere/infra/parser/cache/SQLStatementCacheBuilder.java#L44


-- 
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] TeslaCN commented on issue #21113: SQLStatement expiration issues

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

   > Thank you,I hope to see the new version earlier.
   
   Hi @liushangqing9803 
   Are you interested in fixing this issue?


-- 
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] liushangqing9803 commented on issue #21113: SQLStatement expiration issues

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

   Thank you,I hope to see the new version earlier.


-- 
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] liushangqing9803 commented on issue #21113: SQLStatement expiration issues

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

   > Are you interested in fixing this issue?
   
   of course,I will correct this problem as soon as possible.


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