<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Tuning built-in pools</title>
    <link>/en/admin/managing-db/managing-workloads/workload-best-practices/tuning-built-pools/</link>
    <description>Recent content in Tuning built-in pools on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/admin/managing-db/managing-workloads/workload-best-practices/tuning-built-pools/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Admin: Restricting Vertica to take only 60% of memory</title>
      <link>/en/admin/managing-db/managing-workloads/workload-best-practices/tuning-built-pools/restricting-to-take-only-60-of-memory/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/managing-db/managing-workloads/workload-best-practices/tuning-built-pools/restricting-to-take-only-60-of-memory/</guid>
      <description>
        
        
        &lt;h2 id=&#34;scenario&#34;&gt;Scenario&lt;/h2&gt;
&lt;p&gt;You have a single node application that embeds Vertica, and some portion of the RAM needs to be devoted to the application process. In this scenario, you want to limit Vertica to use only 60% of the available RAM.&lt;/p&gt;
&lt;h2 id=&#34;solution&#34;&gt;Solution&lt;/h2&gt;
&lt;p&gt;Set the MAXMEMORYSIZE parameter of the GENERAL pool to the desired memory size. See &lt;a href=&#34;../../../../../../en/admin/managing-db/managing-workloads/resource-pool-architecture/#&#34;&gt;Resource pool architecture&lt;/a&gt; for a discussion on resource limits.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Tuning for recovery</title>
      <link>/en/admin/managing-db/managing-workloads/workload-best-practices/tuning-built-pools/tuning-recovery/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/managing-db/managing-workloads/workload-best-practices/tuning-built-pools/tuning-recovery/</guid>
      <description>
        
        
        &lt;h2 id=&#34;scenario&#34;&gt;Scenario&lt;/h2&gt;
&lt;p&gt;You have a large database that contains a single large table with two projections, and with default settings, recovery is taking too long. You want to give recovery more memory to improve speed.&lt;/p&gt;
&lt;h2 id=&#34;solution&#34;&gt;Solution&lt;/h2&gt;
&lt;p&gt;Set PLANNEDCONCURRENCY and MAXCONCURRENCY in the RECOVERY pool to 1, so recovery can take as much memory as possible from the GENERAL pool and run only one thread at once.

&lt;div class=&#34;admonition caution&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Caution&lt;/h4&gt;

This setting can slow down other queries in your system.

&lt;/div&gt;&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Tuning for refresh</title>
      <link>/en/admin/managing-db/managing-workloads/workload-best-practices/tuning-built-pools/tuning-refresh/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/managing-db/managing-workloads/workload-best-practices/tuning-built-pools/tuning-refresh/</guid>
      <description>
        
        
        &lt;h2 id=&#34;scenario&#34;&gt;Scenario&lt;/h2&gt;
&lt;p&gt;When a &lt;a class=&#34;glosslink&#34; href=&#34;../../../../../../en/glossary/refresh-projections/&#34; title=&#34;Ensures that all projections on a node are up-to-date (can participate in query execution).&#34;&gt;refresh&lt;/a&gt; operation is running, system performance is affected and user queries are rejected. You want to reduce the memory usage of the refresh job.&lt;/p&gt;
&lt;h2 id=&#34;solution&#34;&gt;Solution&lt;/h2&gt;
&lt;p&gt;Set MEMORYSIZE in the REFRESH pool to a fixed value. The Resource Manager then tunes the refresh query to only use this amount of memory.

&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
Remember to reset MEMORYSIZE in the REFRESH pool to 0% after the refresh operation completes, so memory can be used for other operations.
&lt;/div&gt;&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Tuning tuple mover pool settings</title>
      <link>/en/admin/managing-db/managing-workloads/workload-best-practices/tuning-built-pools/tuning-tuple-mover-pool-settings/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/managing-db/managing-workloads/workload-best-practices/tuning-built-pools/tuning-tuple-mover-pool-settings/</guid>
      <description>
        
        
        &lt;h2 id=&#34;scenario-1&#34;&gt;Scenario 1&lt;/h2&gt;
