<?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: How to Compress geodatabase in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/how-to-compress-geodatabase/m-p/653521#M37003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can see if the compress finished successfully or not in the compress_log table in the sde schema. It will also tell you how many states was it able to compress.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Getting all the edits from the delta tables to the base table depends of how your state tree looks. If you are seeing that your default is pointing to state 44, there might be some other versions or something else (replicas, synch versions and so on) are pinning the state tree and preventing flushing of the edits from the delta table to the base table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are the contents of the versions table in the sde schema?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jun 2010 16:01:41 GMT</pubDate>
    <dc:creator>VishalPahuja</dc:creator>
    <dc:date>2010-06-16T16:01:41Z</dc:date>
    <item>
      <title>How to Compress geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-compress-geodatabase/m-p/653520#M37002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;dear experts,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to compress my geodatabase but i dont know wether it has been compressed or not. i have checked using &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdeversion -o describe -V DEFAULT -i 5151 -u sde -p sde it shows that STATE ID is 144.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I have also followed this article "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/content/kbase?fa=articleShow&amp;amp;d=29160" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/content/kbase?fa=articleShow&amp;amp;d=29160&lt;/A&gt;&lt;SPAN&gt;".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is what i did :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Create new feature class&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Register As Versioned&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Do some editings on default version and save &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Compress the geodatabase using catalog or compress using "sdeversion -o compress -N -u sde -p sde -i 5151 -s SERVER1 -D GDB"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I only have SDE as user and i edited the feature class using sde account.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After the compress, the base table is still empty. All edits are still in the A table. All data from A table are moved to base table if I do Unregister As Versioned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;From "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//00290000005v000000.htm" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//00290000005v000000.htm&lt;/A&gt;&lt;SPAN&gt;" it says that : The compress operation removes the states that are no longer referenced by a version and CAN MOVE ROWS IN THE DELTA TABLES TO THE BUSINESS TABLE.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did i do something wrong ? What is the compress actually doing ? Can you give me an example ? I expect that after compress all data from A table will be moved to base table...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My environment : Arcgis 9.3.1, Arcsde 9.3.1, Oracle 10gR2, OS: Vista Business.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 10:44:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-compress-geodatabase/m-p/653520#M37002</guid>
      <dc:creator>tongkimongki</dc:creator>
      <dc:date>2010-06-03T10:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to Compress geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-compress-geodatabase/m-p/653521#M37003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can see if the compress finished successfully or not in the compress_log table in the sde schema. It will also tell you how many states was it able to compress.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Getting all the edits from the delta tables to the base table depends of how your state tree looks. If you are seeing that your default is pointing to state 44, there might be some other versions or something else (replicas, synch versions and so on) are pinning the state tree and preventing flushing of the edits from the delta table to the base table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are the contents of the versions table in the sde schema?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 16:01:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-compress-geodatabase/m-p/653521#M37003</guid>
      <dc:creator>VishalPahuja</dc:creator>
      <dc:date>2010-06-16T16:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to Compress geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-compress-geodatabase/m-p/653522#M37004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your versioned editing workflow will dictate the extent to which the edits would be moved to the business table. For example a) if you have replicas then SDE uses some system versions for replication purposes b) if you have versions which cannot be reconciled/posted at this time they may be pinning the state tree as mentioned by Vishal. I would suggest that you contact Technical Support so that they can look at your versioning workflow and provide information on whether or not you will be able to compress the edits to state 0. Note that compress to state 0 is not a necessity. Based on your end goal, Technical Support may also be able to provide you alternative workflows.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 14:22:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-compress-geodatabase/m-p/653522#M37004</guid>
      <dc:creator>CherylCleghorn</dc:creator>
      <dc:date>2010-06-17T14:22:33Z</dc:date>
    </item>
  </channel>
</rss>

