Bug report #14628

Very slow GetCapabilities with PostGIS layers

Added by Nicolas Boisteault over 4 years ago. Updated about 4 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:QGIS Server
Affected QGIS version:2.8.7 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:not reproducable
Crashes QGIS or corrupts data:No Copied to github as #:22593

Description

Affected version QGIS Server 2.8.8 (I can only choose 2.8.7 in list above)
I have a QGIS project with 30 PostGIS layers. When I make a GetCapabilities request on this project via QGIS Server it takes more 4 minutes to load.
I think QGIS Server is doing a lot of request to PostGIS database. Are all requests necessary to build the response?
If we can't avoid this slowness it would be handy to be able to activate cache for GetCapabilities response when project is finished.

History

#1 Updated by Giovanni Manghi over 4 years ago

  • Status changed from Open to Feedback

is still an issue on 2.14 or master?

#2 Updated by Giovanni Manghi about 4 years ago

  • Resolution set to not reproducable
  • Status changed from Feedback to Closed

I tested with 55 postgis layers and the capabilities were produced in a few seconds (qgis server 2.14.3).

Please reopen if necessary.

Also available in: Atom PDF