[Qgis-developer] [Server] performance questions

Alessandro Pasotti apasotti at gmail.com
Tue Feb 23 08:11:33 PST 2016


2016-02-23 16:55 GMT+01:00 Régis Haubourg <
regis.haubourg at eau-adour-garonne.fr>:

> Alessandro Pasotti-2 wrote
> > The answer from strk  makes sense to me, I might be wrong but calculating
> > estimated metadata on a query doesn't make much sense to me.
>
> Oh, I read too fast Strk's comment. Sorry for that. I won't explore that
> dead end no more.
> Another idea, maybe autodiscovering extent on data is a good thing for
> desktop, less for server. Mapserver takes extent from mapfile, not from
> data. Could we imagine adding options to force extents from project
> properties and prevent qgis server from asking that to postgis? Such
> queries
> are BTW  very consuming thing on big datasets and I can't imagine big
> servers with many sessions keeping on querying postgis geometries just to
> get such extent.
> Régis
>
>

Yes, that sounds a nice idea.

We could create a new config option for that and cache the extents.
I'm not sure about how deep into the providers this would lead us, or if it
can be better done into the server itself, but worth exploring.

You should definitely add a feature request.


-- 
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160223/d2d201f3/attachment.html>


More information about the Qgis-developer mailing list