&lt;p&gt;During heavy load operations, you occasionally notice spikes in the number of ROS containers. You would like the Tuple Mover to perform mergeout more aggressively to consolidate ROS containers, and avoid ROS pushback.&lt;/p&gt;
&lt;h2 id=&#34;solution&#34;&gt;Solution&lt;/h2&gt;
&lt;p&gt;Use &lt;a href=&#34;../../../../../../en/sql-reference/statements/alter-statements/alter-resource-pool/#&#34;&gt;ALTER RESOURCE POOL&lt;/a&gt; to increase the setting of MAXCONCURRENCY in the &lt;a href=&#34;../../../../../../en/admin/managing-db/managing-workloads/resource-pool-architecture/built-resource-pools-config/&#34;&gt;TM resource pools&lt;/a&gt;. This setting determines how many threads are available for mergeout. By default , this parameter is set to 7. Vertica allocates half the threads to active partitions, and the remaining half to active and inactive partitions as needed. If MAXCONCURRENCY is set to an uneven integer, Vertica rounds up to favor active partitions.&lt;/p&gt;
&lt;p&gt;For example, if you increase MAXCONCURRENCY to 9, then Vertica allocates five threads exclusively to active partitions, and allocates the remaining four threads to active and inactive partitions.&lt;/p&gt;
&lt;h2 id=&#34;scenario-2&#34;&gt;Scenario 2&lt;/h2&gt;
&lt;p&gt;You have a secondary subcluster that is dedicated to time-sensitive analytic queries. You want to limit any other workloads on this subcluster that could interfere with it processing queries while also freeing up memory to perform queries.&lt;/p&gt;
&lt;p&gt;By default, each subcluster has a built-in TM resource pool for Tuple Mover operations that makes it eligible to execute Tuple Mover mergeout operations. The TM pool consumes memory that could be used for queries. In addition, the mergeout operation could add a slight overhead to your subcluster&#39;s processing. You want to reallocate the memory consumed by the TM pool, and prevent the subcluster from running mergeout operations.&lt;/p&gt;
&lt;h2 id=&#34;solution-1&#34;&gt;Solution&lt;/h2&gt;
&lt;p&gt;Use &lt;a href=&#34;../../../../../../en/sql-reference/statements/alter-statements/alter-resource-pool/#&#34;&gt;ALTER RESOURCE POOL&lt;/a&gt; to override the global TM resource pool for the secondary subcluster, and set both its MAXMEMORYSIZE and MEMORYSIZE to 0. This allows you to use the memory consumed by the global TM pool for use running analytic queries and prevents the subcluster being assigned TM mergeout operations to execute.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Tuning for machine learning</title>
      <link>/en/admin/managing-db/managing-workloads/workload-best-practices/tuning-built-pools/tuning-ml/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/managing-db/managing-workloads/workload-best-practices/tuning-built-pools/tuning-ml/</guid>
      <description>
        
        
        &lt;h2 id=&#34;scenario&#34;&gt;Scenario&lt;/h2&gt;
&lt;p&gt;A large number of machine learning functions are running, and you want to give them more memory to improve performance.&lt;/p&gt;
&lt;h2 id=&#34;solution&#34;&gt;Solution&lt;/h2&gt;
&lt;p&gt;Vertica executes machine learning functions in the BLOBDATA resource pool. To improve performance of machine learning functions and avoid spilling queries to disk, increase the pool&#39;s MAXMEMORYSIZE setting with &lt;a href=&#34;../../../../../../en/sql-reference/statements/alter-statements/alter-resource-pool/#&#34;&gt;ALTER RESOURCE POOL&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For more about tuning query budgets, see &lt;a href=&#34;../../../../../../en/admin/managing-db/managing-workloads/resource-pool-architecture/query-budgeting/#&#34;&gt;Query budgeting&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../../../en/admin/managing-db/managing-workloads/managing-resources-query-run-time/#&#34;&gt;Managing resources at query run time&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../../../en/admin/managing-db/managing-workloads/resource-pool-architecture/built-resource-pools-config/#&#34;&gt;Built-in resource pools configuration&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
  </channel>
</rss>
