<?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: Failed Compress - mvtables in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/failed-compress-mvtables/m-p/503513#M28542</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: crafty762&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible for you to restart your MSSQL Server instance on the database server?&amp;nbsp; We use Oracle, but we've seen similar errors when our DBMS pipes do not use the next correct number for something like object ID.&amp;nbsp; This can occur if you've truncated a table and re-loaded it from another source.&amp;nbsp; Restarting Oracle for us allows the pipes to be cleared out.&amp;nbsp; Perhaps this issue also occurs with SQL Server.&amp;nbsp; I'm sorry I don't have a better explanation than this, but it may be helpful to you.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another thing you can do is to drop the MV view, perform the compress, and then re-create it (you can script this too).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Sep 2013 01:22:11 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2013-09-13T01:22:11Z</dc:date>
    <item>
      <title>Failed Compress - mvtables</title>
      <link>https://community.esri.com/t5/data-management-questions/failed-compress-mvtables/m-p/503512#M28541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: JoeBrowns&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SDE version 9.3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL Server 2008&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DBMS table not found [Microsoft OLE DB Provider for SQL Server: Violation of PRIMARY KEY constraint 'mvtables_modified_pk'. Cannot insert duplicate key in object 'SDE_mvtables_modified'.] [sde.DEFAULT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (Compress).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I know what the PK violation means I'm just wondering how I found out what insert is causing it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 15:20:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/failed-compress-mvtables/m-p/503512#M28541</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-08-20T15:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Failed Compress - mvtables</title>
      <link>https://community.esri.com/t5/data-management-questions/failed-compress-mvtables/m-p/503513#M28542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: crafty762&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible for you to restart your MSSQL Server instance on the database server?&amp;nbsp; We use Oracle, but we've seen similar errors when our DBMS pipes do not use the next correct number for something like object ID.&amp;nbsp; This can occur if you've truncated a table and re-loaded it from another source.&amp;nbsp; Restarting Oracle for us allows the pipes to be cleared out.&amp;nbsp; Perhaps this issue also occurs with SQL Server.&amp;nbsp; I'm sorry I don't have a better explanation than this, but it may be helpful to you.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another thing you can do is to drop the MV view, perform the compress, and then re-create it (you can script this too).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 01:22:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/failed-compress-mvtables/m-p/503513#M28542</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-09-13T01:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Failed Compress - mvtables</title>
      <link>https://community.esri.com/t5/data-management-questions/failed-compress-mvtables/m-p/503514#M28543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;do the compress again, and then immediately check your ArcSDE logs (the logs will give you clearer indication).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, you will need to use &lt;/SPAN&gt;&lt;SPAN style="color:&amp;quot;#FF0000&amp;quot;;"&gt;sdegdbrepair &lt;/SPAN&gt;&lt;SPAN&gt;command to fix the constraint issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for reference please check this esri documentation: &lt;/SPAN&gt;&lt;STRONG&gt;&lt;A href="http://support.esri.com/fr/knowledgebase/techarticles/detail/35298" rel="nofollow"&gt;http://support.esri.com/fr/knowledgebase/techarticles/detail/35298&lt;/A&gt;&lt;/STRONG&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 09:17:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/failed-compress-mvtables/m-p/503514#M28543</guid>
      <dc:creator>EmadAl-Mousa</dc:creator>
      <dc:date>2013-09-13T09:17:17Z</dc:date>
    </item>
  </channel>
</rss>

