<?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>question Max number of databases and tables allowed in Hive Metastore in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Max-number-of-databases-and-tables-allowed-in-Hive-Metastore/m-p/351053#M236133</link>
    <description>&lt;P&gt;Crossposting from:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/73441453/maximum-number-of-databases-and-tables-in-hive-metastore" target="_blank"&gt;Stack Overflow&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(I will respond and give updates on both places)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I would like to know if there is also maximum number for items below:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Maximum number of databases in a catalog (I assume Hive Metastore only has one catalog, which is "hive")&lt;/LI&gt;&lt;LI&gt;Maximum number of tables per database (as in, can I create 10 million tables in a database or due to limitation must I split them into 10 databases each with 1 million tables)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I also would like to know whether the limitations are hard limit (unconfigurable), or configurable by Hive, or dependent on RDBMS it is using.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2022 08:30:42 GMT</pubDate>
    <dc:creator>felixnc</dc:creator>
    <dc:date>2022-08-29T08:30:42Z</dc:date>
    <item>
      <title>Max number of databases and tables allowed in Hive Metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Max-number-of-databases-and-tables-allowed-in-Hive-Metastore/m-p/351053#M236133</link>
      <description>&lt;P&gt;Crossposting from:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/73441453/maximum-number-of-databases-and-tables-in-hive-metastore" target="_blank"&gt;Stack Overflow&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(I will respond and give updates on both places)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I would like to know if there is also maximum number for items below:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Maximum number of databases in a catalog (I assume Hive Metastore only has one catalog, which is "hive")&lt;/LI&gt;&lt;LI&gt;Maximum number of tables per database (as in, can I create 10 million tables in a database or due to limitation must I split them into 10 databases each with 1 million tables)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I also would like to know whether the limitations are hard limit (unconfigurable), or configurable by Hive, or dependent on RDBMS it is using.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 08:30:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Max-number-of-databases-and-tables-allowed-in-Hive-Metastore/m-p/351053#M236133</guid>
      <dc:creator>felixnc</dc:creator>
      <dc:date>2022-08-29T08:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Max number of databases and tables allowed in Hive Metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Max-number-of-databases-and-tables-allowed-in-Hive-Metastore/m-p/351061#M236135</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;There's no limit about the number of databases in Hive metastore. As a good practice we do not recommend to create tables with more than 10,0000 partitions.&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;In my opinion, you shouldn't have problem with 2,000 tables. You can expect to have some type of performance issues if you have a total number object greater than 500,000 and&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;there's no a hard limit about the number of Hive/Impala databases/tables&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;that you can have in the cluster.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Regards,&lt;/P&gt;&lt;P class="p1"&gt;Chethan YM&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 10:43:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Max-number-of-databases-and-tables-allowed-in-Hive-Metastore/m-p/351061#M236135</guid>
      <dc:creator>ChethanYM</dc:creator>
      <dc:date>2022-08-29T10:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Max number of databases and tables allowed in Hive Metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Max-number-of-databases-and-tables-allowed-in-Hive-Metastore/m-p/351064#M236138</link>
      <description>&lt;P&gt;Thank you for the explanation. To clarify, what is the definition of "total number object"? Does it refer to total of "metadata objects", as defined in this page about &lt;A href="https://cwiki.apache.org/confluence/plugins/servlet/mobile?contentId=27362072#content/view/27362072" target="_blank" rel="noopener"&gt;Hive Design&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 11:33:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Max-number-of-databases-and-tables-allowed-in-Hive-Metastore/m-p/351064#M236138</guid>
      <dc:creator>felixnc</dc:creator>
      <dc:date>2022-08-29T11:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Max number of databases and tables allowed in Hive Metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Max-number-of-databases-and-tables-allowed-in-Hive-Metastore/m-p/351069#M236141</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes,&amp;nbsp;&lt;SPAN&gt;Hive metastore is a&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;component that stores all the structure information(metadata) of objects like tables and partitions in the warehouse including column and column type information etc...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Chethan YM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Note: If this answered your question&amp;nbsp;please accept the reply as a solution.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 12:07:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Max-number-of-databases-and-tables-allowed-in-Hive-Metastore/m-p/351069#M236141</guid>
      <dc:creator>ChethanYM</dc:creator>
      <dc:date>2022-08-29T12:07:37Z</dc:date>
    </item>
  </channel>
</rss>

