Hi,
When filtering features spatially in a GetFeature request, I noticed that on an Oracle 10g database, Geoserver is quite slow using for instance DWithin and Intersects, but it gives the correct feature(s) back. The table to filter on isn't that big (65.000 records), but it takes Geoserver 10-20 seconds to give the repsonse.
In the SQLEncoderOracle, is stated that only filters on a GEOMETRY_BBOX are implemented, while there is a void
doSdoRelate(). My question is twofold:
1. Geoserver being slow on filters like DWithin, is that caused by Geotools taking the filter over (and thus selecting all 65.000 features before filtering), because the filter is not implemented for Oracle?
Maybe I'll try to implement some other filters for Oracle, but that could take me a while I think... so therefore I'd like to know whether support for other filters is expected/planned for Oracle (I can't see anything on it in Jira).
Thanks!
Thijs
------------------------------------------------------------
Geodan IT b.v.
President Kennedylaan 1
1079 MB Amsterdam (NL)
------------------------------------------------------------
Tel: +31 (0)20 - 5711 311
Fax: +31 (0)20 - 5711 333
------------------------------------------------------------
E-mail: thijs.brentjens@anonymised.com
Website: www.geodan.nl
Disclaimer: www.geodan.nl/disclaimer
------------------------------------------------------------