Title: Message Title
| |
|
|
| Issue Type: |
Improvement |
| Affects Versions: |
2.2.x, 2.13.0 |
| Assignee: |
Unassigned |
| Components: |
WFS |
| Created: |
28/Mar/18 11:04 AM |
| Environment: |
Related issue reported as a bug: https://osgeo-org.atlassian.net/browse/GEOS-7239 Related commit causing the problem: https://github.com/geoserver/geoserver/commit/d89885e9408c097120cb6df0e910fdf315f9a229#diff-1b4d0a8e0a53aad5084a306768223d80 This commit has caused an issue with Postgres database because fetching totalFeatures making the request very slow. Postgres fetches count going through all the rows in the table and index helps with vacuum analyze but still, it's not optimal enough and randomly slows down count query. This should have been a format_options (or something else) if you want totalfeatures or not? In my case the postgres was taking 1 minute to get the count of rows (table with 8 million rows with unique index). After vacuum analyze it took ~4 seconds but still without this totalFeatures the geoserver WFS request takes 0.25 milliseconds. Totalfeatures is not a standard geojson attribute. Nobody looked into this request in last 3 years. I am still struggling and holding back using geoserver 2.2.5 version. |
| Priority: |
Medium |
| Reporter: |
SSA |
|
|
|
| |
|
|
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel