<?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: IGeoDataServer Retrieve Replicas Slow in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/igeodataserver-retrieve-replicas-slow/m-p/245808#M6354</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We run into the same issue. Especially with 10.0. It got a little bit better with 10.2, but still performance of this &lt;STRONG&gt;silly&lt;/STRONG&gt; function is very very poor. We finally ended up with code where we read SDE.GDB_ITEMS &lt;STRONG&gt;=&amp;gt;directly&amp;lt;=&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT UUID into $1 FROM GDB_ITEMTYPES WHERE Name = 'Replica'&lt;/P&gt;&lt;P&gt;SELECT NAME FROM GDB_ITEMS WHERE TYPE = $1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was the fastest way to get the names of the replicas. But: You get a string instead of an IReplica Handle...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Nov 2016 12:17:10 GMT</pubDate>
    <dc:creator>KarlHuber</dc:creator>
    <dc:date>2016-11-28T12:17:10Z</dc:date>
    <item>
      <title>IGeoDataServer Retrieve Replicas Slow</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/igeodataserver-retrieve-replicas-slow/m-p/245807#M6353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My application has a bottle neck when my users connect to the Parent Geodataserver &amp;nbsp;and retrieve the replica list. &amp;nbsp;Here is the line of code in arcobjects. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IGPReplicas&amp;nbsp;gpReplicas = ParentGeoDataServer.Replicas;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any better way to get this list? &amp;nbsp;Some locations running my code take 30 seconds to get this list. &amp;nbsp;I even run this part of the code asynchronously, but it really slows up my sync and replication process for what seems like a pretty simple function? &amp;nbsp;Does anyone know of any way around this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 21:07:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/igeodataserver-retrieve-replicas-slow/m-p/245807#M6353</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2016-10-25T21:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: IGeoDataServer Retrieve Replicas Slow</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/igeodataserver-retrieve-replicas-slow/m-p/245808#M6354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We run into the same issue. Especially with 10.0. It got a little bit better with 10.2, but still performance of this &lt;STRONG&gt;silly&lt;/STRONG&gt; function is very very poor. We finally ended up with code where we read SDE.GDB_ITEMS &lt;STRONG&gt;=&amp;gt;directly&amp;lt;=&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT UUID into $1 FROM GDB_ITEMTYPES WHERE Name = 'Replica'&lt;/P&gt;&lt;P&gt;SELECT NAME FROM GDB_ITEMS WHERE TYPE = $1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was the fastest way to get the names of the replicas. But: You get a string instead of an IReplica Handle...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 12:17:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/igeodataserver-retrieve-replicas-slow/m-p/245808#M6354</guid>
      <dc:creator>KarlHuber</dc:creator>
      <dc:date>2016-11-28T12:17:10Z</dc:date>
    </item>
  </channel>
</rss>

