Opened 13 years ago
Closed 13 years ago
#793 closed enhancement (fixed)
SQLite: Avoid caching too many statements
Reported by: | romicadascalescu | Owned by: | romicadascalescu |
---|---|---|---|
Priority: | major | Milestone: | 3.7.0 |
Component: | SQLite Provider | Version: | 3.7.0 |
Severity: | 3 | Keywords: | |
Cc: | External ID: |
Description
SQLite: Avoid caching too many statements, right new we cache 1000 statements and after this count we clean up the cache, but at this number it might be too late. Added a lower number of cache statements. When we hit that number we verify is statements were used only once. In case yes we remove it from cache, in case no we keep it till we hit a bigger count when we decrement the usage count till will become 1 and will be removed from cache.
Note:
See TracTickets
for help on using tickets.
New Revision: 6279
Modified:
Log: #793: SQLite: Avoid caching too many statements