<div dir="ltr">Hi,<div style>would be nice to have an option like "try to use Estimated extent".</div><div style><br></div><div style><a href="http://postgis.net/docs/ST_Estimated_Extent.html">http://postgis.net/docs/ST_Estimated_Extent.html</a><br>
</div><div style><br></div><div style><br></div><div style>Fred</div><div style><br></div><div style><br></div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 17, 2013 at 9:26 AM, Lassche, M.R. <span dir="ltr"><<a href="mailto:m.r.lassche@vu.nl" target="_blank">m.r.lassche@vu.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
When loading multi table views in QGis it always starts with determining the extent of the result set.<br>
With pg_stat_activity you can see the following query running for a long time: SELECT st_extent("geom") FROM "bag"."vw_bag_pand_functie"<br>
<br>
Does anyone has ideas of how to speed up the loading this dataset in QGis. The view is as efficient as can be, it will normally returns something like 9 million rows for the whole of the Netherlands, but normally I zoom in to a region of interest and then there is no need of first establishing the extent of the whole data set.<br>

<br>
All suggestions are welcome<br>
Ronnie<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br></div>