<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Failure recovery</title>
    <link>/en/admin/failure-recovery/</link>
    <description>Recent content in Failure recovery on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/admin/failure-recovery/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Admin: Restarting the database on a host</title>
      <link>/en/admin/failure-recovery/restarting-on-host/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/failure-recovery/restarting-on-host/</guid>
      <description>
        
        
        &lt;p&gt;When one node in a running database cluster fails, or if any files from the catalog or data directories are lost from any one of the nodes, you can check the status of failed nodes using either the Administration Tools or the Management Console.&lt;/p&gt;
&lt;h2 id=&#34;restarting-the-database-on-a-host-using-the-administration-tools&#34;&gt;Restarting the database on a host using the administration tools&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Run &lt;a class=&#34;glosslink&#34; href=&#34;../../../en/glossary/admin-tools/&#34; title=&#34;OpenText&amp;amp;trade; Analytics Database Administration Tools provides a graphical user interface for managing the database.&#34;&gt;Administration tools&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;From the Main Menu, select &lt;strong&gt;Restart Vertica on Host&lt;/strong&gt; and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the database host you want to recover and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;

&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 might see additional nodes in the list, which are used internally by the Administration Tools. You can safely ignore these nodes.

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Verify recovery state by selecting &lt;strong&gt;View Database Cluster State&lt;/strong&gt; from the &lt;strong&gt;Main Menu&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;After the database is fully recovered, you can check the status at any time by selecting &lt;strong&gt;View Database Cluster State&lt;/strong&gt; from the Administration Tools &lt;strong&gt;Main Menu&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id=&#34;restarting-the-database-on-a-host-using-the-management-console&#34;&gt;Restarting the database on a host using the Management Console&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Connect to a cluster node (or the host on which MC is installed).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Open a browser and &lt;a href=&#34;../../../en/mc/getting-started-with-mc/connecting-to-mc/&#34;&gt;connect to MC&lt;/a&gt; as an MC administrator.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On the MC &lt;strong&gt;Home&lt;/strong&gt; page, double-click the running database under the &lt;strong&gt;Recent Databases&lt;/strong&gt; section.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Within the &lt;strong&gt;Overview&lt;/strong&gt; page, look at the node status under the Database sub-section and see if all nodes are up. The status will indicate how many nodes are up, critical, down, recovering, or other.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If a node is down, click &lt;strong&gt;Manage&lt;/strong&gt; at the bottom of the page and inspect the graph. A failed node will appear in red.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the failed node to select it and in the Node List, click the &lt;strong&gt;Start node&lt;/strong&gt; button.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Restarting the database</title>
      <link>/en/admin/failure-recovery/restarting-db/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/failure-recovery/restarting-db/</guid>
      <description>
        
        
        &lt;p&gt;If you lose the database process on more than one node (for example, due to power loss), or if the servers are shut down without properly shutting down the database first, the database cluster indicates that it did not shut down gracefully the next time you start it.&lt;/p&gt;
&lt;p&gt;The database automatically detects when the cluster was last in a consistent state and then shuts down, at which point an administrator can restart it.&lt;/p&gt;
&lt;p&gt;From the Main Menu in the &lt;a class=&#34;glosslink&#34; href=&#34;../../../en/glossary/admin-tools/&#34; title=&#34;OpenText&amp;amp;trade; Analytics Database Administration Tools provides a graphical user interface for managing the database.&#34;&gt;Administration tools&lt;/a&gt;:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Verify that the database has been stopped by clicking &lt;strong&gt;Stop Database&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;A message displays: No databases owned by &amp;lt;&lt;em&gt;dbadmin&lt;/em&gt;&amp;gt; are running&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Start the database by selecting &lt;strong&gt;Start Database&lt;/strong&gt; from the Main Menu.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the database you want to restart and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;If you are starting the database after an unclean shutdown, messages display, which indicate that the startup failed. Press &lt;strong&gt;RETURN&lt;/strong&gt; to continue with the recovery process.&lt;/p&gt;


