<?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: Need to refresh table views after SDE edits? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503209#M28508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using Oracle - what is the actual name of the adds and deletes table I need to look at (via PL/SQL)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I looked at the compress_log table and can see the compress in the log.&amp;nbsp; The start state count is 500+, but the end state count is 27.&amp;nbsp; It indicates "Success" but shouldn't the end state could be zero?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your time on this - Hopefully I'm close to getting it figured out~&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Dec 2011 15:06:45 GMT</pubDate>
    <dc:creator>MattSimmons</dc:creator>
    <dc:date>2011-12-14T15:06:45Z</dc:date>
    <item>
      <title>Need to refresh table views after SDE edits?</title>
      <link>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503202#M28501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've got some table views set up that reference my SDE layers.&amp;nbsp; When edits are made to the SDE layers they are reflected, but the edits are not reflected in the table views.&amp;nbsp; My understanding is that table views aren't static, they just reference an SDE layer.&amp;nbsp; Do I ever need to refresh table views??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 18:47:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503202#M28501</guid>
      <dc:creator>MattSimmons</dc:creator>
      <dc:date>2011-12-12T18:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need to refresh table views after SDE edits?</title>
      <link>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503203#M28502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How are you doing these edits?&amp;nbsp; If you're using versioning, then the changes aren't really&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in the tables until after reconcile &amp;amp; post.&amp;nbsp; If you want the view to reflect other than the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;base table contents, you'd need to use multi-version views.&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>Mon, 12 Dec 2011 19:20:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503203#M28502</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-12-12T19:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need to refresh table views after SDE edits?</title>
      <link>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503204#M28503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply~&amp;nbsp; To create the table views I used the sde command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdetable -o create_view -T &amp;lt;View_Name&amp;gt; -t &amp;lt;Table_Name&amp;gt; -c &amp;lt;Column 1&amp;gt;,&amp;lt;Column 2&amp;gt;,&amp;lt;Column 3&amp;gt;,&amp;lt;Column 4&amp;gt; -i &amp;lt;&amp;gt; -s &amp;lt;&amp;gt; -u &amp;lt;&amp;gt; -p &amp;lt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The table views are now separate feature classes in SDE.&amp;nbsp; My edits are done using versioning, and there are no edits outstanding.&amp;nbsp; All edits have been reconciled and posted but are not showing in the table views.&amp;nbsp; I've verified this by loading the base table into ArcMap and comparing to the table view of the same records.&amp;nbsp; The table view shows the unchanged data, while the base table reflects the posted edits.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 15:04:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503204#M28503</guid>
      <dc:creator>MattSimmons</dc:creator>
      <dc:date>2011-12-13T15:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need to refresh table views after SDE edits?</title>
      <link>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503205#M28504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need to compress the SDE GDB.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 20:20:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503205#M28504</guid>
      <dc:creator>RobertHu</dc:creator>
      <dc:date>2011-12-13T20:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need to refresh table views after SDE edits?</title>
      <link>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503206#M28505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Doh!&amp;nbsp; s/reconcile &amp;amp; post/reconcile, post and compress/g&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The parts about table contents and MV views were right, though.&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>Wed, 14 Dec 2011 01:09:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503206#M28505</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-12-14T01:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need to refresh table views after SDE edits?</title>
      <link>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503207#M28506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did some googling and this seems to be the problem for some - but just tried compressing the DB via ArcCatalog and nothing changed (the compress tool doesn't indicate success or failure - it just runs).&amp;nbsp; All versions were reconciled/posted and even deleted first, and user connections were severed.&amp;nbsp; How do I look at the A/D tables to see if there are any changes remaining that didn't make it back to the base tables?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS - what does "s/reconcile &amp;amp; post/reconcile, post and compress/g" mean?&amp;nbsp; What do the s and g stand for in your reply?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 12:04:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503207#M28506</guid>
      <dc:creator>MattSimmons</dc:creator>
      <dc:date>2011-12-14T12:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need to refresh table views after SDE edits?</title>
      <link>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503208#M28507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It the table has compressed sucessfuly, there will be zero rows in both the A and D&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;table, and the base table will contain all edits.&amp;nbsp; You can use any SQL tool to view&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;these tables (including an ODBC connection through ArcGIS).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The "s{char}{old_pattern}{char}{new_pattern}{char}&lt;G&gt;" syntax is from 'vi' (which&lt;/G&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;got it from 'ed', as did 'sed').&amp;nbsp; 's' is substitute and 'g' is "global" -- You can interpret &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it as "substitute all occurances of old_pattern with new_pattern".&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>Wed, 14 Dec 2011 14:37:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503208#M28507</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-12-14T14:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need to refresh table views after SDE edits?</title>
      <link>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503209#M28508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using Oracle - what is the actual name of the adds and deletes table I need to look at (via PL/SQL)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I looked at the compress_log table and can see the compress in the log.&amp;nbsp; The start state count is 500+, but the end state count is 27.&amp;nbsp; It indicates "Success" but shouldn't the end state could be zero?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your time on this - Hopefully I'm close to getting it figured out~&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 15:06:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503209#M28508</guid>
      <dc:creator>MattSimmons</dc:creator>
      <dc:date>2011-12-14T15:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need to refresh table views after SDE edits?</title>
      <link>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503210#M28509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's perfectly valid for a compress to complete without reaching zero rows in the A &amp;amp; D tables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Keep in mind that ArcSDE versioning uses a tree model to represent potential changes to the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;base table -- compress will only reach zero if there are no branches. You need to examine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the tree to see is any states are locked; once the "tree" is a "linked list" all deltas will be&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;transferred to the base tables by the next compress.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking from your Oracle client, identify the table, then look at its indexes; this is one way&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(of many) to determine the numeric suffix on the A&amp;amp;D tables.&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>Wed, 14 Dec 2011 18:12:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503210#M28509</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-12-14T18:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need to refresh table views after SDE edits?</title>
      <link>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503211#M28510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you please expand on this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"You need to examine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the tree to see is any states are locked; once the "tree" is a "linked list" all deltas will be&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;transferred to the base tables by the next compress."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To my understanding, I need to get the SDE.DEFAULT State_ID back to 0, which I understand indicates all deltas will have been transferred to the base tables.&amp;nbsp; This is the underlying problem - the SDE layers reflect changes, but the table views (which I believe reference the base tables in Oracle and not SDE) do not see the changes.&amp;nbsp; Once the deltas are back to base and the State_ID of DEFAULT is 0, my problem should be solved, or so I think...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2011 20:02:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/need-to-refresh-table-views-after-sde-edits/m-p/503211#M28510</guid>
      <dc:creator>MattSimmons</dc:creator>
      <dc:date>2011-12-15T20:02:22Z</dc:date>
    </item>
  </channel>
</rss>

