<?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: Does the SDE.GDB_REPLICA table exist in 10.1? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/does-the-sde-gdb-replica-table-exist-in-10-1/m-p/356642#M20450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; In my 10.1 instance this table is not present, even though I have replicas and they are all sync'ing fine.&amp;nbsp; Is this a change in the 10.1 architecture or is my database screwy?&amp;nbsp; If this is normal, how do I go about identifying orphaned replicas?&amp;nbsp; &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Matt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The geodatabase schema has been restructured at ArcGIS 10.0 (and forward), consolidating the information from 'GDB_xxx' tables into six tables (and making use of XML columns), hence there is no GDB_Replica table after upgrading the geodatabase to 10.0 or 10.1. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The webhelp link &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//006z000000tn000000" rel="nofollow noopener noreferrer" target="_blank"&gt;XML column queries &lt;/A&gt;&lt;SPAN&gt;illustrates querying the XML columns.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following sample could be used to query replica info (ID, Replica_Name, Replica_Version and Date_creation) in SQL Server:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;SELECT&amp;nbsp; 
ITEMS.Definition.value('(/GPReplica/ID)[1]', 'nvarchar(max)') AS "ID",
ITEMS.Definition.value('(/GPReplica/Name)[1]', 'nvarchar(max)') AS "Replica Name",
ITEMS.Definition.value('(/GPReplica/ReplicaVersion)[1]', 'nvarchar(max)') AS "Replica Version",
ITEMS.Definition.value('(/GPReplica/CreationDate)[1]', 'nvarchar(max)') AS "Creation Date"
from 
 dbo.GDB_ITEMS AS ITEMS INNER JOIN dbo.GDB_ITEMTYPES AS ITEMTYPES
 ON ITEMS.Type = ITEMTYPES.UUID
WHERE 
 ITEMTYPES.Name = 'Replica';&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mandar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 16:40:54 GMT</pubDate>
    <dc:creator>MandarPurohit</dc:creator>
    <dc:date>2021-12-11T16:40:54Z</dc:date>
    <item>
      <title>Does the SDE.GDB_REPLICA table exist in 10.1?</title>
      <link>https://community.esri.com/t5/data-management-questions/does-the-sde-gdb-replica-table-exist-in-10-1/m-p/356640#M20448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In my old 9.2 instance there is an SDE.GDB_REPLICA table which holds the names of each replica.&amp;nbsp; In my 10.1 instance this table is not present, even though I have replicas and they are all sync'ing fine.&amp;nbsp; Is this a change in the 10.1 architecture or is my database screwy?&amp;nbsp; If this is normal, how do I go about identifying orphaned replicas?&amp;nbsp; (In my old database I'd compare replica ID's in the SDE.GDB_REPLICA vs. SDE.VERSIONS to identify any orphaned replicas)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 12:57:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/does-the-sde-gdb-replica-table-exist-in-10-1/m-p/356640#M20448</guid>
      <dc:creator>MattSimmons</dc:creator>
      <dc:date>2013-01-07T12:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Does the SDE.GDB_REPLICA table exist in 10.1?</title>
      <link>https://community.esri.com/t5/data-management-questions/does-the-sde-gdb-replica-table-exist-in-10-1/m-p/356641#M20449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Matt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can look at the following links for the system tables information in 10.1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Oracle: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//002n0000008m000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//002n0000008m000000&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL Server: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//002q00000080000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//002q00000080000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess the GDB_Replicalog table should provide you with the necessary informations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 13:54:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/does-the-sde-gdb-replica-table-exist-in-10-1/m-p/356641#M20449</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2013-01-07T13:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Does the SDE.GDB_REPLICA table exist in 10.1?</title>
      <link>https://community.esri.com/t5/data-management-questions/does-the-sde-gdb-replica-table-exist-in-10-1/m-p/356642#M20450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; In my 10.1 instance this table is not present, even though I have replicas and they are all sync'ing fine.&amp;nbsp; Is this a change in the 10.1 architecture or is my database screwy?&amp;nbsp; If this is normal, how do I go about identifying orphaned replicas?&amp;nbsp; &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Matt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The geodatabase schema has been restructured at ArcGIS 10.0 (and forward), consolidating the information from 'GDB_xxx' tables into six tables (and making use of XML columns), hence there is no GDB_Replica table after upgrading the geodatabase to 10.0 or 10.1. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The webhelp link &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//006z000000tn000000" rel="nofollow noopener noreferrer" target="_blank"&gt;XML column queries &lt;/A&gt;&lt;SPAN&gt;illustrates querying the XML columns.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following sample could be used to query replica info (ID, Replica_Name, Replica_Version and Date_creation) in SQL Server:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;SELECT&amp;nbsp; 
ITEMS.Definition.value('(/GPReplica/ID)[1]', 'nvarchar(max)') AS "ID",
ITEMS.Definition.value('(/GPReplica/Name)[1]', 'nvarchar(max)') AS "Replica Name",
ITEMS.Definition.value('(/GPReplica/ReplicaVersion)[1]', 'nvarchar(max)') AS "Replica Version",
ITEMS.Definition.value('(/GPReplica/CreationDate)[1]', 'nvarchar(max)') AS "Creation Date"
from 
 dbo.GDB_ITEMS AS ITEMS INNER JOIN dbo.GDB_ITEMTYPES AS ITEMTYPES
 ON ITEMS.Type = ITEMTYPES.UUID
WHERE 
 ITEMTYPES.Name = 'Replica';&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mandar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:40:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/does-the-sde-gdb-replica-table-exist-in-10-1/m-p/356642#M20450</guid>
      <dc:creator>MandarPurohit</dc:creator>
      <dc:date>2021-12-11T16:40:54Z</dc:date>
    </item>
  </channel>
</rss>

