<?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: GUID AND GEODATABASE in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/guid-and-geodatabase/m-p/695255#M39513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Asking an opinion of GUIDs is like asking an opinion of 4-byte integers -- context is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;everything, and you haven't provided one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wouldn't recommend using primary keys at all in a geodatabase (or more properly,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;leave it to the geodatabase to decide the key for registered tables).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The primary benefit of a UUID is that it's very unlikely to appear multiple times in a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;database.&amp;nbsp; This makes the type useful for uniquely identifying rows outside the context&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of tables, but that benefit comes at a cost -- a large storage footprint (16 bytes in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL-Server, 38 in the other ArcSDE-supporting databases), measurable generation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;time, and it's randomly ordered (causing index [and possibly table] fragmentation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; on insert).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A registered rowid column (objectid) is a 4-byte integer; compared to GUIDs, it will&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;be faster, smaller, and won't fragement your tables and indexes on sequential insert.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then again, if the tables are small (under 50,000 rows) none of the differences really&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; matter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Feb 2013 18:11:07 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2013-02-11T18:11:07Z</dc:date>
    <item>
      <title>GUID AND GEODATABASE</title>
      <link>https://community.esri.com/t5/data-management-questions/guid-and-geodatabase/m-p/695254#M39512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good day.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have some questions for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First i want to know,&amp;nbsp; what do you think about GIUD ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Second. Can you use GUID as primary key, when you were designing geodatabase ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Third. Is the GUID best than ObjectID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Biliev mr, it is very important for me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 17:32:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/guid-and-geodatabase/m-p/695254#M39512</guid>
      <dc:creator>AlesgerMammedov1</dc:creator>
      <dc:date>2013-02-11T17:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: GUID AND GEODATABASE</title>
      <link>https://community.esri.com/t5/data-management-questions/guid-and-geodatabase/m-p/695255#M39513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Asking an opinion of GUIDs is like asking an opinion of 4-byte integers -- context is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;everything, and you haven't provided one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wouldn't recommend using primary keys at all in a geodatabase (or more properly,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;leave it to the geodatabase to decide the key for registered tables).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The primary benefit of a UUID is that it's very unlikely to appear multiple times in a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;database.&amp;nbsp; This makes the type useful for uniquely identifying rows outside the context&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of tables, but that benefit comes at a cost -- a large storage footprint (16 bytes in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL-Server, 38 in the other ArcSDE-supporting databases), measurable generation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;time, and it's randomly ordered (causing index [and possibly table] fragmentation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; on insert).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A registered rowid column (objectid) is a 4-byte integer; compared to GUIDs, it will&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;be faster, smaller, and won't fragement your tables and indexes on sequential insert.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then again, if the tables are small (under 50,000 rows) none of the differences really&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; matter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 18:11:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/guid-and-geodatabase/m-p/695255#M39513</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-02-11T18:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: GUID AND GEODATABASE</title>
      <link>https://community.esri.com/t5/data-management-questions/guid-and-geodatabase/m-p/695256#M39514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much for your ansver.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But i don't undertand, what does it mean --&amp;gt; wouldn't recommend using primary keys at all in a geodatabase&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example if i will create geodatabase for emergency cituation, which primary key do you recommend me ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And i exactly know, that table will be store more 50 000 rows.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 08:06:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/guid-and-geodatabase/m-p/695256#M39514</guid>
      <dc:creator>AlesgerMammedov1</dc:creator>
      <dc:date>2013-02-15T08:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: GUID AND GEODATABASE</title>
      <link>https://community.esri.com/t5/data-management-questions/guid-and-geodatabase/m-p/695257#M39515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Primary keys have costs associated with them.&amp;nbsp; I haven't seen a situation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where the benefits of using a primary key outweighed the costs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since GUIDs are random in nature, it would be foolish to organize a table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(clustered index) on GUID -- this would assure worst possible drawing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;performance (spatial fragmentation).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 10:21:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/guid-and-geodatabase/m-p/695257#M39515</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-02-15T10:21:52Z</dc:date>
    </item>
  </channel>
</rss>