&lt;p&gt;An &lt;a class=&#34;glosslink&#34; href=&#34;../../../en/glossary/epoch/&#34; title=&#34;A logical unit of time in which a single change is made to data in your OpenText&amp;amp;trade; Analytics Database.&#34;&gt;epoch&lt;/a&gt; represents committed changes to the data stored in a database between two specific points in time. When starting the database, OpenText™ Analytics Database searches for &lt;a class=&#34;glosslink&#34; href=&#34;../../../en/glossary/last-good-epoch-lge/&#34; title=&#34;A term used in manual recovery, LGE (Last Good Epoch) refers to the most recent epoch that can be recovered.&#34;&gt;last good epoch&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Upon determining the last good epoch, you are prompted to verify that you want to start the database from the good epoch date. Select &lt;strong&gt;Yes&lt;/strong&gt; to continue with the recovery.&lt;/p&gt;



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

If you do not want to start from the last good epoch, you may instead restore the data from a backup and attempt to restart the database. For this to be useful, the backup must be more current than the last good epoch.

&lt;/div&gt;
&lt;p&gt;The database continues to initialize and recover all data prior to the last good epoch.&lt;/p&gt;


&lt;p&gt;If recovery takes more than a minute, you are prompted to answer &amp;lt;Yes&amp;gt; or &amp;lt;No&amp;gt; to &amp;quot;Do you want to continue waiting?&amp;quot;&lt;/p&gt;
&lt;p&gt;When all the nodes&#39; status have changed to RECOVERING or UP, selecting &amp;lt;No&amp;gt; lets you exit this screen and monitor progress via the Administration Tools Main Menu. Selecting &amp;lt;Yes&amp;gt; continues to display the database recovery window.&lt;/p&gt;

&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;

Be sure to reload any data that was added after the last good epoch date to which you have recovered.

&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Recovering the cluster from a backup</title>
      <link>/en/admin/failure-recovery/recovering-cluster-from-backup/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/failure-recovery/recovering-cluster-from-backup/</guid>
      <description>
        
        
        &lt;p&gt;To recover a cluster from a backup, refer to the following topics:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../en/admin/backup-and-restore/#&#34;&gt;Backing up and restoring the database&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../en/admin/backup-and-restore/restoring-backups/restoring-db-from-full-backup/#&#34;&gt;Restoring a database from a full backup&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Phases of a recovery</title>
      <link>/en/admin/failure-recovery/phases-of-recovery/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/failure-recovery/phases-of-recovery/</guid>
      <description>
        
        
        &lt;p&gt;The phases of a OpenText™ Analytics Database recovery are the same regardless of whether you are recovering by table or node. In the case of a &lt;a href=&#34;../../../en/admin/failure-recovery/recovery-by-table/&#34;&gt;recovery by table&lt;/a&gt;, tables become individually available as they complete the final phase. In the case of a recovery by node, the database objects only become available after the entire node completes recovery.&lt;/p&gt;
&lt;p&gt;When you perform a recovery, each recovered table goes through the following phases:

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Order&lt;/th&gt; 

&lt;th &gt;
Phase&lt;/th&gt; 

&lt;th &gt;
Description&lt;/th&gt; 

&lt;th &gt;
Lock Type&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
1&lt;/td&gt; 

&lt;td &gt;
Historical&lt;/td&gt; 

&lt;td &gt;
The database copies any historical data it may have missed while in a state of DOWN or INITIALIZING.&lt;/td&gt; 

&lt;td &gt;
none&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
2&lt;/td&gt; 

&lt;td &gt;
Historical Dirty&lt;/td&gt; 

&lt;td &gt;
The database recovers any DML transactions that committed after the node or table began recovery.&lt;/td&gt; 

&lt;td &gt;
none&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
3&lt;/td&gt; 

&lt;td &gt;
Current Replay Delete&lt;/td&gt; 

