<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>Please share the stack trace (on a debug build) of both instances
where GDALOpen() is called</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 28/11/2023 à 23:40, Fengting Chen
via gdal-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:BYAPR10MB3366F2ABF37779E31227CE3F93BCA@BYAPR10MB3366.namprd10.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator"
content="Microsoft Word 15 (filtered medium)">
<style>@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:"\@PMingLiU";
panose-1:2 1 6 1 0 1 1 1 1 1;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-ligatures:standardcontextual;}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}div.WordSection1
{page:WordSection1;}</style>
<div class="WordSection1">
<p class="MsoNormal">Hi, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I noticed from the GeoRaster driver that in
GDAL 3.6 and 3.7 (maybe 3.8 too), there are two GDALOpen()
calls on the driver with GDALOpenInfo eAccess as GA_ReadOnly,
even when the GeoRaster is the output format in gdal_translate
command. There are no such calls in GDAL 3.4. I am wondering
if these invocations of Open() with eAccess as GA_ReadOnly are
necessary when the driver is the output driver. This has
caused performance issue for the GeoRaster driver when a user
is trying to load the data into Oracle database because it has
two unnecessary reads from the database. If these Open()
calls are unavoidable, how to differentiate the calls whether
it is as input or as output in the gdal_translate command?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks.<o:p></o:p></p>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>