[fdo-trac] #793: SQLite: Avoid caching too many statements

FDO trac_fdo at osgeo.org
Tue Oct 18 17:06:24 EDT 2011


#793: SQLite: Avoid caching too many statements
--------------------------------+-------------------------------------------
   Reporter:  romicadascalescu  |       Owner:  romicadascalescu
       Type:  enhancement       |      Status:  new             
   Priority:  major             |   Milestone:  3.7.0           
  Component:  SQLite Provider   |     Version:  3.7.0           
   Severity:  3                 |    Keywords:                  
External_id:                    |  
--------------------------------+-------------------------------------------
 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.

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/793>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list