<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Data migration flow on RIA Docs</title>
    <link>https://docs.riaproducts.com/dih/3.0.0/docs/database-migration/database-schemas/</link>
    <description>Recent content in Data migration flow on RIA Docs</description>
    <generator>Hugo</generator>
    <language>en</language>
    <atom:link href="https://docs.riaproducts.com/dih/3.0.0/docs/database-migration/database-schemas/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>CX Tables</title>
      <link>https://docs.riaproducts.com/dih/3.0.0/docs/database-migration/database-schemas/cx-tables/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.riaproducts.com/dih/3.0.0/docs/database-migration/database-schemas/cx-tables/</guid>
      <description>&lt;h2 id=&#34;ci-views&#34;&gt;CI Views&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#ci-views&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;The STGADM schema has the same table structures as CISADM. For example, the &lt;code&gt;CI_ACCT&lt;/code&gt; table in STGADM is identical to the &lt;code&gt;CI_ACCT&lt;/code&gt; table in CISADM. &lt;/p&gt;&#xA;&lt;p&gt;When mapping from legacy source tables to the OUAF application’s target tables, the tool must generate the new primary key values and link them to their respective legacy values. A specific set of CX staging tables is utilized to facilitate this process. These tables closely resemble their CI counterparts but include an additional CX primary ID. For child tables, there is also a CX foreign key that links to the parent CX row. The CX IDs are defined with a &lt;code&gt;VARCHAR2(128)&lt;/code&gt; data type, which provides ample space for any legacy key value and allows for the concatenation of legacy values to create unique keys if needed. To create a CX table, see &lt;a href=&#34;https://docs.riaproducts.com/dih/3.0.0/dih/3.0.0/docs/ria_dih-package/ria_dih-package/miscellaneous-procedures/#create_cx_table&#34;&gt;create_cx_table in the Miscellaneous procedures&lt;/a&gt;. &lt;/p&gt;</description>
    </item>
    <item>
      <title>CI tables</title>
      <link>https://docs.riaproducts.com/dih/3.0.0/docs/database-migration/database-schemas/ci-tables/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.riaproducts.com/dih/3.0.0/docs/database-migration/database-schemas/ci-tables/</guid>
      <description>&lt;h2 id=&#34;ci_k-tables&#34;&gt;CI_K tables&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#ci_k-tables&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Every CI table with a generated primary ID has a corresponding K table, which holds that generated ID. The K tables do not have equivalent CX tables but have an environment ID, ENV_ID, used by unrelated configuration migration functionality in OUAF. The &lt;code&gt;ENV_ID&lt;/code&gt; column can be populated from the &lt;code&gt;ENV_ID&lt;/code&gt; column in the &lt;code&gt;F1_INSTALLATION&lt;/code&gt; table.&lt;/p&gt;&#xA;&lt;p&gt;The K tables keep track of all generated IDs, including for those objects that have been archived, to ensure that no new IDs are generated that could cause conflicts with archived objects that may need to be unarchived in the future. The DIH tool and the OUAF application check this table to safeguard against duplicates when generating new IDs. So, if you are converting into an already populated database, such as during a phased conversion, the contents of the K tables must be copied from the CISADM schema to the STGADM schema.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
