<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Overview of database designer</title>
    <link>/en/ot-cad/database-designer/</link>
    <description>Recent content in Overview of database designer on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/ot-cad/database-designer/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Ot-Cad: Database designer</title>
      <link>/en/ot-cad/database-designer/dbd/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/ot-cad/database-designer/dbd/</guid>
      <description>
        
        
        &lt;h2 id=&#34;about-database-designer&#34;&gt;About database designer&lt;/h2&gt;
&lt;p&gt;Use database designer to create designs that provide excellent performance and specific queries while using disk space efficiently. A design is a physical storage plan that optimizes query performance.&lt;/p&gt;
&lt;p&gt;The Database designer:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Analyzes your logical schema, sample data, and sample queries.&lt;/li&gt;
&lt;li&gt;Creates a physical schema design (a set of projections) that can be deployed manually.&lt;/li&gt;
&lt;li&gt;Does not require specialized database knowledge.&lt;/li&gt;
&lt;li&gt;Can be run and rerun any time for additional optimization without stopping the database.&lt;/li&gt;
&lt;li&gt;Uses strategies to provide optimal query performance and data compression.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The database designer recommends projection statements for all tables referenced in the selected queries to ensure optimal query performance. Up to 100 queries can be provided as input.&lt;/p&gt;
&lt;p&gt;Select the &lt;strong&gt;More options&lt;/strong&gt; button on the Home page. Choose &lt;strong&gt;Database designer&lt;/strong&gt;. The Database designer page appears with the &lt;strong&gt;Projections&lt;/strong&gt; and &lt;strong&gt;Designs&lt;/strong&gt; tabs.&lt;/p&gt;
&lt;p&gt;Only administrators have the privilege to execute the database designer.&lt;/p&gt;
&lt;h2 id=&#34;design-types&#34;&gt;Design types&lt;/h2&gt;
&lt;p&gt;Using the database designer, you can create two distinct design types: comprehensive or incremental.&lt;/p&gt;
&lt;h3 id=&#34;comprehensive-design&#34;&gt;Comprehensive design&lt;/h3&gt;
&lt;p&gt;A comprehensive design creates an initial or replacement design for all the tables in the specified schemas. Create a comprehensive design when you are creating a new database.&lt;/p&gt;
&lt;p&gt;To help the database designer create an efficient design, load representative data into the tables before you begin the design process. When you load data into a table, the database creates an unoptimized superprojection so that database designer has projections to optimize. If a table has no data, database designer cannot optimize it.&lt;/p&gt;
&lt;p&gt;Optionally, supply database designer with representative queries that you plan to use so database designer can optimize the design for them. If you do not supply any queries, database designer creates a generic optimization of the superprojections that minimizes storage with no query-specific projections.&lt;/p&gt;
&lt;p&gt;During a comprehensive design, database designer creates deployment scripts that:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;create projections to optimize query performance.&lt;/li&gt;
&lt;li&gt;create replacement buddy projections when database designer changes the encoding of existing projections that it decides to retain.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;incremental-design&#34;&gt;Incremental design&lt;/h3&gt;
&lt;p&gt;After you create and deploy a comprehensive database design, your database is likely to change over time. Consider using the database designer periodically to create incremental designs that address these changes. Changes that warrant an incremental design can include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Significant data additions or updates&lt;/li&gt;
&lt;li&gt;New or modified queries that you run regularly&lt;/li&gt;
&lt;li&gt;Performance issues with one or more queries&lt;/li&gt;
&lt;li&gt;Schema changes&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;view-design-details&#34;&gt;View design details&lt;/h2&gt;
&lt;p&gt;The &lt;strong&gt;Designs&lt;/strong&gt; tab lists the following information:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Design name&lt;/strong&gt; - The unique name of the design.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Last updated on&lt;/strong&gt; - The timestamp at which the design was last updated.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Type&lt;/strong&gt; - The type of the design.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Status&lt;/strong&gt; - The current status of the design. Valid values are:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Building&lt;/strong&gt; - The status immediately after creation of the design.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Built&lt;/strong&gt; - The status that is displayed after the design is successfully built.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Deployed&lt;/strong&gt; - The status of the design when it is successfully deployed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Error&lt;/strong&gt; - The status that is displayed when there are errors in the design. Click the &lt;strong&gt;Details&lt;/strong&gt; icon for more information.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In the Designs tab, you can view the design details.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Details&lt;/strong&gt; icon.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;Projection statement&lt;/strong&gt;, &lt;strong&gt;Log&lt;/strong&gt; and &lt;strong&gt;Sample queries&lt;/strong&gt; tabs are displayed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;Copy&lt;/strong&gt; to copy the projection statement to the clipboard and analyze it in the SQL editor.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;Download&lt;/strong&gt; to download the projection statement to a file with .sql extension and analyze the projection statements outside the application.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Deploy&lt;/strong&gt; to deploy the database design. The status of the database design changes to &lt;strong&gt;Deployed&lt;/strong&gt;. 
The Database designer recommends projections for the database design. When you deploy the design, projections are created or dropped accordingly and displayed in the Projections tab of the OTCAD UI. These projections help improve query and data load performance.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Log&lt;/strong&gt; tab to view information about the events and the timestamp.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Sample queries&lt;/strong&gt; tab to view information about the SQL query and the query ID.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;&amp;gt;&amp;gt;&lt;/strong&gt; to close the projection details.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;view-projection-details&#34;&gt;View projection details&lt;/h2&gt;
&lt;p&gt;The &lt;strong&gt;Projections&lt;/strong&gt; tab lists the following information:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Projection name&lt;/strong&gt; - The name of the projection.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Type&lt;/strong&gt; - The method in which the projection was created. By default, projections of type DESIGNER that are created by the database designer are displayed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Table name&lt;/strong&gt; - The name of the projection table.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Schema&lt;/strong&gt; - The name of the schema that contains the projection.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Creator&lt;/strong&gt; - The name of the projection&#39;s owner.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Segmented&lt;/strong&gt; - Specifies whether the projection is segmented.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Up to date&lt;/strong&gt; - Specifies whether projection data is up to date. Projections that are up to date are available to participate in query execution.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In the Projections tab, you can view the projection details.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Details&lt;/strong&gt; icon.&lt;/p&gt;
&lt;p&gt;The projection statement is listed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;Copy&lt;/strong&gt; to copy the projection statement to the clipboard and analyze it in the SQL editor.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Download&lt;/strong&gt; to download the projection statement to a file with .sql extension and analyze the projection statements outside the application.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;&amp;gt;&amp;gt;&lt;/strong&gt; to close the projection details.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;create-a-design&#34;&gt;Create a design&lt;/h2&gt;
&lt;p&gt;To create a design, do the following in the Database design page:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;+Create a design&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Design name&lt;/strong&gt; field, enter a unique name for the design.
All designs must have unique names and should be no more than 32 characters long. Identifiers (names) of objects such as schema, table, projection, column names, and so on can be up to 128 bytes in length.

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

