This is an old revision of the document!


DRAFT

Omnidex Grids

Setting up a Grid Environment

Delcare nodes using the same DDL statements for ENVRIONMENT, DATABASE and TABLE.

create environment "myenv"
  max_threads 2
  node "node01"
   host "Localhost"
   port 7555
   environment "\\cust01\node01\simplegrid\node01"
   partitioned
  node "node02"
    host "Localhost"
    port 7555
    environment "\\cust01\node02\simplegrid\node02"
    partitioned
  in "simplegrid.xml"
  with delete;
create database "mydb"
 node "NODE1"
   type FLATFILE
   index_directory "idx\SIMPLE1_"   /* directory and index prefix */
 node "Node2"
   type FLATFILE
   index_directory "idx\simple_2
 in "odx.xml";
create table household
  node node01
    physical "dat\househould01.dat"
    partition_by  "STATE in ('NY', "PR', ...
                  and ZIP between '01000' and '49999'
  node node02
    physical "dat\househould02.dat"
    partition_by  "STATE in ('CA', "AL', ...
                  and ZIP between '49999' and '99999'

Indexing an Omnidex Grid

In an Omnidex Grid, each noee Indexes can be built concurrently for all nodes, or individually for each node.

To update indexes for all nodes:

Connect to the grid controller
issue the UPDATES INDEXES statement

To update indexes for an individual node:

  1. connect to the environment and individual node.

connect env[node]

 
Back to top
admin/grid/overview.1273869714.txt.gz ยท Last modified: 2012/10/26 14:46 (external edit)