<?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>article Recommended practice on configuration for Qlik Sense in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Recommended-practice-on-configuration-for-Qlik-Sense/ta-p/1711222</link>
    <description>&lt;P&gt;This article provides a list of the best practices for Qlik Sense configuration. It is worth implementing each item, especially for a large environment so that your database can handle the volume of requests coming from all its connected nodes.&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Max Connections&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;For basic information, see &lt;A href="https://help.qlik.com/en-US/sense-admin/February2024/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Installing-Qlik-Sense-multi-node.htm#:~:text=0.0.0.0/0%2C%3A%3A/0-,Max%20connections,-Specifies%20the%20maximum" target="_blank" rel="noopener"&gt;Max Connections&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Specifies the maximum number of&amp;nbsp;concurrent connections (&lt;STRONG&gt;max_connections&lt;/STRONG&gt;)&amp;nbsp;to the database. The default value for a single server is &lt;EM&gt;100&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;In a multi-node environment, this should be adjusted to the sum of all repository connection pools + &lt;EM&gt;20&lt;/EM&gt;. By default, this value is &lt;EM&gt;110&lt;/EM&gt; per node.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assuming&amp;nbsp;&lt;EM&gt;two nodes&amp;nbsp;&lt;/EM&gt;and assuming the&amp;nbsp;&lt;EM&gt;default value&amp;nbsp;&lt;/EM&gt;of &lt;EM&gt;110&lt;/EM&gt; per node, the value would be &lt;EM&gt;240&lt;/EM&gt;.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all of the Qlik Sense services&lt;/LI&gt;
&lt;LI&gt;Open &lt;FONT face="courier new,courier"&gt;C:\ProgramData\Qlik\Sense\Repository\PostgreSQL\X.X\postgresql.conf&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Set max_connections = &lt;FONT face="courier new,courier"&gt;110&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Save the file&lt;/LI&gt;
&lt;LI&gt;Restart all of the Qlik Sense Services&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PostgresSQL_Max_connections.gif" style="width: 800px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55197i162439B5CDEBB9F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="PostgresSQL_Max_connections.gif" alt="PostgresSQL_Max_connections.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;How to determine the Database Max Pool&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;The value of &lt;EM&gt;110&lt;/EM&gt; above is a default example. You can further refine the value.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The connection pool for the Qlik Sense Repository is always based on core count on the machine. To date, our advise is to take the core count of your machine and multiply it by five. This will be your max connection pool for the Repository Service for that node. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;T&lt;/SPAN&gt;&lt;SPAN&gt;his should be a factor of CPU cores multiplied by five. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If 90 is higher than that result, leave 90 in place. Never decrease it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;For more information about Database Max Pool Size Connection, see&amp;nbsp;&lt;SPAN&gt;&lt;SPAN&gt;&lt;A href="https://wiki.postgresql.org/wiki/Number_Of_Database_Connections" target="_blank" rel="noopener"&gt;https://wiki.postgresql.org/wiki/Number_Of_Database_Connections&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Related Content:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://community.qlik.com/t5/Knowledge/Optimizing-Performance-for-Qlik-Sense-Enterprise/ta-p/1858594" target="_blank" rel="noopener"&gt;Optimizing Performance for Qlik Sense Enterprise &lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Knowledge/PostgreSQL-postgresql-conf-and-pg-hba-conf-explained/ta-p/1713744" target="_blank" rel="noopener"&gt;PostgreSQL: postgresql.conf and pg_hba.conf explained &lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Database-connection-max-pool-reached-in-Qlik-Sense-Enterprise-on/ta-p/1716413" target="_blank" rel="noopener"&gt;Database connection max pool reached in Qlik Sense Enterprise on Windows&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2024 11:46:33 GMT</pubDate>
    <dc:creator>Yoichi_Hirotake</dc:creator>
    <dc:date>2024-02-20T11:46:33Z</dc:date>
    <item>
      <title>Recommended practice on configuration for Qlik Sense</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Recommended-practice-on-configuration-for-Qlik-Sense/ta-p/1711222</link>
      <description>&lt;P&gt;This article provides a list of the best practices for Qlik Sense configuration. It is worth implementing each item, especially for a large environment so that your database can handle the volume of requests coming from all its connected nodes.&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Max Connections&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;For basic information, see &lt;A href="https://help.qlik.com/en-US/sense-admin/February2024/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Installing-Qlik-Sense-multi-node.htm#:~:text=0.0.0.0/0%2C%3A%3A/0-,Max%20connections,-Specifies%20the%20maximum" target="_blank" rel="noopener"&gt;Max Connections&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Specifies the maximum number of&amp;nbsp;concurrent connections (&lt;STRONG&gt;max_connections&lt;/STRONG&gt;)&amp;nbsp;to the database. The default value for a single server is &lt;EM&gt;100&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;In a multi-node environment, this should be adjusted to the sum of all repository connection pools + &lt;EM&gt;20&lt;/EM&gt;. By default, this value is &lt;EM&gt;110&lt;/EM&gt; per node.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assuming&amp;nbsp;&lt;EM&gt;two nodes&amp;nbsp;&lt;/EM&gt;and assuming the&amp;nbsp;&lt;EM&gt;default value&amp;nbsp;&lt;/EM&gt;of &lt;EM&gt;110&lt;/EM&gt; per node, the value would be &lt;EM&gt;240&lt;/EM&gt;.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all of the Qlik Sense services&lt;/LI&gt;
