Shapefile renderer opens and scans thru the DBF file even if no attribute needs
to be read
------------------------------------------------------------------------------------------
Key: GEOT-1481
URL: http://jira.codehaus.org/browse/GEOT-1481
Project: GeoTools
Issue Type: Bug
Components: ext shapefilerender
Affects Versions: 2.4-RC0
Reporter: Andrea Aime
Assignee: Jesse Eichar
Fix For: 2.4-RC1
The shapefile renderer opens the dbf file to grab the header, and then again
moving from feature to feature during rendering, even if the attribute analisys
shows no attribute needs to be read. This slows down geoserver map production
by 10% on single threaded tests, and as much as 30% when 60 threads are
accessing geoserver simultaneously.
Avoiding to open the DBF file was one of the first streaming renderer
optimization, and it's still there, shapefile renderer should have it too.
I'm committing a patch to avoid dbf file opening, as usual I'd like a review.
--
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: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel