<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    i'm trying to get Qgis WMS-Server running on my system. Everything
    is fine except the performance which is extremly poor. <br>
    <br>
    QGIS-Server is doing <br>
    <br>
    <i>SELECT st_extent("way") FROM "public"."planet_osm_point"</i><i> </i><i>WHERE


      (tags->'emergency'='fire_hydrant')</i><br>
    <br>
    <b>for every tile</b>. <br>
    <br>
    see <a class="moz-txt-link-freetext"
href="https://osm.wno-edv-service.de/images/osm/snapshots/qgis_extent.png">https://osm.wno-edv-service.de/images/osm/snapshots/qgis_extent.png</a><br>
    <br>
    The OpenStreetMap database is very! big and each of those - i think
    needless - queries runs for some minutes.<br>
    <br>
    A specific index for that query does exist und is beeing used,
    estimatedmetadata is true and autovacuum is running too but may be
    the index is getting old during the day.<br>
    <br>
    Question: <b>Is there a way to  force Qgis not to compute the
      extent for every tile again and again?</b><br>
    <br>
    I'm having the same problem (searching the extent) in Qgis Gui only
    once at the first attempt to display a PostGis-layer. May be that's
    the same.<br>
    <br>
    I'm running Qgis 10, but the older versions are doing the same.<br>
    <br>
    May be i'll switch back to MapServer, which does not have those
    problems, but i would like to do the job with Qgis because of
    WYSIWYG. Or i'll use GeoServer. :(<br>
    <br>
    Regards<br>
    walter
  </body>
</html>