﻿{"id":8191,"date":"2019-02-28T02:00:51","date_gmt":"2019-02-28T01:00:51","guid":{"rendered":"http:\/\/www.sigterritoires.fr\/?p=8191"},"modified":"2019-02-28T06:45:08","modified_gmt":"2019-02-28T05:45:08","slug":"job-optimizing-with-arc-gis-geodatabases-3-compacting","status":"publish","type":"post","link":"https:\/\/www.sigterritoires.fr\/index.php\/en\/job-optimizing-with-arc-gis-geodatabases-3-compacting\/","title":{"rendered":"Job optimizing with Arc Gis Geodatabases : 3- Compacting"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Most users are satisfied\nwith the passage of shape files to the ArcGis geodatabase . However\n, they notice a decrease in performance after editing heavy sessions.\nTheir issue is how to correctthis problem.\nWe will discuss in\nthis\narticle the concept of compacting a geodatabase\n. As compression ( see <a href=\"https:\/\/translate.google.com\/translate?hl=fr&amp;prev=_t&amp;sl=fr&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/%3Fp%3D283\">&nbsp;with ArcGis 2- Geodabases Compression <\/a>&nbsp;&nbsp;),\ncompacting reduces the size of the ArcGIS geodatabase\nin\norder to speed up requests . However , compacting works\ndifferently\ncompared to compression. <br>\nExcept\nin\nloss compression, the compression, generally, erases\nno\ndata byte from the geodatabase . It re-groups the data bytes\naccording\nto the redundancy of information : if you have\nten lines with the value \u00ab\u00a08\u00a0\u00bb, the compression will keep 10 (8)\ninstead of 8 8 8 8 8 8 8 8 8 8. <br>\nDuring\ncompacting, the process physically removes\nand\ncleans up the orphan (useless) records . <br>\nWe\nwill show how to compact, but we must, firstly, understand\nwhat\nhappens when editing &nbsp;the\ngeodatabase . <\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">When you delete\na record , obviously , you could think\nthat these records are,\nfinally,\ndeleted\nand that the sequence of records in the table go is taken to the next level to\nfill the hole . However , this is\nnot exactly what happens; these\nrecords\nare\nsimply\nmarked\nas\nbeing\ndeleted\nin\nthe geodatabase . If it were necessary to\nreset\nall\nthe records at each update &nbsp;the editing would take too much time.\nThis\nis why the software only marks the records as\ndeleted\nand\nignores these recordings in\nall\nfuture requests. So what happens\nwhen you try to locate a record ?\nThe\nprogram must browse all the\nrecords and, if the record is\nmarked as erased it\nadvances to the next , otherwise it checks whether &nbsp;it matches the request or not . <br>\nAlthough\nthey are deleted , they are ,\nin a way , the reason for the slowing down of the query. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So how does the compacting\nexactly work? As you\nwill\nhave, already, guessed , compacting performs\nthe removal of these recordings and\nall\nthe others orphans who are not being used\nor\nreferenced\nby others objects . This is why\ncompacting speeds up geodatabases file and personal &nbsp;(access) queries. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It&rsquo;s easy to compact a geodatabase file\nor\naccess. It is recommended\nto compact a geodatabase after a heavy\nediting session. <br>\nTo\ncompact a geodatabase file or access,\nperform the following steps: <br>\n<strong>1.<\/strong> <strong>Open<\/strong> <strong>ArcCatalog and<\/strong> <strong>select<\/strong> <strong>the<\/strong>\n<strong>geodatabase<\/strong> <strong>to compact.<\/strong> <br>\n<strong>2.<\/strong> <strong>Right-<\/strong> <strong>click<\/strong> <strong>to<\/strong> <strong>open<\/strong> <strong>the<\/strong>\n<strong>context<\/strong> <strong>menu<\/strong> <strong>,<\/strong> <strong>select<\/strong> <strong>Administration,<\/strong> <strong>then<\/strong>\n<strong>click<\/strong> <strong>Compact<\/strong> <strong>Geodatabase<\/strong>\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are no counter indications for compacting .\nIt is somehow like the hard disk\ndefragmentation: it does not accelerate if it is\nnot necessary but it\ndoes not slow down the processing. <br>\nFor\nmore information, please 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\/\/018s0000000s000000#\/\/018s0000000s000000\">ArcGIs\nOnline Help(ESRI)<\/a> \n\nIn the following (and final) article\nwe will discuss how to perform the compacting and the geodatabases saving with\na single click\nby\nsetting up a processing model with Model Builder.\n\n\n\n<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/www.sigterritoires.fr\/?attachment_id=301\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"359\" data-attachment-id=\"301\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/optimisation-du-travail-avec-les-geodatabases-arcgis-3-compactage\/model1\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/model1.png?fit=925%2C528&amp;ssl=1\" data-orig-size=\"925,528\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"model1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/model1.png?fit=630%2C359&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/model1-630x359.png?resize=630%2C359\" alt=\"\" class=\"wp-image-301\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/model1.png?resize=630%2C359&amp;ssl=1 630w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/model1.png?resize=300%2C171&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/model1.png?w=925&amp;ssl=1 925w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/a><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Most users are satisfied with the passage of shape files to the ArcGis geodatabase . However , they notice a decrease in performance after editing heavy sessions. Their issue is how to correctthis problem. We will&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_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":"","jetpack_post_was_ever_published":false},"categories":[1260],"tags":[],"class_list":["post-8191","post","type-post","status-publish","format-standard","hentry","category-non-classe-en"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p6XU0A-287","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/8191","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=8191"}],"version-history":[{"count":0,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/8191\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media?parent=8191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/categories?post=8191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/tags?post=8191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}