Hi,
Connection pooling is an internal implementation driver of each driver.
You have to be careful about multi-threaded use cases if you want to
implement that though. The PostGISRaster driver has some connection
pooling. See PostGISRasterDriver::GetConnection()
Even
Le 07/07/2025 à 21:18, Fengting Chen via gdal-dev a écrit :
Hi,
A Python program can invoke GDAL driver through gdal.open() to
read/write raster/vector data. Is it possible for the GDAL driver to
be reused in order to avoid reinitializing the driver for each
gdal.open() call? For example, if a GDAL driver to a database
implements a connection pool, will each gdal.open() call be able to
ask the driver to retrieve a db connection from the connection pool,
instead of creating a new database connection?
Thanks!
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev