<?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 Database migration from Oracle 12c to Postgres in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/database-migration-from-oracle-12c-to-postgres/m-p/1256923#M8265</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;We have a geodatabase in Oracle 12c that we are planning to migrate on Postgres.&lt;BR /&gt;Is there any guidelines on how to proceed for doing so ?&lt;BR /&gt;&lt;BR /&gt;Ideally we would like to re-create a new SDE schema on our new Postgres database to restart on clean base, and after that migrate our schemas that contains our geographic data with a migration tool (ora2pg).&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is that possible ?&lt;/LI&gt;&lt;LI&gt;If it is, how can we link our migrated schemas with the new SDE schema ?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2023 10:06:12 GMT</pubDate>
    <dc:creator>GDT-Younup</dc:creator>
    <dc:date>2023-02-10T10:06:12Z</dc:date>
    <item>
      <title>Database migration from Oracle 12c to Postgres</title>
      <link>https://community.esri.com/t5/geodatabase-questions/database-migration-from-oracle-12c-to-postgres/m-p/1256923#M8265</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;We have a geodatabase in Oracle 12c that we are planning to migrate on Postgres.&lt;BR /&gt;Is there any guidelines on how to proceed for doing so ?&lt;BR /&gt;&lt;BR /&gt;Ideally we would like to re-create a new SDE schema on our new Postgres database to restart on clean base, and after that migrate our schemas that contains our geographic data with a migration tool (ora2pg).&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is that possible ?&lt;/LI&gt;&lt;LI&gt;If it is, how can we link our migrated schemas with the new SDE schema ?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 10:06:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/database-migration-from-oracle-12c-to-postgres/m-p/1256923#M8265</guid>
      <dc:creator>GDT-Younup</dc:creator>
      <dc:date>2023-02-10T10:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Database migration from Oracle 12c to Postgres</title>
      <link>https://community.esri.com/t5/geodatabase-questions/database-migration-from-oracle-12c-to-postgres/m-p/1256932#M8266</link>
      <description>&lt;P&gt;The best (and safest) way I have seen this done is using the ArcGIS tools (copy / paste) from the old Oracle schemas (data owners) to the new PostgreSQL in the schemas that you want. Using that workflow will allow the conversion into the correct repository ("SDE / GDB") tables.&lt;/P&gt;&lt;P&gt;I have not used the ora2pg tool before but think that there could be some issues when it comes to the repository tables.&lt;/P&gt;&lt;P&gt;If your Oracle EGDB is versioned, make sure to get all the versioned data into the default version / base table before copying over.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 11:33:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/database-migration-from-oracle-12c-to-postgres/m-p/1256932#M8266</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2023-02-10T11:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Database migration from Oracle 12c to Postgres</title>
      <link>https://community.esri.com/t5/geodatabase-questions/database-migration-from-oracle-12c-to-postgres/m-p/1257229#M8267</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;sde&lt;/FONT&gt; schema shouldn't be involved at all in any cross-DBMS geodatabase migration, only the table owner(s) at first.&lt;/P&gt;&lt;P&gt;I actually prefer to use SQL to define the tables *exactly* as desired, then Append from the source or even use FeatureClassToFeatureClass to generate a near clone, and populate the contents of the new table(s) via &lt;FONT face="courier new,courier"&gt;INSERT INTO &lt;EM&gt;newtableN&lt;/EM&gt;(&lt;EM&gt;columnlist&lt;/EM&gt;) SELECT &lt;EM&gt;columnlist&lt;/EM&gt; FROM &lt;EM&gt;temptableN&lt;/EM&gt;&lt;/FONT&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This latter solution allows flexibility to restructure the table, or optimize physical order via an &lt;FONT face="courier new,courier"&gt;ORDER BY&lt;/FONT&gt; (or both).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course, any versioned edits would be need to be reconciled and posted before starting transfer, and the feature classes only versioned in the target database after confirming successful transfer.&lt;/P&gt;&lt;P&gt;I recently did this with 120 million rows across a score of tables, optimizing the partitioning and adding timestamp columns for insert and update. I used Python to transfer the data, and added a parallel table with a SHA-1 hash to fingerprint the new contents, then compared the hash with a hash of the source data to confirm successful transfer.&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 21:13:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/database-migration-from-oracle-12c-to-postgres/m-p/1257229#M8267</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2023-02-10T21:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Database migration from Oracle 12c to Postgres</title>
      <link>https://community.esri.com/t5/geodatabase-questions/database-migration-from-oracle-12c-to-postgres/m-p/1259201#M8272</link>
      <description>&lt;P&gt;Hi Vince,&lt;/P&gt;&lt;P&gt;I do not quiet get this statement "...&lt;SPAN&gt;and populate the contents of the new table(s) via&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;INSERT INTO&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;newtableN&lt;/EM&gt;(&lt;EM&gt;columnlist&lt;/EM&gt;) SELECT&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;columnlist&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;FROM&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;temptableN&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt;. " Did you mean: create an empty FC first&amp;nbsp; and then load the data with &lt;EM&gt;INSERT INTO&lt;/EM&gt; query.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 01:57:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/database-migration-from-oracle-12c-to-postgres/m-p/1259201#M8272</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2023-02-17T01:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Database migration from Oracle 12c to Postgres</title>
      <link>https://community.esri.com/t5/geodatabase-questions/database-migration-from-oracle-12c-to-postgres/m-p/1259469#M8276</link>
      <description>&lt;P&gt;Yes, I mean create an empty table (not yet registered), and populate it via SQL (then register it).&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 18:31:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/database-migration-from-oracle-12c-to-postgres/m-p/1259469#M8276</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2023-02-17T18:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Database migration from Oracle 12c to Postgres</title>
      <link>https://community.esri.com/t5/geodatabase-questions/database-migration-from-oracle-12c-to-postgres/m-p/1259754#M8277</link>
      <description>&lt;P&gt;Allright, thanks Vince.&lt;BR /&gt;&lt;BR /&gt;And how about "&lt;EM&gt;...&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;added a parallel table with a SHA-1 hash to fingerprint the new contents, then compared the hash with a hash of the source data to confirm successful transfer.&lt;/EM&gt;" Could you point me to an article on how abut to do the process of SHA-1 hash ?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 03:31:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/database-migration-from-oracle-12c-to-postgres/m-p/1259754#M8277</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2023-02-20T03:31:44Z</dc:date>
    </item>
  </channel>
</rss>

