I am completely new to MonetDB and trying to set it up on Windows. I didn't know how to create my own database, but this thread from 7 years ago helped. Now, I have follow-up questions.
At first, I thought the way to have multiple databases is to create a separate MSQLserver.bat and M5server.bat for each and to pick the right one depending on the db you want to connect to? And that if you want to have both up and connect to them simultaneously, all you had to do was keep both batches running.
Well creating and running separate batches did create separate db's, although I am coming to realize by looking at the content of these batches that all they do to achieve this is create separate directories under %MONETDB%, meaning this is probably something I can do manually (mkdir) and all I need to do in order to create a new database in my farm. Is that correct?
Then, I realized that no matter which copy of the batches I am running, I can connect to both databases via JDBC from DBeaver. (Running both simultaneously actually allows me to connect only to the last one I run.) Unfortunately, I haven't found a way to do this without creating separate connections. I am coming from the SQL Server world where you establish a single connection to a server and once connected, you can access all databases at the same time.
I did find this other post that says I should use different ports for the different databases, but I didn't have to do that. I am connected to both via port 5000 at the same time.
Are all my assumptions above correct? Is there a better way?
I do have a somewhat unrelated question... It seems every database automatically starts with these 7 schemas shown above (json, logging, profiler, sys, etc.) Do people typically create their objects in one of those? sys seems to be the default. Or do they create their own? I created one called "main", but I am assuming a lot here.
Thanks in advance!