&lt;LI&gt;Open &lt;FONT face="courier new,courier"&gt;C:\ProgramData\Qlik\Sense\Repository\PostgreSQL\X.X\postgresql.conf&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Set max_connections = &lt;FONT face="courier new,courier"&gt;110&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Save the file&lt;/LI&gt;
&lt;LI&gt;Restart all of the Qlik Sense Services&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PostgresSQL_Max_connections.gif" style="width: 800px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55197i162439B5CDEBB9F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="PostgresSQL_Max_connections.gif" alt="PostgresSQL_Max_connections.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;How to determine the Database Max Pool&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;The value of &lt;EM&gt;110&lt;/EM&gt; above is a default example. You can further refine the value.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The connection pool for the Qlik Sense Repository is always based on core count on the machine. To date, our advise is to take the core count of your machine and multiply it by five. This will be your max connection pool for the Repository Service for that node. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;T&lt;/SPAN&gt;&lt;SPAN&gt;his should be a factor of CPU cores multiplied by five. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If 90 is higher than that result, leave 90 in place. Never decrease it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;For more information about Database Max Pool Size Connection, see&amp;nbsp;&lt;SPAN&gt;&lt;SPAN&gt;&lt;A href="https://wiki.postgresql.org/wiki/Number_Of_Database_Connections" target="_blank" rel="noopener"&gt;https://wiki.postgresql.org/wiki/Number_Of_Database_Connections&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Related Content:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://community.qlik.com/t5/Knowledge/Optimizing-Performance-for-Qlik-Sense-Enterprise/ta-p/1858594" target="_blank" rel="noopener"&gt;Optimizing Performance for Qlik Sense Enterprise &lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Knowledge/PostgreSQL-postgresql-conf-and-pg-hba-conf-explained/ta-p/1713744" target="_blank" rel="noopener"&gt;PostgreSQL: postgresql.conf and pg_hba.conf explained &lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Database-connection-max-pool-reached-in-Qlik-Sense-Enterprise-on/ta-p/1716413" target="_blank" rel="noopener"&gt;Database connection max pool reached in Qlik Sense Enterprise on Windows&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 11:46:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Recommended-practice-on-configuration-for-Qlik-Sense/ta-p/1711222</guid>
      <dc:creator>Yoichi_Hirotake</dc:creator>
      <dc:date>2024-02-20T11:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Recommended practice on configuration for Qlik Sense</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Recommended-practice-on-configuration-for-Qlik-Sense/tac-p/1853611#M4702</link>
      <description>&lt;P&gt;To be aligned with the Qlik Sense Version we suggest to check on help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example here&amp;nbsp;&amp;nbsp;&lt;A title="Installing Qlik Sense in multi-node - Qlik Sense for administrators May 2021" href="https://help.qlik.com/en-US/sense-admin/May2021/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Installing-Qlik-Sense-multi-node.htm#Configur2" target="_blank" rel="noopener"&gt;Installing Qlik Sense in a multi-node site ‒ Qlik Sense for administrators&amp;nbsp;&amp;nbsp;&lt;/A&gt;&amp;nbsp;for Qlik Sense May 2021 count seems 110 per node + 20 .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 11:16:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Recommended-practice-on-configuration-for-Qlik-Sense/tac-p/1853611#M4702</guid>
      <dc:creator>Filippo_Nicolussi_P</dc:creator>
      <dc:date>2021-10-29T11:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Recommended practice on configuration for Qlik Sense</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Recommended-practice-on-configuration-for-Qlik-Sense/tac-p/2456669#M14011</link>
      <description>&lt;P&gt;Does anyone know what is the definition of "connection" in this context?&lt;/P&gt;