&lt;td &gt;
The database replays any delete transactions that took place during the recovery.&lt;/td&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../en/admin/db-locks/lock-modes/&#34;&gt;T-lock&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
4&lt;/td&gt; 

&lt;td &gt;
Aggregate Projections&lt;/td&gt; 

&lt;td &gt;
The database recovers any aggregate projections.&lt;/td&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../en/admin/db-locks/lock-modes/&#34;&gt;T-lock&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/p&gt;
&lt;p&gt;After a table completes the last phase, the database considers it fully recovered. At this point, the table can participate in DDL and DML operations.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Epochs</title>
      <link>/en/admin/failure-recovery/epochs/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/failure-recovery/epochs/</guid>
      <description>
        
        
        &lt;p&gt;An epoch represents a cutoff point of historical data within the database. The timestamp of all commits within a given epoch are equal to or less than the epoch&#39;s timestamp. Understanding epochs is useful when you need to perform the following operations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/admin/failure-recovery/&#34;&gt;Database recovery&lt;/a&gt;: OpenText™ Analytics Database uses epochs to determine the last time data was consistent across all nodes in a database cluster.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/data-analysis/queries/historical-queries/&#34;&gt;Execute historical queries&lt;/a&gt;: A SELECT statement that includes an 
&lt;code&gt;AT &lt;span class=&#34;code-variable&#34;&gt;epoch&lt;/span&gt;&lt;/code&gt; clause only returns data that was committed on or before the specified epoch.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/admin/working-with-native-tables/removing-table-data/purging-deleted-data/&#34;&gt;Purge deleted data&lt;/a&gt;: Deleted data is not removed from physical storage until it is purged from the database. You can purge deleted data from the database only if it precedes the ancient history marker (AHM) epoch.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The database has one open epoch and any number of closed epochs, depending on your system configuration. New and updated data is written into the open epoch, and each closed epoch represents a previous commit to your database. When data is committed with a DML operation (INSERT, UPDATE, MERGE, COPY, or DELETE), the database writes the data, closes the open epoch, and opens a new epoch. Each row committed to the database is associated with the epoch in which it was written.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&#34;../../../en/sql-reference/system-tables/v-catalog-schema/epochs/#&#34;&gt;EPOCHS&lt;/a&gt; system table contains information about each available closed epoch. The &lt;code&gt;epoch_close_time&lt;/code&gt; column stores the date and time of the commit. The &lt;code&gt;epoch_number&lt;/code&gt; column stores the corresponding epoch number:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT * FROM EPOCHS;
       epoch_close_time        | epoch_number
-------------------------------+--------------
 2020-07-27 14:29:49.687106-04 |           91
 2020-07-28 12:51:53.291795-04 |           92
(2 rows)
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;epoch-milestones&#34;&gt;Epoch milestones&lt;/h2&gt;
&lt;p&gt;As an epoch progresses through its life cycle, it reaches milestones that the database uses to perform a variety of operations and maintain the state of the database. The following image generally depicts these milestones within the epoch life cycle:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../images/epochs-stages.svg&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;The database defines each milestone as follows:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Current epoch (CE): The current, open epoch that you are presently writing data to.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Latest epoch (LE): The most recently closed epoch.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Checkpoint epoch: Enterprise Mode only. A node-level epoch that is the latest epoch in which data is consistent across all projections on that node.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Last good epoch (LGE): The minimum checkpoint epoch in which data is consistent across all nodes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Ancient history mark (AHM): The oldest epoch that contains data that is accessible by historical queries.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See &lt;a href=&#34;../../../en/admin/failure-recovery/epochs/epoch-life-cycle/#&#34;&gt;Epoch life cycle&lt;/a&gt; for detailed information about each stage.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Best practices for disaster recovery</title>
      <link>/en/admin/failure-recovery/best-practices-disaster-recovery/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/failure-recovery/best-practices-disaster-recovery/</guid>
      <description>
        
        
        &lt;p&gt;To protect your database from site failures caused by catastrophic disasters, maintain an off-site replica of your database to provide a standby. In case of disaster, you can switch database users over to the standby database. The amount of data loss between a disaster and fail over to the offsite replica depends on how frequently you save a full database backup.&lt;/p&gt;
