<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Deploying a design</title>
    <link>/en/admin/configuring-db/creating-db-design/deploying-design/</link>
    <description>Recent content in Deploying a design on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/admin/configuring-db/creating-db-design/deploying-design/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Admin: Deploying designs using Database Designer</title>
      <link>/en/admin/configuring-db/creating-db-design/deploying-design/deploying-designs-using-db-designer/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/configuring-db/creating-db-design/deploying-design/deploying-designs-using-db-designer/</guid>
      <description>
        
        
        &lt;p&gt;OpenText recommends that you run Database Designer and deploy optimized projections right after loading your tables with sample data because Database Designer provides projections optimized for the current state of your database.&lt;/p&gt;
&lt;p&gt;If you choose to allow Database Designer to automatically deploy your script during a comprehensive design and are running Administrative Tools, Database Designer creates a backup script of your database&#39;s current design. This script helps you re-create the design of projections that may have been dropped by the new design. The backup script is located in the output directory you specified during the design process.&lt;/p&gt;
&lt;p&gt;If you choose not to have Database Designer automatically run the deployment script (for example, if you want to maintain projections from a pre-existing deployment), you can manually run the deployment script later. See &lt;a href=&#34;../../../../../en/admin/configuring-db/creating-db-design/deploying-design/deploying-designs-manually/#&#34;&gt;Deploying designs manually&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To deploy a design while running Database Designer, do one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;In Management Console, select the design and click &lt;strong&gt;Deploy Design&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the Administration Tools, select &lt;strong&gt;Deploy design&lt;/strong&gt; in the &lt;strong&gt;Design Options&lt;/strong&gt; window.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you are running Database Designer programmatically, use &lt;a href=&#34;../../../../../en/sql-reference/functions/db-designer-functions/designer-run-populate-design-and-deploy/#&#34;&gt;DESIGNER_RUN_POPULATE_DESIGN_AND_DEPLOY&lt;/a&gt; and set the &lt;code&gt;deploy&lt;/code&gt; parameter to &#39;true&#39;.&lt;/p&gt;
&lt;p&gt;Once you have deployed your design, query the &lt;a href=&#34;../../../../../en/sql-reference/system-tables/v-monitor-schema/deploy-status/#&#34;&gt;DEPLOY_STATUS&lt;/a&gt; system table to see the steps that the deployment took:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;vmartdb=&amp;gt; SELECT * FROM V_MONITOR.DEPLOY_STATUS;
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Admin: Deploying designs manually</title>
      <link>/en/admin/configuring-db/creating-db-design/deploying-design/deploying-designs-manually/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/configuring-db/creating-db-design/deploying-design/deploying-designs-manually/</guid>
      <description>
        
        
        &lt;p&gt;If you choose not to have Database Designer deploy your design at design time, you can deploy the design later using the deployment script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Make sure that the target database contains the same tables and projections as the database where you ran Database Designer. The database should also contain sample data.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;To deploy the projections to a test or production environment, execute the deployment script in vsql with the meta-command 
&lt;code&gt;&lt;a href=&#34;../../../../../en/connecting-to/using-vsql/meta-commands/i/#&#34;&gt;\i&lt;/a&gt;&lt;/code&gt; as follows, where &lt;em&gt;&lt;code&gt;design-name&lt;/code&gt;&lt;/em&gt; is the name of the database design:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; \i &lt;span class=&#34;code-variable&#34;&gt;design-name&lt;/span&gt;_deploy.sql
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;For a &lt;a href=&#34;../../../../../en/architecture/enterprise-concepts/k-safety-an-enterprise-db/&#34;&gt;K-safe&lt;/a&gt; database, call meta-function 
&lt;code&gt;&lt;a href=&#34;../../../../../en/sql-reference/functions/management-functions/projection-functions/get-projections/#&#34;&gt;GET_PROJECTIONS&lt;/a&gt;&lt;/code&gt; on tables of the new projections. Check the output to verify that all projections have enough buddies to be identified as safe.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you create projections for tables that already contains data, call 
&lt;code&gt;&lt;a href=&#34;../../../../../en/sql-reference/functions/management-functions/projection-functions/refresh/#&#34;&gt;REFRESH&lt;/a&gt;&lt;/code&gt; or 
&lt;code&gt;&lt;a href=&#34;../../../../../en/sql-reference/functions/management-functions/projection-functions/start-refresh/#&#34;&gt;START_REFRESH&lt;/a&gt;&lt;/code&gt; to update new projections. Otherwise, these projections are not available for query processing.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Call 
&lt;code&gt;&lt;a href=&#34;../../../../../en/sql-reference/functions/management-functions/epoch-functions/make-ahm-now/#&#34;&gt;MAKE_AHM_NOW&lt;/a&gt;&lt;/code&gt; to set the &lt;a class=&#34;glosslink&#34; href=&#34;../../../../../en/glossary/ancient-history-mark-ahm/&#34; title=&#34;Also known as AHM, the ancient history mark is the oldest epoch whose data is accessible to historical queries.&#34;&gt;Ancient History Mark&lt;/a&gt; (AHM) to the most recent epoch.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Call 
&lt;code&gt;&lt;a href=&#34;../../../../../en/sql-reference/statements/drop-statements/drop-projection/#&#34;&gt;DROP PROJECTION&lt;/a&gt;&lt;/code&gt; on projections that are no longer needed, and would otherwise waste disk space and reduce load speed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Call 
&lt;code&gt;&lt;a href=&#34;../../../../../en/sql-reference/functions/performance-analysis-functions/statistics-management-functions/analyze-statistics/#&#34;&gt;ANALYZE_STATISTICS&lt;/a&gt;&lt;/code&gt; on all database projections:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT ANALYZE_STATISTICS (&amp;#39;&amp;#39;);
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This function collects and aggregates data samples and storage information from all nodes on which a projection is stored, and then writes statistics into the catalog.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

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