Improve JDBCDataStore metadata caching
--------------------------------------

                 Key: GEOT-2013
                 URL: http://jira.codehaus.org/browse/GEOT-2013
             Project: GeoTools
          Issue Type: Improvement
    Affects Versions: 2.5.0, 2.6-M0
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira
             Fix For: 2.5.0, 2.6-M0


Curerntly JDBCDataStore does cache the feature types in a permanent cache, and 
does not cache at all the list of type names.
The latter results in a query to determine type names each time a renamed type 
is used (e.g., GetMap) in GeoServer (in the Oracle case that's very common due 
to the uppercase naming Oracle is forcing on us). 
The datastore should cache the list of names too. Neither this case nor the 
feature types one should be permament thoguht, information in the datastore can 
change. We either need to allow the user to drop these caches explicitly or set 
a timeout. The former seems a good compromise (JDBCDataStore.resetMetaData()?).

Fixing this one brings the new datastsore very close to the old one 
(performance wise)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to