<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Advanced installation</title>
    <link>/en/getting-started/vmart-install-connect/advanced-installation/</link>
    <description>Recent content in Advanced installation on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/getting-started/vmart-install-connect/advanced-installation/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Getting-Started: Step 1: setting up the example environment</title>
      <link>/en/getting-started/vmart-install-connect/advanced-installation/step-1-setting-up-example-environment/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/getting-started/vmart-install-connect/advanced-installation/step-1-setting-up-example-environment/</guid>
      <description>
        
        
        &lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Stop all databases running on the same host on which you plan to install your example database.&lt;/p&gt;
&lt;p&gt;If you are unsure if other databases are running, run the Administration Tools and select &lt;strong&gt;View Cluster State&lt;/strong&gt;. The State column should show DOWN values on pre-existing databases.&lt;/p&gt;
&lt;p&gt;If databases are running, click &lt;strong&gt;Stop Database&lt;/strong&gt; in the &lt;strong&gt;Main Menu&lt;/strong&gt; of the Administration Tools interface and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In a terminal window, log in as the database administrator:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ su dbadmin
Password: 
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Change to the &lt;code&gt;/VMart_Schema&lt;/code&gt; directory.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ cd /opt/vertica/examples/VMart_Schema
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Do not change directories while following this tutorial. Some steps depend on being in a specific directory.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the sample data generator.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;
$ ./vmart_gen
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Let the program run with the default parameters, which you can review in the README file.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Using default parameters
datadirectory = ./
numfiles = 1
seed = 2
null = &amp;#39; &amp;#39;
timefile = Time.txt
numfactsalesrows = 5000000
numfactorderrows = 300000
numprodkeys = 60000
numstorekeys = 250
numpromokeys = 1000
numvendkeys = 50
numcustkeys = 50000
numempkeys = 10000
numwarehousekeys = 100
numshippingkeys = 100
numonlinepagekeys = 1000
numcallcenterkeys = 200
numfactonlinesalesrows = 5000000
numinventoryfactrows = 300000
gen_load_script = false
Data Generated successfully !
Using default parameters
datadirectory = ./
numfiles = 1
seed = 2
null = &amp;#39; &amp;#39;
timefile = Time.txt
numfactsalesrows = 5000000
numfactorderrows = 300000
numprodkeys = 60000
numstorekeys = 250
numpromokeys = 1000
numvendkeys = 50
numcustkeys = 50000
numempkeys = 10000
numwarehousekeys = 100
numshippingkeys = 100
numonlinepagekeys = 1000
numcallcenterkeys = 200
numfactonlinesalesrows = 5000000
numinventoryfactrows = 300000
gen_load_script = false
Data Generated successfully !
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If the &lt;code&gt;vmart_gen&lt;/code&gt; executable does not work correctly, recompile it as follows, and run the sample data generator script again.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ g++ vmart_gen.cpp -o vmart_gen
$ chmod +x vmart_gen
$ ./vmart_gen
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ol&gt;

      </description>
    </item>
    
    <item>
      <title>Getting-Started: Step 2: creating the example database</title>
      <link>/en/getting-started/vmart-install-connect/advanced-installation/step-2-creating-example-db/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/getting-started/vmart-install-connect/advanced-installation/step-2-creating-example-db/</guid>
      <description>
        
        
        &lt;p&gt;To create the example database: use the Administration Tools or Management Console, as described in this section.&lt;/p&gt;
&lt;h2 id=&#34;creating-the-example-database-using-the-administration-tools&#34;&gt;Creating the example database using the administration tools&lt;/h2&gt;
&lt;p&gt;In this procedure, you create the example database using the Administration Tools. To use the Management Console, go to the next section.

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

If you have not used Administration Tools before, see &lt;a href=&#34;../../../../en/getting-started/interfaces/#&#34;&gt;OpenText Analytics Database interfaces&lt;/a&gt;.

&lt;/div&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Run the Administration Tools.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ /opt/vertica/bin/admintools
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;or simply type &lt;code&gt;admintools&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;From the Administration Tools &lt;strong&gt;Main Menu&lt;/strong&gt;, click &lt;strong&gt;Configuration Menu&lt;/strong&gt; and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Create Database&lt;/strong&gt; and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Name the database &lt;code&gt;VMart&lt;/code&gt; and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../../images/advanced-install2.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;OK&lt;/strong&gt; to bypass the password and click &lt;strong&gt;Yes&lt;/strong&gt; to confirm.&lt;/p&gt;
&lt;p&gt;There is no need for a database administrator password in this tutorial. When you create a production database, however, always specify an administrator password. Otherwise, the database is permanently set to trust authentication (no passwords).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the hosts you want to include from your database cluster and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;This example creates the database on a one-host cluster. OpenText recommends a minimum of three hosts in the cluster. If you are using the Trial license, you are limited to three nodes.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../../images/advanced-install3.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;OK&lt;/strong&gt; to select the default paths for the data and catalog directories.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../../images/advanced-install4.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Catalog and data paths must contain only alphanumeric characters and cannot have leading space characters. Failure to comply with these restrictions could result in database creation failure.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When you create a production database, you’ll likely specify other locations than the default. See &lt;a href=&#34;../../../../en/admin/configuring-db/config-procedure/&#34;&gt;Prepare Disk Storage Locations&lt;/a&gt; in the Administrator’s Guide for more information.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Since this tutorial uses a one-host cluster, a K-safety warning appears. Click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../../images/advanced-install5.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Yes&lt;/strong&gt; to create the database.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../../images/advanced-install6.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;During database creation, the database automatically creates a set of node definitions based on the database name and the names of the hosts you selected and returns a success message.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;OK&lt;/strong&gt; to close the &lt;strong&gt;Database VMart created successfully&lt;/strong&gt; message.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../../images/advanced-install7.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;creating-the-example-database-using-management-console&#34;&gt;Creating the example database using Management Console&lt;/h2&gt;
&lt;p&gt;In this procedure, you create the example database using Management Console. To use the Administration Tools, follow the steps in the preceding section.

