<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Using Database Designer to create a comprehensive design</title>
    <link>/en/getting-started/db-designer/</link>
    <description>Recent content in Using Database Designer to create a comprehensive design on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/getting-started/db-designer/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Getting-Started: Running Database Designer with Management Console</title>
      <link>/en/getting-started/db-designer/running-db-designer-with-mc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/getting-started/db-designer/running-db-designer-with-mc/</guid>
      <description>
        
        
        &lt;p&gt;In this tutorial, you&#39;ll create a &lt;a href=&#34;../../../en/admin/configuring-db/creating-db-design/general-design-settings/#Comprehe&#34;&gt;comprehensive design&lt;/a&gt; with Database Designer through the Management Console interface. If, in the future, you have a query that you want to optimize, you can create an enhanced (&lt;a href=&#34;../../../en/admin/configuring-db/creating-db-design/general-design-settings/#Incremen&#34;&gt;incremental&lt;/a&gt;) design with additional projections. You can tune these projections specifically for the query you provide.

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

To run Database Designer outside Administration Tools, you must be a dbadmin user. If you are not a dbadmin user, you must have the DBDUSER role assigned to you and own the tables for which you are designing projections. For details, see &lt;a href=&#34;../../../en/admin/configuring-db/creating-db-design/db-designer-access-requirements/#&#34;&gt;Database Designer access requirements&lt;/a&gt;.

&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;You can choose to create the design &lt;a href=&#34;../../../en/mc/db-management/creating-db-design-mc/creating-design-manually/&#34;&gt;manually&lt;/a&gt; or use the Management Console wizard, as described below.

&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
Set your browser so it does not cache pages. If a browser caches pages, you might be unable to see the new design added.
&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Follow these steps to to create a comprehensive design with the Management Console wizard:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Log in to Management Console.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Verify that your database is up and running.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Choose the database for which you want to create the design. You can find the database under the &lt;strong&gt;Recent Databases&lt;/strong&gt; section or by clicking &lt;strong&gt;Existing Infrastructure&lt;/strong&gt; to reach the Databases and Clusters page.&lt;/p&gt;
&lt;p&gt;The database overview page opens.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;At the bottom of the screen, click the &lt;strong&gt;Design&lt;/strong&gt; button.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;New Design&lt;/strong&gt; dialog box, enter the design name.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Wizard&lt;/strong&gt; to continue.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create an initial design. For &lt;strong&gt;Design Type&lt;/strong&gt;, select &lt;strong&gt;Comprehensive&lt;/strong&gt; and click &lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Optimization Objective&lt;/strong&gt; window, select &lt;strong&gt;Balance Load and Performance&lt;/strong&gt; to create a design that is balanced between database size and query performance. Click &lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the schemas. Because the VMart design is a multi-schema database, select all three schemas (public, store, and online_sales) for your design in the &lt;strong&gt;Select Sample Data&lt;/strong&gt; window. Click &lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;If you include a schema that contains tables without data, the design could be suboptimal. You can choose to continue, but OpenText recommends that you deselect the schemas that contain empty tables before you proceed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Choose the K-safety value for your design. The K-Safety value determines the number of buddy projections you want Database Designer to create.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Choose Analyze Correlations Mode. Analyze Correlations Mode determines if Database Designer analyzes and considers column correlations when creating the design.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Ignore:&lt;/strong&gt; When creating a design, ignore any column correlations in the specified tables.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Consider existing:&lt;/strong&gt; Consider the existing correlations in the tables when creating the design. If you set the mode to 1, and there are no existing correlations, Database Designer does not consider correlations.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Analyze missing:&lt;/strong&gt; Analyze column correlations on tables where the correlation analysis was not previously performed. When creating the design, consider all column correlations (new and existing).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Analyze all:&lt;/strong&gt; Analyze all column correlations in the tables and consider them when creating the design. Even if correlations exist for a table, reanalyze the table for correlations.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Click &lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Submit query files to Database Designer in one of two ways:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Supply your own query files by selecting the &lt;strong&gt;Browse&lt;/strong&gt; button.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Use Query Repository&lt;/strong&gt;, which submits recently executed queries from the QUERY_REQUESTS system table.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Click &lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Execution Options&lt;/strong&gt; window, select any of the following options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Analyze statistics&lt;/strong&gt;: Select this option to run statistics automatically after design deployment, so Database Designer can make better decisions for its proposed design.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Auto-build&lt;/strong&gt;: Select this option to run Database Designer as soon as you complete the wizard. This option only builds the proposed design.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Auto-deploy&lt;/strong&gt;: Select this option for auto-build designs that you want to deploy automatically.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Submit Design&lt;/strong&gt;. The Database Designer page opens:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;If you chose to automatically deploy your design, Database Designer executes in the background.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you did not select the &lt;strong&gt;Auto-build&lt;/strong&gt; or &lt;strong&gt;Auto-deploy&lt;/strong&gt; options, you can click &lt;strong&gt;Build Design&lt;/strong&gt; or &lt;strong&gt;Deploy Design&lt;/strong&gt; on the Database Designer page.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;My Designs&lt;/strong&gt; pane, view the status of your design:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;When the deployment completes, the &lt;strong&gt;My Design&lt;/strong&gt; pane shows &lt;strong&gt;Design Deployed&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The event history window shows the details of the design build and deployment.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;To run Database Designer with Administration Tools, see &lt;a href=&#34;../../../en/getting-started/db-designer/running-db-designer-with-admin-tools/#&#34;&gt;Running Database Designer with administration tools&lt;/a&gt; in this guide.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Getting-Started: Running Database Designer with administration tools</title>
      <link>/en/getting-started/db-designer/running-db-designer-with-admin-tools/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/getting-started/db-designer/running-db-designer-with-admin-tools/</guid>
      <description>
        
        
        &lt;p&gt;In this procedure, you create a comprehensive design with Database Designer using the Administration Tools interface. If, in the future, you have a query that you want to optimize, you can create an enhanced (incremental) design with additional projections. You can tune these projections specifically for the query you provide. See &lt;a href=&#34;../../../en/admin/configuring-db/creating-db-design/general-design-settings/#Incremen&#34;&gt;Incremental Design&lt;/a&gt; for more information.&lt;/p&gt;
