<?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: maximum limits of Hosted Feature Service in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/maximum-limits-of-hosted-feature-service/m-p/423808#M21389</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;Here are some numbers for online FS:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&amp;gt;maximum number of fields in a hosted feature service&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You can define up to 30K fields per table. But you might have issues in the platform if you define very large number of fields specially when integrating server/offline/online since this involves different geodatabases that have different limits. But the number is sufficiently large and will support 30K limit.&lt;/P&gt;&lt;P&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;-max/min value of Integer (webmap won't allow you to enter anything beyond +/- 999,999,999,999,999 but this may be a UI limit)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Online/server have the limits of the data type value short (esriFieldTypeShort = 2 bytes) versus integer (esriFieldTypeinteger = 4 bytes) versus long (8 bytes = bigint).&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you know the formula is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;max = 2^(n-1) here n=32 for 4 bytes integer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;for instance min/max for esriFieldTypeInteger = [-2,147,483,648, 2,147,483,647&lt;STRONG&gt;]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&amp;gt;-max/min value of Float (webmap won't allow you to enter anything beyond +/- 999,999,999,999,999)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The range is the float (4 bytes, 7 digits precision = esriFieldTypeFloat):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;[- 3.40E + 38, 3.40E + 38]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&amp;gt;-max/min value of double (esriFieldTypeDouble)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;The range is the double (8 byte, 15 digits precision):&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;Very large value:&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN&gt;[- 1.79E+308, 1.79E+308]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&amp;gt;-max/min value of Date (webmap seems to allow 1/1/0100 to 12/31/9999)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Actually this is the limit: 0001-01-01 through 9999-12-31&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&amp;gt;-max length of String (I think this is 2GB or approx 1 billion characters)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;To index a string column in online, the string column needs to be less than 4000 chars.&lt;/P&gt;&lt;P&gt;But if you define the column size = -1 or more than 4000, the max is used (&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;2^30-1&lt;SPAN&gt;&amp;nbsp;number of chars) but you will not be able to add an index on that string column.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&amp;gt;maximum number of attachments (assuming sufficient credits)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;No limits&lt;/P&gt;&lt;P&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&amp;gt;maximum attachment size (assuming sufficient credits)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;Also no limits but we have a 10M limit in the size of the attachment you are adding as a single part attachment from the API. Adding multi part&amp;nbsp;attachment has no limit. So you can add technically add video/etc as a multipart attachment in online. Pl. Let us know if you have this case and we can show best practice of reading such attachments. Pl. note we do support resizing attachment images in online for large size attachment images from the API (w=100 up to w = 2400 and preserving the aspect ratio of the original attachment).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;Hope that helps.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;Khaled&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2018 00:39:23 GMT</pubDate>
    <dc:creator>KhaledHassen</dc:creator>
    <dc:date>2018-07-19T00:39:23Z</dc:date>
    <item>
      <title>maximum limits of Hosted Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/maximum-limits-of-hosted-feature-service/m-p/423807#M21388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anyone know where to find:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-maximum number of fields in a hosted feature service&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-max/min value of Integer (webmap won't allow you to enter anything beyond +/- 999,999,999,999,999 but this may be a UI limit) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-max/min value of Float (webmap won't allow you to enter anything beyond +/- 999,999,999,999,999) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-max/min value of Date (webmap seems to allow 1/1/0100 to 12/31/9999)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-max length of String (I think this is 2GB or approx 1 billion characters)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-maximum number of attachments (assuming sufficient credits) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-maximum attachment size (assuming sufficient credits) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 00:57:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/maximum-limits-of-hosted-feature-service/m-p/423807#M21388</guid>
      <dc:creator>DanMallett</dc:creator>
      <dc:date>2014-03-14T00:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: maximum limits of Hosted Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/maximum-limits-of-hosted-feature-service/m-p/423808#M21389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;Here are some numbers for online FS:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&amp;gt;maximum number of fields in a hosted feature service&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You can define up to 30K fields per table. But you might have issues in the platform if you define very large number of fields specially when integrating server/offline/online since this involves different geodatabases that have different limits. But the number is sufficiently large and will support 30K limit.&lt;/P&gt;&lt;P&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;-max/min value of Integer (webmap won't allow you to enter anything beyond +/- 999,999,999,999,999 but this may be a UI limit)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Online/server have the limits of the data type value short (esriFieldTypeShort = 2 bytes) versus integer (esriFieldTypeinteger = 4 bytes) versus long (8 bytes = bigint).&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you know the formula is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;max = 2^(n-1) here n=32 for 4 bytes integer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;for instance min/max for esriFieldTypeInteger = [-2,147,483,648, 2,147,483,647&lt;STRONG&gt;]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&amp;gt;-max/min value of Float (webmap won't allow you to enter anything beyond +/- 999,999,999,999,999)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The range is the float (4 bytes, 7 digits precision = esriFieldTypeFloat):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;[- 3.40E + 38, 3.40E + 38]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&amp;gt;-max/min value of double (esriFieldTypeDouble)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;The range is the double (8 byte, 15 digits precision):&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;Very large value:&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN&gt;[- 1.79E+308, 1.79E+308]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&amp;gt;-max/min value of Date (webmap seems to allow 1/1/0100 to 12/31/9999)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Actually this is the limit: 0001-01-01 through 9999-12-31&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&amp;gt;-max length of String (I think this is 2GB or approx 1 billion characters)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;To index a string column in online, the string column needs to be less than 4000 chars.&lt;/P&gt;&lt;P&gt;But if you define the column size = -1 or more than 4000, the max is used (&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;2^30-1&lt;SPAN&gt;&amp;nbsp;number of chars) but you will not be able to add an index on that string column.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&amp;gt;maximum number of attachments (assuming sufficient credits)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;No limits&lt;/P&gt;&lt;P&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&amp;gt;maximum attachment size (assuming sufficient credits)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;Also no limits but we have a 10M limit in the size of the attachment you are adding as a single part attachment from the API. Adding multi part&amp;nbsp;attachment has no limit. So you can add technically add video/etc as a multipart attachment in online. Pl. Let us know if you have this case and we can show best practice of reading such attachments. Pl. note we do support resizing attachment images in online for large size attachment images from the API (w=100 up to w = 2400 and preserving the aspect ratio of the original attachment).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;Hope that helps.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;Khaled&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 00:39:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/maximum-limits-of-hosted-feature-service/m-p/423808#M21389</guid>
      <dc:creator>KhaledHassen</dc:creator>
      <dc:date>2018-07-19T00:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: maximum limits of Hosted Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/maximum-limits-of-hosted-feature-service/m-p/1661347#M66823</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/148945"&gt;@KhaledHassen&lt;/a&gt;&amp;nbsp;It would be useful to have a single authoritative document that lists all of the limitations, as I just came across this document that says only 1024 columns can be shared from pro to AGOL...&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/sharing/analyzer-error-messages/00386-the-number-of-fields-in-layer-exceeds-the-limit.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/sharing/analyzer-error-messages/00386-the-number-of-fields-in-layer-exceeds-the-limit.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also found this that says 655,346 columns per fgdb table&amp;nbsp;&lt;A href="https://support.esri.com/en-us/knowledge-base/is-there-a-limit-to-the-number-of-fields-that-can-be-ad-000002952" target="_blank"&gt;https://support.esri.com/en-us/knowledge-base/is-there-a-limit-to-the-number-of-fields-that-can-be-ad-000002952&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While this one says 65,534 columns per fgdb table &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-file-gdb/file-geodatabase-size-and-name-limits.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-file-gdb/file-geodatabase-size-and-name-limits.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would guess AGOL supports more columns by uploading a fgdb item and created a feature service from that as compared to publishing it from an aprx file?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 15:19:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/maximum-limits-of-hosted-feature-service/m-p/1661347#M66823</guid>
      <dc:creator>drunneals_cgs</dc:creator>
      <dc:date>2025-10-28T15:19:18Z</dc:date>
    </item>
  </channel>
</rss>

