asdfgh19 created IGNITE-20061:
---------------------------------

             Summary: Add SystemProperty for H2Connection#STATEMENT_CACHE_SIZE 
                 Key: IGNITE-20061
                 URL: https://issues.apache.org/jira/browse/IGNITE-20061
             Project: Ignite
          Issue Type: Improvement
          Components: h2-limitation, jdbc
    Affects Versions: 2.15
            Reporter: asdfgh19


We cache SQL statements in H2Connection. Although we can periodically clean up 
the entire H2StatementCache by configuring 
IGNITE_H2_INDEXING_CACHE_CLEANUP_PERIOD , a single statement cannot be cleared 
individually when the connection continues to query.

When the memory is sufficient, we hope to increase the size of H2StatementCache 
to improve performance;

When the memory is limited, we hope to reduce the size of H2StatementCache to 
avoid memory overflow;

So I propose to add a system property 
IGNITE_H2_INDEXING_CACHE_STATEMENT_CACHE_SIZE to configure the H2StatementCache 
size.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to