Opened 19 years ago
Closed 13 years ago
#1292 closed defect (fixed)
Filter Encoding : WFS performance issue
Reported by: | assefa | Owned by: | assefa |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | WMS Server | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | mapserver@…, bartvde@…, arnulf@…, silke.reimer@… |
Description (last modified by )
This bug is to track the changes related to how the filter encoding is interpreted/used according to diffrent underlying layer types. Right now the OGC Filter Encoding is transformed into Mapserver class expression regardless of the underlying layer type. This is very inefficient when the underlying data is a database since It does not take advantage of the filtering that could be done (Layer's FILTER) on the db before doing a query.
Attachments (1)
Change History (13)
comment:2 by , 19 years ago
Cc: | added |
---|
comment:4 by , 19 years ago
Cc: | added |
---|
comment:5 by , 19 years ago
Commited the first version. Some notes on this: - applies only for postgis and oracle layers - The initial support is to translate "simple" filter encoding xml into SQL expressions that are set on the layers's FILTER parameter. Simple filters are filters that contain only comparision operators plus logical operators. It can also contain *one* BBOX operator. I have done some testing using postgis layers and also OGR layers (although I have disabled the OGR supprt for now). Next step is to wait for user tests to see if It adresses the performance issues. I will then upgrade it to other layer types.
comment:6 by , 19 years ago
Cc: | added |
---|
comment:7 by , 19 years ago
Performance still does not work. Menawhile we have been searching the problem elsewhere because GeoServer has the same problem and so we thought its something else. Now i see there is somebody in the list with a simliar problem. We have tested 4.6 with the same results. Ben will send the query strings printed in debug mode. We have a sort of deadline with an Oracle client next week. So it will also be tested with Oracle. Ben will report whatever came out of it.
comment:8 by , 19 years ago
Cc: | added |
---|
comment:9 by , 19 years ago
Extended support for OGR layers : ans sql type expression is generated and the layer's filter is set using the expression preceded with a WHERE clause.
by , 16 years ago
Attachment: | WMS_WFS_PostGIS_english.txt added |
---|
WMS and WFS tests on a PostGIS database
comment:10 by , 16 years ago
I have done WMS and WFS requests on a PostGIS database with no BBOX operator. WMS requests are fast. WFS requests are fast except when PropertyIsLike is used.
Here is a summary of my tests :
- WMS request with PropertyIsEqualTo : 0.162s
- WMS request with PropertyIsLike : 0.157s
- WFS request with PropertyIsEqualTo : 1.798s
- WFS request with PropertyIsLike : 68.399s
It seems that there is a big problem with WFS requests using PropertyIsLike in the filter.
comment:11 by , 16 years ago
Description: | modified (diff) |
---|---|
Owner: | changed from | to
comment:12 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
closing. PropertyIsLike should work in 6.0. Please reopen if there is a problem
Note:
See TracTickets
for help on using tickets.