﻿{"id":8188,"date":"2019-02-27T00:30:49","date_gmt":"2019-02-26T23:30:49","guid":{"rendered":"http:\/\/www.sigterritoires.fr\/?p=8188"},"modified":"2019-02-27T08:42:52","modified_gmt":"2019-02-27T07:42:52","slug":"job-optimization-with-arcgis-geodatabases-2-compression","status":"publish","type":"post","link":"https:\/\/www.sigterritoires.fr\/index.php\/en\/job-optimization-with-arcgis-geodatabases-2-compression\/","title":{"rendered":"Job optimization with ArcGis Geodatabases: 2-Compression"},"content":{"rendered":"\n<p><strong>The different\ntypes of geodatabases<\/strong> <\/p>\n\n\n\n<p>A little reminder before continuing, there is not just one\ngeodatabase but several. There are personal geodatabases\nand enterprise geodatabases. <br>\nPersonal\ngeodatabases can be created with ArcCatalog in your computer, or in a network\ndrive. There are two available formats: the personal geodatabase\nthat uses an Access format and the file geodatabase that uses an ESRI brand\nformat. <br>\nTo\ncreate an enterprise geodatabase you will need to use ArcSDE and the format\ndepends on the DBMS being used (Oracle, for example). <br>\nIn\nthis article, we will not discuss the enterprise geodatabases. <br>\nWhile\nthere are two formats of personal geodatabases, we will discuss the file geodatabases\nbecause the access databases just maintain compatibility with the old\ngeodatabases. Indeed, the geodatabase of the\nArcGis first version used the format Access, but the use constraints (limitation\nto 2Go for the size, etc) led ESRI to develop its own format. Currently\nthere is no valid reason to keep on creating access geodatabases.\n<br>\nIt\nis rather important not to confuse the compression of a file geodatabase with\nthe compression of an enterprise geodatabase (which is outside the scope of\nthis article). Compressing a file geodatabase\ndoes not delete the data it contains. However,\nit prevents the content from being updated. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p><strong>Compression of a file\ngeodatabase<\/strong> <\/p>\n\n\n\n<p>Do not confuse compression and compaction. We\nwill discuss compaction in a next article (Job optimization with ArcGis 3-\nGeodatabases Compaction). Compressing a geodatabase is\nlike compressing an image: the only goal is to save disk space by reducing its\nsize. <br>\nWhen\ncompressed, the geodatabase is marked as read-only. This\nmeans that you will not be able to perform any editing operation on the\ngeodatabase. If you try to use ArcMap to\nmodify it, you will get a message saying there is no editable layer and that\nthe geodatabase is compressed. <br>\nTo\ncompress a file geodatabase, perform the following steps: <br>\n<strong>1. Open ArcCatalog.<\/strong> <br>\n<strong>2. Locate and right-click the file geodatabase, check\nAdministration, and then click Compress file geodatabase.<\/strong> <br>\nYou\nwill notice the existence of the inverse command (Uncompressing a file\ngeodatabase) that allows to restore the original geodatabase and to edit it.\n<br>\nThe\nonly option in the Compression window is a \u00ab\u00a0Lossless Compression\u00a0\u00bb\ncheck box. <br>\nThe\ncompression operation may be performed with or without loss of data.\nLoss compression was the only option available before ArcGIS\n10.0 file geodatabases. For geodatabases that run on\nversions 10 and later, you have two options: lossless and loss compression.\n<br>\nDo\nnot ask me what can be used for data loss compression, for a database manager\nit&rsquo;s heresy! <br>\n<strong>Loss compression<\/strong> is the process by which the content\nis compressed while losing some of its content. It&rsquo;s\nan irreversible operation. This is what can be done with\nimage compressions where, from a certain degree of compression there has been\nlost some definition of the image. On\nthe other hand for attributesdata it is absolutely necessary to avoid this type\nof compression. <br>\n<strong>Lossless compression<\/strong> compresses the content while\npreserving the data. It&rsquo;s a reversible operation.\n<br>\nCompression\ncan be used to save a lot of disk space, especially for geodatabases with a\nlarge number of entities. If the geodatabase is mature\nenough and has not been modified for a long time, it is advisable to use\nlossless compression to reduce its size. <br>\nBefore\nusing compression, always remember to create a backup of your file geodatabase.\n<strong>Compression can sometimes corrupt the geodatabase and make\nit inaccessible.<\/strong> <br>\nFor\nmore information on how to compress ArcGis geodatabases, visit the <a href=\"https:\/\/translate.google.com\/translate?hl=fr&amp;prev=_t&amp;sl=fr&amp;tl=en&amp;u=http:\/\/resources.arcgis.com\/fr\/help\/main\/10.1\/index.html%23\/\/003n000000s5000000#\/\/003n000000s5000000\">ArcGis\nOnline Help (ESRI)<\/a> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>The different types of geodatabases A little reminder before continuing, there is not just one geodatabase but several. There are personal geodatabases and enterprise geodatabases. Personal geodatabases can be created with ArcCatalog in your computer, or&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"give_campaign_id":0,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1260],"tags":[],"class_list":["post-8188","post","type-post","status-publish","format-standard","hentry","category-non-classe-en"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p6XU0A-284","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/8188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/comments?post=8188"}],"version-history":[{"count":0,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/8188\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media?parent=8188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/categories?post=8188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/tags?post=8188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}