&lt;P&gt;Is it number of some&amp;nbsp;&lt;STRONG&gt;users&lt;/STRONG&gt;? Number of &lt;STRONG&gt;servers&lt;/STRONG&gt;? Number of &lt;STRONG&gt;requests&lt;/STRONG&gt;?&lt;/P&gt;
&lt;P&gt;If I see that there are 5 "connections" at the moment. What exactly is it count of?&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 17:04:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Recommended-practice-on-configuration-for-Qlik-Sense/tac-p/2456669#M14011</guid>
      <dc:creator>mbespartochnyy</dc:creator>
      <dc:date>2024-05-27T17:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Recommended practice on configuration for Qlik Sense</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Recommended-practice-on-configuration-for-Qlik-Sense/tac-p/2459151#M14036</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/50422"&gt;@mbespartochnyy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The number of&amp;nbsp;&lt;STRONG&gt;connections&amp;nbsp;&lt;/STRONG&gt;refers to database connections as defined by PostgreSQL.&amp;nbsp;&lt;SPAN&gt;For more information about Database Max Pool Size Connection, see&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="https://wiki.postgresql.org/wiki/Number_Of_Database_Connections" target="_blank" rel="noopener nofollow noreferrer"&gt;https://wiki.postgresql.org/wiki/Number_Of_Database_Connections&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It is not directly related to your active Qlik users or their requests.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;All the best,&lt;BR /&gt;Sonja&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 14:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Recommended-practice-on-configuration-for-Qlik-Sense/tac-p/2459151#M14036</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2024-06-04T14:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Recommended practice on configuration for Qlik Sense</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Recommended-practice-on-configuration-for-Qlik-Sense/tac-p/2485426#M14725</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28597"&gt;@Sonja_Bauernfeind&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why is the number of max_connections so high?&amp;nbsp; Given that there 3-6 Qlik Sense services per node, and, presumably, the connections with the Repository Database are established through the Qlik Repository Service in each node, I have difficulties understanding why this number should be so high.&amp;nbsp; According to &lt;A href="https://docs.digitalocean.com/products/databases/postgresql/how-to/manage-connection-pools/" target="_blank" rel="noopener"&gt;this Digital Ocean post,&lt;/A&gt; each active connection uses about 10 MB of RAM, so Increasing this parameter value by 110 per cluster node might increase RAM consumption significantly in the node running the repository database.&lt;/P&gt;
&lt;P&gt;Please advise.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;++José&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 20:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Recommended-practice-on-configuration-for-Qlik-Sense/tac-p/2485426#M14725</guid>
      <dc:creator>diagonjope</dc:creator>
      <dc:date>2024-10-04T20:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Recommended practice on configuration for Qlik Sense</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Recommended-practice-on-configuration-for-Qlik-Sense/tac-p/2485603#M14739</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14232"&gt;@diagonjope&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This would be a question best asked in the &lt;A href="https://community.qlik.com/t5/Scalability/gh-p/qlik-scalability" target="_blank" rel="noopener"&gt;Qlik Scalability group&lt;/A&gt;. I've also reached out to our subject matter experts to see if I can get you more information directly, but I highly recommend posting in the correct group.&lt;/P&gt;
&lt;P&gt;All the best,&lt;BR /&gt;Sonja&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 13:02:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Recommended-practice-on-configuration-for-Qlik-Sense/tac-p/2485603#M14739</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2024-10-07T13:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Recommended practice on configuration for Qlik Sense</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Recommended-practice-on-configuration-for-Qlik-Sense/tac-p/2485611#M14742</link>
      <description>&lt;P&gt;Hello again&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14232"&gt;@diagonjope&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition to the Scalability group, we recommend reviewing&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Optimizing-Performance-for-Qlik-Sense-Enterprise/ta-p/1858594" target="_blank" rel="noopener"&gt;Optimizing Performance for Qlik Sense Enterprise&lt;/A&gt;&amp;nbsp;which goes into more detail on this topic.&lt;/P&gt;
&lt;P&gt;All the best,&lt;BR /&gt;Sonja&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 13:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Recommended-practice-on-configuration-for-Qlik-Sense/tac-p/2485611#M14742</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2024-10-07T13:24:01Z</dc:date>
    </item>
  </channel>
</rss>