&lt;p&gt;Follow these steps to create the comprehensive design using Database Designer in Administration Tools:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;If you are not in Administration Tools, exit the vsql session and access Administration Tools:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Type &lt;code&gt;\q&lt;/code&gt; to exit vsql.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Type &lt;code&gt;admintools&lt;/code&gt; to access the Administration Tools Main Menu.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Start the database for which you want to create a design.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;From the &lt;strong&gt;Main Menu&lt;/strong&gt;, click &lt;strong&gt;Configuration Menu&lt;/strong&gt; and then click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;From the &lt;strong&gt;Configuration Menu&lt;/strong&gt;, click &lt;strong&gt;Run Database Designer&lt;/strong&gt; and then click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When the &lt;strong&gt;Select a database for design&lt;/strong&gt; dialog box opens, select &lt;strong&gt;VMart&lt;/strong&gt; and then click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;If you are prompted to enter the password for the database, click &lt;strong&gt;OK&lt;/strong&gt; to bypass the message. Because no password was assigned when you installed the VMart database, you do not need to enter one now.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;OK&lt;/strong&gt; to accept the default directory for storing Database Designer output and log files.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Database Designer&lt;/strong&gt; window, enter a name for the design, for example, &lt;code&gt;vmart_design&lt;/code&gt;, and click &lt;strong&gt;OK&lt;/strong&gt;. Design names can contain only alphanumeric characters or underscores. No other special characters are allowed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create a complete initial design. In the &lt;strong&gt;Design Type&lt;/strong&gt; window, click &lt;strong&gt;Comprehensive&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 schemas. Because the VMart design is a multi-schema database, you can select all three schemas (online_sales, public, and store) for your design. Click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;If you include a schema that contains tables without data, the Administration Tools notifies you that designing for tables without data could be suboptimal. You can choose to continue, but OpenText recommends that you deselect the schemas that contain empty tables before you proceed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Design Options&lt;/strong&gt; window, accept all three options and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The three options are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Optimize with queries:&lt;/strong&gt; Supplying the Database Designer with queries is especially important if you want to optimize the database design for query performance. OpenText recommends that you limit the design input to 100 queries.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Update statistics:&lt;/strong&gt; Accurate statistics help the Database Designer choose the best strategy for data compression. If you select this option, the database statistics are updated to maximize design quality.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Deploy design:&lt;/strong&gt; The new design deploys automatically. During deployment, new projections are added, some existing projections retained, and any necessary existing projections removed. Any new projections are refreshed to populate them with data.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Because you selected the &lt;strong&gt;Optimize with queries&lt;/strong&gt; option, you must enter the full path to the file containing the queries that will be run on your database. In this example, it is:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/opt/vertica/examples/VMart_Schema/vmart_queries.sql
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The queries in the query file must be delimited with semicolons (;). The last query must end with a semicolon (;).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Choose the K-safety value you want and click &lt;strong&gt;OK&lt;/strong&gt;. The design K-Safety determines the number of buddy projections you want Database Designer to create.&lt;/p&gt;
&lt;p&gt;If you create a comprehensive design on a single node, you are not prompted to enter a K-safety value.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Optimization Objective&lt;/strong&gt; window, select &lt;strong&gt;Balanced query/load performance&lt;/strong&gt; to create a design that is balanced between database size and query performance. Click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When the informational message displays, click &lt;strong&gt;Proceed&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Database Designer automatically performs these actions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Sets up the design session.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Examines table data.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Loads queries from the query file you provided (in this example, &lt;code&gt;/opt/vertica/examples/VMart_Schema/vmart_queries.sql&lt;/code&gt;).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Creates the design.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Deploys the design or saves a SQL file containing the commands to create the design, based on your selections in the Desgin Options window.&lt;/p&gt;
&lt;p&gt;Depending on system resources, the design process could take several minutes. You should allow this process to complete uninterrupted. If you must cancel the session, use Ctrl+C.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When Database Designer finishes, press &lt;strong&gt;Enter&lt;/strong&gt; to return to the Administration Tools menu. Examine the steps taken to create the design. The files are in the directory you specified to store the output and log files. In this example, that directory is &lt;code&gt;/opt/vertica/examples/VMart_Schema&lt;/code&gt;. For more information about the script files, see &lt;a href=&#34;../../../en/admin/configuring-db/creating-db-design/about-db-designer/#&#34;&gt;About Database Designer&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For additional information about managing your designs, see &lt;a href=&#34;../../../en/admin/configuring-db/creating-db-design/#&#34;&gt;Creating a database design&lt;/a&gt; in the Administrator’s Guide.&lt;/p&gt;

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