&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 use Management Console, the console should already be installed and you should be familiar with its concepts and layout. For details, see &lt;a href=&#34;../../../../en/mc/#&#34;&gt;Management Console&lt;/a&gt;.

&lt;/div&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Connect to Management Console and log in.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On the Home page, click &lt;strong&gt;Infrastructure&lt;/strong&gt; to go to the Databases and Clusters page.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click to select the appropriate existing cluster and click &lt;strong&gt;Create Database&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Follow the on-screen wizard, which prompts you to provide the following information:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Database name, which must be between 3–25 characters, starting with a letter, and followed by any combination of letters, numbers, or underscores.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;(Optional) database administrator password for the database you want to create and connect to.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;IP address of a node in your database cluster, typically the IP address of the administration host.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

      </description>
    </item>
    
    <item>
      <title>Getting-Started: Step 3: connecting to the database</title>
      <link>/en/getting-started/vmart-install-connect/advanced-installation/step-3-connecting-to-db/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/getting-started/vmart-install-connect/advanced-installation/step-3-connecting-to-db/</guid>
      <description>
        
        
        &lt;p&gt;Regardless of the installation method you used, follow these steps to connect to the database.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;As 
&lt;code&gt;dbadmin&lt;/code&gt;, run the Administration Tools.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;$ /opt/vertica/bin/admintools&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;or simply type &lt;code&gt;admintools&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you are already in the Administration Tools, navigate to the Main Menu page.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;Connect to Database&lt;/strong&gt;, click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../../images/connecting.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;To configure and load data into the VMart database, complete the following steps:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/getting-started/vmart-install-connect/advanced-installation/step-4-defining-db-schema/#&#34;&gt;Step 4: defining the database schema&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/getting-started/vmart-install-connect/advanced-installation/step-5-loading-data/#&#34;&gt;Step 5: loading data&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you installed the VMart database using the Quick Installation method, the schema, tables, and data are already defined. You can choose to drop the example database (see &lt;a href=&#34;../../../../en/getting-started/restoring-status-of-your-host/&#34;&gt;Restoring the Status of Your Host&lt;/a&gt; in this guide) and perform the Advanced Installation, or continue straight to &lt;a href=&#34;../../../../en/getting-started/querying-data/&#34;&gt;Querying Your Data&lt;/a&gt; in this guide.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

      </description>
    </item>
    
    <item>
      <title>Getting-Started: Step 4: defining the database schema</title>
      <link>/en/getting-started/vmart-install-connect/advanced-installation/step-4-defining-db-schema/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/getting-started/vmart-install-connect/advanced-installation/step-4-defining-db-schema/</guid>
      <description>
        
        
        &lt;p&gt;The VMart database installs with sample scripts with SQL commands that are intended to represent queries that might be used in a real business. The &lt;code&gt;vmart_define_schema.sql&lt;/code&gt; script runs a script that defines the VMart schema and creates tables. You must run this script before you load data into the VMart database.&lt;/p&gt;
&lt;p&gt;This script performs the following tasks:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Defines two schemas in the VMart database schema: &lt;em&gt;online_sales&lt;/em&gt; and &lt;em&gt;store&lt;/em&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Defines tables in both schemas.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Defines constraints on those tables.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Vmart=&amp;gt; \i vmart_define_schema.sql
CREATE SCHEMA
CREATE SCHEMA
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
ALTER TABLE
CREATE TABLE
CREATE TABLE
ALTER TABLE
CREATE TABLE
ALTER TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
ALTER TABLE
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Getting-Started: Step 5: loading data</title>
      <link>/en/getting-started/vmart-install-connect/advanced-installation/step-5-loading-data/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/getting-started/vmart-install-connect/advanced-installation/step-5-loading-data/</guid>
      <description>
        
        
        &lt;p&gt;Now that you have created the schemas and tables, you can load data into a table by running the &lt;code&gt;vmart_load_data.sql&lt;/code&gt; script. This script loads data from the 15 &lt;code&gt;.tbl&lt;/code&gt; text files in &lt;code&gt;/opt/vertica/examples/VMart_Schema&lt;/code&gt; into the tables that &lt;code&gt;vmart_design_schema.sql&lt;/code&gt; created.&lt;/p&gt;
&lt;p&gt;It might take several minutes to load the data on a typical hardware cluster. Check the load status by monitoring the &lt;code&gt;vertica.log&lt;/code&gt; file, as described in &lt;a href=&#34;../../../../en/admin/monitoring/monitoring-log-files/&#34;&gt;Monitoring Log Files&lt;/a&gt; in the Administrator’s Guide.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;VMart=&amp;gt; \i vmart_load_data.sql
Rows Loaded
-------------
1826
(1 row)
Rows Loaded
-------------
60000
(1 row)
Rows Loaded
-------------
250
(1 row)
Rows Loaded
-------------
1000
(1 row)
Rows Loaded
-------------
50
(1 row)
Rows Loaded
-------------
50000
(1 row)
Rows Loaded
-------------
10000
(1 row)
Rows Loaded
-------------
100
(1 row)
Rows Loaded
-------------
100
(1 row)
Rows Loaded
-------------
1000
(1 row)
Rows Loaded
-------------
200
(1 row)
Rows Loaded
-------------
5000000
(1 row)
Rows Loaded
-------------
300000
(1 row)
VMart=&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
  </channel>
</rss>
