无法使用mserver5启动monetdb

时间:2018-03-25 18:41:20

标签: server monetdb

我有一个现有的monetdb安装和一个dbfarm。我想更改此(https://www.monetdb.org/Documentation/Guide/Multicores)docs页面中指定的monetdb使用的线程数。看起来我们需要使用mserver5而不是monetdbd启动monetdb才能设置此参数。所以,我尝试了以下命令:

mserver5 --dbpath=dbfarm/voc/ --set mapi_port=50000

 BBPdiskscan: unexpected file log.6, leaving /home/mskd/dbfarm/voc/bat/sql_logs/sql.
 BBPdiskscan: unexpected file BBP.dir, leaving /home/mskd/dbfarm/voc/bat/bat/BACKUP.
 # MonetDB 5 server v11.27.13 "Jul2017-SP4"
 # Serving database 'voc', using 8 threads
 # Compiled for x86_64-pc-linux-gnu/64bit with 128bit integers
 # Found 31.301 GiB available main-memory.
 # Copyright (c) 1993 - July 2008 CWI.
 # Copyright (c) August 2008 - 2018 MonetDB B.V., all rights reserved
 # Visit https://www.monetdb.org/ for further information
 # Listening for connection requests on mapi:monetdb://127.0.0.1:50000/
 # MonetDB/SQL module loaded

客户端无法连接到上述内容。

我认为这是因为上面的mserver输出的URI是错误的。通常,在使用monetdbd启动时,它会自动连接到URI:mapi:monetdb://127.0.0.1:50000/voc

有人可以指点我在使用mserver5启动monetdb时如何更改此URI?

1 个答案:

答案 0 :(得分:1)

I found how to do this. Have a look at the dbfarm/merovingian.log while starting it using monetdbd. The command is printed into the log file, change the threads parameter as needed.