Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WFS 2.18.1 slow with PostGIS layer #23821

Closed
qgib opened this issue Nov 28, 2016 · 5 comments
Closed

WFS 2.18.1 slow with PostGIS layer #23821

qgib opened this issue Nov 28, 2016 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Server Related to QGIS server

Comments

@qgib
Copy link
Contributor

qgib commented Nov 28, 2016

Author Name: Nicolas Boisteault (@nboisteault)
Original Redmine Issue: 15904
Affected QGIS version: 2.18.0
Redmine category:qgis_server


OS : Ubuntu Server 16.04
QGIS Server : 2.18.1
PostgreSQL : 9.6
PostGIS : 2.3

In my projet I have a layer with about 2500 rows, 2 columns and no geometry.
If I wget the WFS :

time wget -pq --no-cache --delete-after "http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=especes&PROPERTYNAME=nom_scientifique%2Cid&OUTPUTFORMAT=GeoJSON&GEOMETRYNAME=none&map=path_to_my_project.qgs"

Result with QGIS 2.14.9 :

real 0m0.379s
user 0m0.003s
sys 0m0.002s

Now with QGIS 2.18.1 :

real 0m13.438s
user 0m0.001s
sys 0m0.007s

As you can see, it is very very slow.

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0
  • regression was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Sep 22, 2017

Author Name: Jürgen Fischer (@jef-n)


  • category_id was configured as Unknown

@qgib
Copy link
Contributor Author

qgib commented May 31, 2018

Author Name: Even Rouault (@rouault)


  • description was changed from OS : Ubuntu Server 16.04
    QGIS Server : 2.18.1
    PostgreSQL : 9.6
    PostGIS : 2.3

In my projet I have a layer with about 2500 rows, 2 columns and no geometry.
If I wget the WFS :

time wget -pq --no-cache --delete-after "http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=especes&PROPERTYNAME=nom_scientifique%2Cid&OUTPUTFORMAT=GeoJSON&GEOMETRYNAME=none&map=path_to_my_project.qgs"

Result with QGIS 2.14.9 :

real 0m0.379s
user 0m0.003s
sys 0m0.002s

Now with QGIS 2.18.1 :

real 0m13.438s
user 0m0.001s
sys 0m0.007s

As you can see, it is very very slow.
to OS : Ubuntu Server 16.04
QGIS Server : 2.18.1
PostgreSQL : 9.6
PostGIS : 2.3

In my projet I have a layer with about 2500 rows, 2 columns and no geometry.
If I wget the WFS :

time wget -pq --no-cache --delete-after "http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=especes&PROPERTYNAME=nom_scientifique%2Cid&OUTPUTFORMAT=GeoJSON&GEOMETRYNAME=none&map=path_to_my_project.qgs"

Result with QGIS 2.14.9 :

real 0m0.379s
user 0m0.003s
sys 0m0.002s

Now with QGIS 2.18.1 :

real 0m13.438s
user 0m0.001s
sys 0m0.007s

As you can see, it is very very slow.

  • category_id was changed from Unknown to QGIS Server

@qgib
Copy link
Contributor Author

qgib commented Sep 26, 2018

Author Name: Nicolas Boisteault (@nboisteault)


I can't reproduce the issue in QGIS 2.18.24. Good work developers!


  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Sep 26, 2018
@qgib
Copy link
Contributor Author

qgib commented Sep 27, 2018

Author Name: Giovanni Manghi (@gioman)


  • resolution was changed from to fixed/implemented

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Server Related to QGIS server labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Server Related to QGIS server
Projects
None yet
Development

No branches or pull requests

1 participant