<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Elastic cluster</title>
    <link>/en/admin/managing-db/managing-nodes/elastic-cluster/</link>
    <description>Recent content in Elastic cluster on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/admin/managing-db/managing-nodes/elastic-cluster/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Admin: Scaling factor</title>
      <link>/en/admin/managing-db/managing-nodes/elastic-cluster/scaling-factor/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/managing-db/managing-nodes/elastic-cluster/scaling-factor/</guid>
      <description>
        
        
        &lt;p&gt;To avoid an increased number of ROS containers, do not enable local segmentation and do not change the scaling factor.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Viewing scaling factor settings</title>
      <link>/en/admin/managing-db/managing-nodes/elastic-cluster/viewing-scaling-factor-settings/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/managing-db/managing-nodes/elastic-cluster/viewing-scaling-factor-settings/</guid>
      <description>
        
        
        &lt;p&gt;To view the scaling factor, query the ELASTIC_CLUSTER table:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT scaling_factor FROM ELASTIC_CLUSTER;
scaling_factor
---------------
            4
(1 row)

=&amp;gt; SELECT SET_SCALING_FACTOR(6);
 SET_SCALING_FACTOR
--------------------
 SET
(1 row)

=&amp;gt; SELECT scaling_factor FROM ELASTIC_CLUSTER;
 scaling_factor
---------------
             6
(1 row)
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Admin: Setting the scaling factor</title>
      <link>/en/admin/managing-db/managing-nodes/elastic-cluster/setting-scaling-factor/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/managing-db/managing-nodes/elastic-cluster/setting-scaling-factor/</guid>
      <description>
        
        
        &lt;p&gt;The scaling factor determines the number of storage containers that OpenText™ Analytics Database uses to store each projection across the database during rebalancing when local segmentation is enabled. When setting the scaling factor, follow these guidelines:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The number of storage containers should be greater than or equal to the number of partitions multiplied by the number of local segments:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;code&gt;num-storage-containers&lt;/code&gt;&lt;/em&gt;&lt;code&gt;&amp;gt;= (&lt;/code&gt;&lt;em&gt;&lt;code&gt;num-partitions&lt;/code&gt;&lt;/em&gt;&lt;code&gt;*&lt;/code&gt;&lt;em&gt;&lt;code&gt;num-local-segments&lt;/code&gt;&lt;/em&gt; )&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set the scaling factor high enough so rebalance can transfer local segments to satisfy the skew threshold, but small enough so the number of storage containers does not result in too many ROS containers, and cause &lt;a href=&#34;../../../../../en/admin/monitoring/monitoring-events/event-codes/#RosPushback&#34;&gt;ROS pushback&lt;/a&gt;. The maximum number of ROS containers (by default 1024) is set by configuration parameter &lt;a href=&#34;../../../../../en/sql-reference/config-parameters/projection-parameters/#ContainersPerProjectionLimit&#34;&gt;ContainersPerProjectionLimit&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Use the &lt;a href=&#34;../../../../../en/sql-reference/functions/management-functions/cluster-functions/set-scaling-factor/#&#34;&gt;SET_SCALING_FACTOR&lt;/a&gt; function to change your database&#39;s scaling factor. The scaling factor can be an integer between 1 and 32.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT SET_SCALING_FACTOR(12);
SET_SCALING_FACTOR
--------------------
 SET
(1 row)
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Admin: Local data segmentation</title>
      <link>/en/admin/managing-db/managing-nodes/elastic-cluster/local-data-segmentation/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/managing-db/managing-nodes/elastic-cluster/local-data-segmentation/</guid>
      <description>
        
        
        &lt;p&gt;By default, the scaling factor only has an effect when OpenText™ Analytics Database rebalances the database. During rebalancing, nodes break the projection segments they contain into storage containers which they can quickly move to other nodes.&lt;/p&gt;
&lt;p&gt;This process is more efficient than re-segmenting the entire projection (in particular, less free disk space is required), but it still has significant overhead, since storage containers have to be separated into local segments, some of which are then transferred to other nodes. This overhead is not a problem if you rarely add or remove nodes from your database.&lt;/p&gt;
&lt;p&gt;However, if your database is growing rapidly and is constantly busy, you may find the process of adding nodes becomes disruptive. In this case, you can enable local segmentation, which tells the database to always segment its data based on the scaling factor, so the data is always broken into containers that are easily moved. Having the data segmented in this way dramatically speeds up the process of adding or removing nodes, since the data is always in a state that can be quickly relocated to another node. The rebalancing process that the database performs after adding or removing a node just has to decide which storage containers to relocate, instead of first having to first break the data into storage containers.&lt;/p&gt;
&lt;p&gt;Local data segmentation increases the number of storage containers stored on each node. This is not an issue unless a table contains many partitions. For example, if the table is partitioned by day and contains one or more years. If local data segmentation is enabled, then each of these table partitions is broken into multiple local storage segments, which potentially results in a huge number of files which can lead to ROS &amp;quot;pushback.&amp;quot; Consider your table partitions and the effect enabling local data segmentation may have before enabling the feature.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Elastic cluster best practices</title>
      <link>/en/admin/managing-db/managing-nodes/elastic-cluster/elastic-cluster-best-practices/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/managing-db/managing-nodes/elastic-cluster/elastic-cluster-best-practices/</guid>
      <description>
        
        
        &lt;p&gt;The following are some best practices with regard to local segmentation.

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

You should always perform a database backup before and after performing any of the operations discussed in this topic. You need to back up before changing any elastic cluster or local segmentation settings to guard against a hardware failure causing the rebalance process to leave the database in an unusable state. You should perform a full backup of the database after the rebalance procedure to avoid having to rebalance the database again if you need to restore from a backup.

&lt;/div&gt;&lt;/p&gt;
&lt;h2 id=&#34;when-to-enable-local-data-segmentation&#34;&gt;When to enable local data segmentation&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;../../../../../en/admin/managing-db/managing-nodes/elastic-cluster/local-data-segmentation/#&#34;&gt;Local data segmentation&lt;/a&gt; can significantly speed up the process of resizing your cluster. You should enable local data segmentation if:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;your database does not contain tables with hundreds of partitions.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;the number of nodes in the database cluster is a power of two.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;you plan to expand or contract the size of your cluster.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Local segmentation can result in an excessive number of storage containers with tables that have hundreds of partitions, or in clusters with a non-power-of-two number of nodes. If your database has these two features, take care when enabling local segmentation.&lt;/p&gt;

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