The Gold Demo Database
======================

The scripts/gold subdirectory of the MonetDB diustribution contains the files 
and tests for a Data mining benchmark database

Creating the database:
=====================

We suppose you have configured and succesfully made and installed Monet
in a directory $MONETDB_PREFIX. Make sure $MONETDB_PREFIX/bin is in your PATH.

$ mkdir $MONETDB_PREFIX/var/MonetDB/dbfarm/gold
$

So, creating a database is nothing more than creating a directory in the 
'dbfarm' directory (the default dbfarm is $MONETDB_PREFIX/var/MonetDB/dbfarm)

A different dbfarm location can be chosen and can then be passed to
Msever with the --dbfarm <dir> command line switch.

 
Loading the database:
=====================

$ export TSTTRGDIR=`pwd`
$ Mserver --dbname=gold < load.mil

Create the two supportive tables:
=================================

$ Mserver --dbname=gold < init.mil
$

Running the experiment:
=======================

$ Mserver --dbname=gold tst100.mil >output
$
 
Summarize the results:
======================

$ sh summary
$


Virtual OID Demo
================
In order to use the virtual oid features, first create a vectorized 
database with the void.mil script. Make sure that you have the 
'str' and 'enum' modules installed!

$ Mserver --dbname=gold < void.mil
$

Rerun the experiment:
=====================

$ Mserver --dbname=gold tstvoid.mil >output
$
 
Summarize the results:
======================

$ sh summary
$

It will be roughly twice as fast..