&lt;p&gt;The solution to employ for disaster recover depends upon two factors that you must determine for your application:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Recovery point objective (RPO)&lt;/strong&gt;: How much data loss can your organization tolerate upon a disaster recovery?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Recovery time objective (RTO):&lt;/strong&gt; How quickly do you need to recover the database following a disaster?&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Depending on your RPO and RTO, OpenText recommends choosing from the following solutions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Dual-load:&lt;/strong&gt; During each load process for the database, simultaneously load a second database. You can achieve this easily with off-the-shelf ETL software.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Periodic Incremental Backups&lt;/strong&gt;: Use the procedure described in &lt;a href=&#34;../../../en/admin/backup-and-restore/copying-db-to-another-cluster/#&#34;&gt;Copying the database to another cluster&lt;/a&gt; to periodically copy the data to the target database. Remember that the script copies only files that have changed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Replication solutions provided by Storage Vendors&lt;/strong&gt;: Although some users have had success with SAN storage, the number of vendors and possible configurations prevent OpenText™ Analytics Database from providing support for SANs.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The following table summarizes the RPO, RTO, and the pros and cons of each approach:

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;td &gt;
&lt;/td&gt; 

&lt;th &gt;
Dual Load&lt;/th&gt; 

&lt;th &gt;
Periodic Incremental&lt;/th&gt; 

&lt;th &gt;
Storage Replication&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;th &gt;
RPO&lt;/th&gt; 

&lt;td &gt;


Up to the minute data&lt;/td&gt; 

&lt;td &gt;


Up to the last backup&lt;/td&gt; 

&lt;td &gt;


Recover to the minute&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;th &gt;
RTO&lt;/th&gt; 

&lt;td &gt;


Available at all times&lt;/td&gt; 

&lt;td &gt;


Available except when backup in progress&lt;/td&gt; 

&lt;td &gt;


Available at all times&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;th &gt;
Pros&lt;/th&gt; 

&lt;td &gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Standby database can have different configuration&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Can use the standby database for queries&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt; 

&lt;td &gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Built-in scripts&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;High performance due to compressed file transfers&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt; 

&lt;td &gt;


Transparent to the database&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;th &gt;
Cons&lt;/th&gt; 

&lt;td &gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Possibly incur additional ETL licenses&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Requires application logic to handle errors&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt; 

&lt;td &gt;


Need identical standby system&lt;/td&gt; 

&lt;td &gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;More expensive&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Media corruptions are also replicated&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Recovery by table</title>
      <link>/en/admin/failure-recovery/recovery-by-table/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/failure-recovery/recovery-by-table/</guid>
      <description>
        
        
        &lt;p&gt;OpenText™ Analytics Database supports node recovery on a per-table basis. Unlike node-based recovery, recovering by table makes tables available as they recover, before the node itself is completely restored. You can &lt;a href=&#34;../../../en/admin/failure-recovery/recovery-by-table/prioritizing-table-recovery/&#34;&gt;prioritize your most important tables&lt;/a&gt; so they become available as soon as possible. Recovered tables support all DDL and DML operations.&lt;/p&gt;
&lt;p&gt;To enhance recovery speed, the database recovers multiple tables in parallel. The maximum number of tables recoverable at one time is set by the &lt;code&gt;MAXCONCURRENCY&lt;/code&gt; parameter in the &lt;a href=&#34;../../../en/admin/managing-db/managing-workloads/resource-pool-architecture/built-resource-pools-config/#RECOVERY&#34;&gt;RECOVERY resource pool&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;After a node has fully recovered, it enables full database functionality.&lt;/p&gt;

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