The external MonetDB server can be controlled from the R shell using the functions described below.
The general process is to generate a MonetDB database directory and startup script using
monetdb.server.setup
, then pass the path to the startup script to monetdb.server.start
.
This function will return the process id of the external database server, which in turn can be passed to
monetdb.server.stop
to stop the database server again. The process ID of a running MonetDB server can also be querid using monetdb.server.getpid
, which takes a DBI connection as a parameter. A better alternative to monetdb.server.stop
is monetdb.server.shutdown
, which takes a DBI connection to shut down the server.
All of these external server process control functions are discouraged in favor of embedded MonetDBLite::MonetDBLite()
functions.
Unlike an embedded instance, initiating an external server process requires MonetDB home page installed on the user's system.