Re: PROCESSING : Connection to Postgis (defer or always)
can use the directive PROCESSING "CLOSE_CONNECTION=DEFER" when you have
several PostGIS layers to be rendered to reduce the time because of
opening the database connections. This means that once the database
connection is established for the first time, it will be shared for all
the layers which use the same connection string (same host, database,
user and password). This takes less time consuming than opening and
closing a database connection for each layer (PROCESSING
From: milad nidal <[hidden email]> To: MapserverList OSGEO <[hidden email]> Sent: Wednesday, January 25, 2017 11:39 AM Subject: [mapserver-users] PROCESSING : Connection to Postgis (defer or always)
I have 100
layers with data connection to postgis (10 mapfiles). In the mapserver (v. 7) documentation
there is a point (which I do not understand) regarding the
OR PROCESSING "CLOSE_CONNECTION=DEFER"
Now if I do
a tile cache for all the layer together.. Is-it better to use Defer or always.
Actually when we should use always and when we should use defer?