[mapserver-users] fast cgi MapServer (version 6.0.3) vs cgi with awms getmap request

Peter Hopfgartner peter.hopfgartner at r3-gis.com
Fri Nov 9 00:21:35 PST 2012


On 11/09/2012 09:16 AM, Eichner, Andreas - SID-NLKM wrote:
>>> Once the request is done the the connection
>>> will be closed.
>> I thought that setting allows to open the db connection only
>> once , keep it open until all layers data are read and will
>> prevent closing and opening connections in between layers ?
> That's right. You can query more than one layer per GetMap request and
> MapServer will open the database connection only once for all layers
> involved. But once the request is done AFAIK the database connection
> will be closed.
If you think that the time needed to establish the connection to 
PostgreSQL is relevant in your case, you might consider to use of a 
connection pooler, like http://wiki.postgresql.org/wiki/PgBouncer.
(...)
> HTH
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

Peter

-- 
Peter Hopfgartner
R3 GIS Srl - GmbH
web  : http://www.r3-gis.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20121109/a186dbd2/attachment.html>


More information about the mapserver-users mailing list