<?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: Will registering a view with an enterprise geodatabase improve performance? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/will-registering-a-view-with-an-enterprise/m-p/751521#M28537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adding a broader audience; &lt;A href="https://community.esri.com/group/1680"&gt;Geodatabase&lt;/A&gt;‌&amp;nbsp; &lt;A href="https://community.esri.com/space/2053"&gt;Enterprise GIS&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2020 14:20:27 GMT</pubDate>
    <dc:creator>George_Thompson</dc:creator>
    <dc:date>2020-05-12T14:20:27Z</dc:date>
    <item>
      <title>Will registering a view with an enterprise geodatabase improve performance?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/will-registering-a-view-with-an-enterprise/m-p/751520#M28536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone - Pretty basic question.&amp;nbsp; Will registering a view that was created outside of ArcGIS improve rendering performance?&amp;nbsp; I see &lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/registering-a-table-with-the-geodatabase.htm"&gt;here&lt;/A&gt;&amp;nbsp;a mention that "h&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;aving spatial information stored in geodatabase system tables improves performance times when adding the table or view to a map."&amp;nbsp; But, that's all I can find on the subject.&amp;nbsp; Could someone briefly explain the mechanics behind this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;The situation is that we have analysts creating web apps and dashboards directly from SQL Server views.&amp;nbsp; Our group makes extensive use of SQL views but does not take advantage of registering them.&amp;nbsp; They have complained about the rendering performance, and I'm wondering if registering the view will make any noticeable difference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;I'm just looking for some information that I can take to my colleagues rather than try to have the DBO user run a series of tests.&amp;nbsp; (I personally don't have the ability to register tables and views on this particular database.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;Ryan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 14:17:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/will-registering-a-view-with-an-enterprise/m-p/751520#M28536</guid>
      <dc:creator>RyanDavis1</dc:creator>
      <dc:date>2020-05-12T14:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Will registering a view with an enterprise geodatabase improve performance?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/will-registering-a-view-with-an-enterprise/m-p/751521#M28537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adding a broader audience; &lt;A href="https://community.esri.com/group/1680"&gt;Geodatabase&lt;/A&gt;‌&amp;nbsp; &lt;A href="https://community.esri.com/space/2053"&gt;Enterprise GIS&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 14:20:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/will-registering-a-view-with-an-enterprise/m-p/751521#M28537</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2020-05-12T14:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Will registering a view with an enterprise geodatabase improve performance?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/will-registering-a-view-with-an-enterprise/m-p/751522#M28538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Behind the scenes, an unregistered view will be nested within a subquery.&amp;nbsp;The reason that this happens is so the software can evaluate the SQL statement for metadata about the data in the view. Here is an illustration of what you might see in the SQL database trace:&lt;/P&gt;&lt;PRE class="line-numbers language-sql"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;SELECT&lt;/SPAN&gt; OID&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; SHAPE &lt;SPAN class="keyword token"&gt;FROM&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;FROM&lt;/SPAN&gt; MY&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;VIEW&lt;/SPAN&gt;‍&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;WHERE&lt;/SPAN&gt; OID &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;By registering the view with the geodatabase, the metadata gets stored within the geodatabase repository so that subsequent calls do not require ArcGIS to gather the metadata. The act of registering the view will remove the need for the nested query. Therefore, the execution plan in the database will have fewer steps and performance should be comparably better than the unregistered view.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2020 19:36:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/will-registering-a-view-with-an-enterprise/m-p/751522#M28538</guid>
      <dc:creator>ChristianWells</dc:creator>
      <dc:date>2020-08-11T19:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Will registering a view with an enterprise geodatabase improve performance?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/will-registering-a-view-with-an-enterprise/m-p/751523#M28539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Christian.&amp;nbsp; Your reply makes a lot of sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2020 20:39:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/will-registering-a-view-with-an-enterprise/m-p/751523#M28539</guid>
      <dc:creator>RyanDavis1</dc:creator>
      <dc:date>2020-08-11T20:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Will registering a view with an enterprise geodatabase improve performance?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/will-registering-a-view-with-an-enterprise/m-p/751524#M28540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome - I'm glad this was helpful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2020 20:47:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/will-registering-a-view-with-an-enterprise/m-p/751524#M28540</guid>
      <dc:creator>ChristianWells</dc:creator>
      <dc:date>2020-08-11T20:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Will registering a view with an enterprise geodatabase improve performance?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/will-registering-a-view-with-an-enterprise/m-p/751525#M28541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Knowing that performance is improved by registering spatial table or view with enterprise geodatabase is good to know... However, is it possible to register a table or view directly with a sde command in a third party SQL client? ...instead of the regular Register with Geodatase tool in the toolbox... This is just to improve workflows...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2020 13:09:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/will-registering-a-view-with-an-enterprise/m-p/751525#M28541</guid>
      <dc:creator>VincentLaunstorfer</dc:creator>
      <dc:date>2020-09-03T13:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Will registering a view with an enterprise geodatabase improve performance?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/will-registering-a-view-with-an-enterprise/m-p/1049994#M29993</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Question about registering a view in an enterprise GDB: how is it possible to have a NOT NULLABLE ObjectID field to register a view into an Enterprise GDB?&lt;/P&gt;&lt;P&gt;Usually, a view will inherit settings from the base table, in the case of a table with an ObjectID field NOT NULLABLE, the ObjectID field in the view should/will be NOT NULLABLE.&lt;/P&gt;&lt;P&gt;On the other hand, if the view is built-up with a third-party SQL client, with an ObjectID built from a CAST() SQL statment, how to specify that this ObjectID field will be NOT NULLABLE?&lt;/P&gt;&lt;P&gt;I need this NOT NULLABLE ObjectID field in my view in order to register the view with an Enterprise GDB, as explained here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/register-a-table-or-view-with-the-geodatabase.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/register-a-table-or-view-with-the-geodatabase.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So far, I managed to built an ObjectID field as an Integer in Oracle, recognized as Long in ESRI ArcGIS. But I still get an error when trying to register the view in Enterprise GDB... and I suspect with NOT NULLABLE ObjectID field in my view...&lt;/P&gt;&lt;P&gt;Any help really appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 09:52:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/will-registering-a-view-with-an-enterprise/m-p/1049994#M29993</guid>
      <dc:creator>VincentLaunstorfer</dc:creator>
      <dc:date>2021-04-22T09:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Will registering a view with an enterprise geodatabase improve performance?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/will-registering-a-view-with-an-enterprise/m-p/1050088#M29996</link>
      <description>&lt;P&gt;In addition to my post above, I tried to Register the same view, but created as a table and I still receive the "unexpected error... The view's registered base layer was not found." It does not make sense because it is a table now...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 14:28:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/will-registering-a-view-with-an-enterprise/m-p/1050088#M29996</guid>
      <dc:creator>VincentLaunstorfer</dc:creator>
      <dc:date>2021-04-22T14:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Will registering a view with an enterprise geodatabase improve performance?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/will-registering-a-view-with-an-enterprise/m-p/1357409#M37885</link>
      <description>&lt;P&gt;You can write your SQL statement (in the SELECT line) to include the following...&lt;/P&gt;&lt;P&gt;SELECT&amp;nbsp; ISNULL(CAST(ROW_NUMBER() OVER&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ORDER BY (SELECT NULL)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ) AS int), -1) AS vwObjectID [you can call the OID whatever you like]&lt;/P&gt;&lt;P&gt;what this SQL statement does is use the databases Row Number function, Is Null function and Cast to assign a unique/not null integer row value for each record in the view.&lt;/P&gt;&lt;P&gt;Hope this helps!?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 15:52:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/will-registering-a-view-with-an-enterprise/m-p/1357409#M37885</guid>
      <dc:creator>DonSjoboen</dc:creator>
      <dc:date>2023-12-06T15:52:18Z</dc:date>
    </item>
  </channel>
</rss>

