<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sderaster - copy raster from oracle to ms sql server in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/sderaster-copy-raster-from-oracle-to-ms-sql-server/m-p/400306#M22949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think the issue here is the use of Direct Connect to both instances.&amp;nbsp; You might have more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;success if you use an SDK SDEHOME, since they have most of the server libraries installed &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in one directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I mostly use my own custom raster utilities (sde2raster &amp;amp; raster2sde from &lt;/SPAN&gt;&lt;A href="ftp://ftp.esri.com/pub/staff/vangelo/se_toolkit/index.html"&gt;se_toolkit&lt;/A&gt;&lt;SPAN&gt;) to copy &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rasters, and I rarely use Direct Connect for data loading (I usually load on the server anyway).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So you have several options:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Use application server connection for one or more of the connections.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Use an SDEHOME that has both Oracle and SQL-Server direct connect libraries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Use a different utility that only makes one connection at a time (the data flows through&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a pipe, so you can change SDEHOME variables before invoking the second instance)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caveats:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A) No enterprise ArcSDE utility (or custom application built with the 'C' API) is supported for &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;use with Express-based Personal ArcSDE or Workgroup ArcSDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;B) 'sde2raster' has a known issue with sparse rasters, where NODATA values aren't populated&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;correctly when entire tiles are missing (though this seems to have disappeared at 9.3)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C) 'sde2raster' uses only lossless compression on the data stream to 'raster2sde', so images&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with lossy compression will expand in size significantly during transfer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;D) Copying the SQL-Server server DLLs to an Oracle SDEHOME (or vice versa) may work but is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;unsupported (because it would not be upgraded with a service pack).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jul 2011 10:33:43 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2011-07-15T10:33:43Z</dc:date>
    <item>
      <title>sderaster - copy raster from oracle to ms sql server</title>
      <link>https://community.esri.com/t5/data-management-questions/sderaster-copy-raster-from-oracle-to-ms-sql-server/m-p/400305#M22948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to copy a raster from raster catalog in oracle 11 to raster catalog in ms sql server 2008 (express edition) using "sderaster -o copy" command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
sderaster -o copy -l GIS_RASTRY_PDKL.GIS_R_SAT,raster -i sde:sqlserver:kom396\sqlexpress -u GIS_RASTRY_PDKL -p passwd -D ewista_gis -f "-l GIS_RASTRY_PDKL.GIS_R_SAT,raster -i sde:oracle11g -u GIS_RASTRY_PDKL -p passwd@KOM504_ORCL2 -W objectid=657"
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This command gives me following output:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Warning: Image name will be truncated.

-l GIS_RASTRY_PDKL.GIS_R_SAT,raster -i sde:oracle11g -u GIS_RASTRY_PDKL -p ... -W objectid=657:
Connecting to datasource sde:oracle11g, as user GIS_RASTRY_PDKL

ArcSDE 9.3.1&amp;nbsp; for Oracle11g Build 2784 Tue Oct 27 10:51:14&amp;nbsp; 2009
----------------------------------------------------------------

Image Dimension..............: 562, 365, 3
Pixel Type...................: uchar
Connecting to datasource sde:sqlserver:kom396\sqlexpress, as user GIS_RASTRY_PDKL
Error: SE_connection_create (-324)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Server library could not be loaded
Incomplete...
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Warning: Image name will be truncated.

-l GIS_RASTRY_PDKL.GIS_R_SAT,raster -i sde:oracle11g -u GIS_RASTRY_PDKL -p ... -
W objectid=657:
Connecting to datasource sde:oracle11g, as user GIS_RASTRY_PDKL

Error: SE_instance_status (-324)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Server library could not be loaded
Incomplete...
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(depends on which sderaster command I use - for oracle or for sqlserver).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Copying between to oracle instances works just fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Databases are installed on different computers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it ever possible to copy rasters beetwen two different databases using "sderaster -o copy"? If so, what am I doing wrong? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:16:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sderaster-copy-raster-from-oracle-to-ms-sql-server/m-p/400305#M22948</guid>
      <dc:creator>MartaPiotrowska</dc:creator>
      <dc:date>2021-12-11T18:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: sderaster - copy raster from oracle to ms sql server</title>
      <link>https://community.esri.com/t5/data-management-questions/sderaster-copy-raster-from-oracle-to-ms-sql-server/m-p/400306#M22949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think the issue here is the use of Direct Connect to both instances.&amp;nbsp; You might have more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;success if you use an SDK SDEHOME, since they have most of the server libraries installed &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in one directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I mostly use my own custom raster utilities (sde2raster &amp;amp; raster2sde from &lt;/SPAN&gt;&lt;A href="ftp://ftp.esri.com/pub/staff/vangelo/se_toolkit/index.html"&gt;se_toolkit&lt;/A&gt;&lt;SPAN&gt;) to copy &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rasters, and I rarely use Direct Connect for data loading (I usually load on the server anyway).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So you have several options:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Use application server connection for one or more of the connections.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Use an SDEHOME that has both Oracle and SQL-Server direct connect libraries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Use a different utility that only makes one connection at a time (the data flows through&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a pipe, so you can change SDEHOME variables before invoking the second instance)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caveats:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A) No enterprise ArcSDE utility (or custom application built with the 'C' API) is supported for &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;use with Express-based Personal ArcSDE or Workgroup ArcSDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;B) 'sde2raster' has a known issue with sparse rasters, where NODATA values aren't populated&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;correctly when entire tiles are missing (though this seems to have disappeared at 9.3)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C) 'sde2raster' uses only lossless compression on the data stream to 'raster2sde', so images&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with lossy compression will expand in size significantly during transfer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;D) Copying the SQL-Server server DLLs to an Oracle SDEHOME (or vice versa) may work but is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;unsupported (because it would not be upgraded with a service pack).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 10:33:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sderaster-copy-raster-from-oracle-to-ms-sql-server/m-p/400306#M22949</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-07-15T10:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: sderaster - copy raster from oracle to ms sql server</title>
      <link>https://community.esri.com/t5/data-management-questions/sderaster-copy-raster-from-oracle-to-ms-sql-server/m-p/400307#M22950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I used application server connection to source server (oracle) and libraries from sqlserver SDEHOME, the operation succeeded.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 05:35:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sderaster-copy-raster-from-oracle-to-ms-sql-server/m-p/400307#M22950</guid>
      <dc:creator>MartaPiotrowska</dc:creator>
      <dc:date>2011-07-19T05:35:23Z</dc:date>
    </item>
  </channel>
</rss>

