Appendix A. Proximity Quick Reference

MonetDB Server

The Mserver command is in /usr/local/Monet-mars/bin. You can add this directory to PATH or specify the full path on the command line.

To start the the MonetDB server on the default port (30000):

> Mserver --dbname name $PROX_HOME/resources/init-mserver.mil

where name is the name of the database to be served. The database name is the name of the directory under /usr/local/Monet-mars/var/MonetDB4/dbfarm/ in which the database files are stored.

Proximity uses the port number to select the appropriate protocol for the version of MonetDB being used. You must use a port number   40000 for the Mars versions (4.18.2 and 4.20) and a port number > 40000 for MonetDB 4.6.2.


To start the MonetDB server on a different port:

> Mserver --dbname name $PROX_HOME/resources/init-mserver.mil --set port=nnnnn

where

  • name is the name of the database to be served

  • nnnnn is the port number


To stop the MonetDB server:

MonetDB> quit();