&lt;pre&gt;&lt;code&gt;     Ensure that the design name complies with the design naming standard.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;The sample SQL queries are listed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Do one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Choose &lt;strong&gt;Comprehensive&lt;/strong&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;

&lt;pre&gt;&lt;code&gt;   For optimal performance, it is recommended to restrict the number of queries to 400 if you choose this option.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;
This option creates projections for all selected tables. Optional queries can improve optimization.
&lt;ul&gt;
&lt;li&gt;Choose one of the following options depending on your optimization objective:
&lt;ul&gt;
&lt;li&gt;Choose &lt;strong&gt;Optimize for performance&lt;/strong&gt; - Designs that are optimized for query performance. These designs typically favor fast query execution over load optimization and thus result in a larger storage footprint.&lt;/li&gt;
&lt;li&gt;Choose &lt;strong&gt;Optimize for load&lt;/strong&gt; - Designs that are optimized for loads minimize database size, potentially at the expense of query performance.&lt;/li&gt;
&lt;li&gt;Choose &lt;strong&gt;Balanced&lt;/strong&gt; - Designs that are balanced between database size and query performance.
&amp;lt;--or--&amp;gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Choose &lt;strong&gt;Incremental&lt;/strong&gt;.&lt;br&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;

&lt;pre&gt;&lt;code&gt;      For optimal performance, do not include more than 100 queries if you choose this option.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Proceed&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Select schema or table&lt;/strong&gt; area, choose the schema. Expand a schema and choose the tables for inclusion in the database design.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Proceed&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;What are the query samples&lt;/strong&gt; area, provide the SQL queries. Do one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Choose &lt;strong&gt;Upload queries&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Browse&lt;/strong&gt; and choose the file containing the SQL queries in your local drive that you need to upload.
The upload summary is displayed with a count of queries in these states-&lt;strong&gt;Accepted&lt;/strong&gt;, &lt;strong&gt;Illegal&lt;/strong&gt;, &lt;strong&gt;Non-design&lt;/strong&gt;, and &lt;strong&gt;Unsupported&lt;/strong&gt;. Only queries that are in the &lt;strong&gt;Accepted&lt;/strong&gt; state are considered for the database design.
&amp;lt;--or--&amp;gt;&lt;/li&gt;
&lt;li&gt;Choose &lt;strong&gt;Load from library&lt;/strong&gt;.
The sample SQL queries are listed.&lt;/li&gt;
&lt;li&gt;Choose one of the options - Last 10, Last 50, or Last 100 to load the last 10, last 50, or last 100 SQL queries respectively.&lt;/li&gt;
&lt;li&gt;From the &lt;strong&gt;Type&lt;/strong&gt; list, choose one of the following options:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Most recent&lt;/strong&gt; - The most recent SQL queries are displayed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Longest running&lt;/strong&gt; - The SQL queries that are running for the longest time duration are displayed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Frequently executed&lt;/strong&gt; - The SQL queries that are frequently executed are displayed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Memory intensive queries&lt;/strong&gt; - The SQL queries that use the maximum memory resources are displayed.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;From the &lt;strong&gt;Duration&lt;/strong&gt; list, choose one of the following options:
&lt;ul&gt;
&lt;li&gt;Last 1 hour&lt;/li&gt;
&lt;li&gt;Last 24 hours&lt;/li&gt;
&lt;li&gt;Last 7 days&lt;/li&gt;
&lt;li&gt;Last 14 days&lt;/li&gt;
&lt;li&gt;Custom&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Actions&lt;/strong&gt; column, choose the &lt;strong&gt;Details&lt;/strong&gt; icon to view the details of the SQL query.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Copy&lt;/strong&gt; to copy the SQL query to the clipboard and analyze it in the SQL editor.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Download&lt;/strong&gt; to download the SQL query to a file with &lt;code&gt;.sql&lt;/code&gt; extension.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;Create&lt;/strong&gt;.
The database design is created and displayed in the &lt;strong&gt;Designs&lt;/strong&gt; tab of the database designer page. Newly created database designs are displayed with a status &lt;strong&gt;Building&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;delete-a-design&#34;&gt;Delete a design&lt;/h2&gt;
&lt;p&gt;You can delete a design that is no longer in use or required.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the Database designer page, select the &lt;strong&gt;Designs&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;⋮&lt;/strong&gt; and &lt;strong&gt;Delete&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In the Confirmation dialog, select &lt;strong&gt;Delete&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This deletes the selected design and all it&#39;s configurations. The projections are not deleted.&lt;/p&gt;

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