Hi all –
I have always used the COPY BINARY INTO … commands to load my 2.0 Billion row genetic data into a monetdb table. With 135 columns, it has been blindingly fast.
Last week I moved from the June2016-SP2 release to dec2016-SP2. My binary loads are taking WAY longer. I killed one after 3 hours (via “call sys.stop(pid)” so it could clean up properly). I then started the load again, thinking perhaps the problem was related to the new columns I was adding.
I have since dropped the table and remade it using the same data and scripts that worked in just over 3 minutes in February on the jun2016-SP2 load. It is really chugging along – I’m up to 30 minutes and counting. I don’t have access to the sql log files, but the Merovingian.log shows nothing.
I do notice that previously the binary files, once loaded, were removed from the loading directly. This does not happen now. Were these files previously “moved” and now they are copied?
Has anyone see this performance issue with Dec2016-SP2 COPY BINARY INTO …. Commands?
Thanks - Lynn
Hello monetdb team –
We upgraded this afternoon to the latest version of monetdb (Jul2017-SP2). When testing access for my lab, I noticed the general login could no longer perform the command:
\d <table_name>
The errors were related to missing group access to sys.objects, sys.keys and sys.idxs. When, as monetdb admin, I granted “select” on these tables, the “\d <table_name>” command then worked.
Is this something new, or does it indicate a problem with the db ? It was not necessary to grant general users permission to these system tables previously.
Thanks - Lynn
Hi,
Sorry sending this email again because of limit in message body is 40 kb.
I had installed monetdb and now wanted to start mclient. So first i
started Mserver5.bat and then when i click on mclient.bat that time
"api-ms-win-crt-runtime-l1-1-0.dll is missing issue" this error is
coming in alert box. Is monetdb is only usefull for windows server
2003,vista and Windows 7 or it can be used with Windows 2012 server also?
Installed Visual C++ Redistributable for Visual Studio 2015 , then too
error coming . Please check attached screenshot. this error coming when
tried to start mclient
Just getting back into trying MonetDB after many years. Got the
environment set up pretty well with the test DB `VOC` loaded up and able
to do all expected in the command line tools. So I figured I would give
a couple of the mentioned GUI tools a shot and see how they work against
the server I just set up on a virtual box.
I picked up the JDBC drivers and installed on my Window's 10 install of
SQuirrel SQL and DBeaver. I got both of the drivers works sort of... On
DBeaver I can execute and see queries in the tool but can't do much more
than that.
Overall looks like an issue with accessing the system table
`sys.environment`, not sure if anything related to set up or rights.
Using the `voc` user as created with the example db in the getting
started. Any help or thought on where to start?
Thanks!
Sandy
-------- Errors
* DBeaver 4.0.8
On inspection of some of the logs I see things like -
`Error loading object metadata from database`
`SQL Error [22000]: SELECT: access denied for voc to table 'sys.environment'
java.sql.SQLException: SELECT: access denied for voc to table
'sys.environment'`
* SQuirreL SQL Client 3.7.1
java.sql.SQLException: SELECT: access denied for voc to table
'sys.environment'
-------- Driver and DB versions
I'm using this JAR for the drivers -
C:\Users\Squidward\Downloads\monetdb-jdbc-2.25.jar, 2.25 (Liberica
20170330 based on MCL v1.15)
MonetDB version - MonetDB v11.25.23 (Dec2016-SP5),
'mapi:monetdb://sandy-VirtualBox-18:50000/voc'
The MonetDB team at CWI/MonetDB BV is pleased to announce the
Jul2017-SP2 bugfix release of the MonetDB suite of programs.
More information about MonetDB can be found on our website at
<http://www.monetdb.org/>.
For details on this release, please see the release notes at
<http://www.monetdb.org/Downloads/ReleaseNotes>.
As usual, the download location is <http://dev.monetdb.org/downloads/>.
Jul 2017-SP2 bugfix release (11.27.9)
MonetDB Common
* A serious bug, possibly resulting in database corruption, having to
do with appending data to a string BAT was fixed.
Bug Fixes
* 4017: server crashes when executing particular loopback query in
embedded python
* 6207: identifier ambiguous when grouping and selecting the same
column twice
* 6239: Incorrect profiling
* 6261: New handling of delta tables hurts badly reusage of bats
* 6287: should the CORR function return some numeric type that allows
fractions?
* 6321: Two-column aggregation on join result extremely slow.
* 6335: Sqlitelogictest crash in complex SQL query
* 6343: MERGE TABLE issue: unable to find
* 6348: Interference of procedure/table name
* 6350: Carriage return and form feed in TEXT fields are returned as
'r' and 'f' in jdbcclient and ResultSets
* 6352: Scope resolution problem (sqlsmith)
* 6353: implicit NULL value not propagated in distributed/remote
query
* 6374: Wrong answer from merge table after content changes
* 6379: Table UDF: SEGV raised when invoking a non existing function
* 6380: unable to create new databases from clean installation
* 6381: Parser misses error messages in conditional
* 6382: Can't set JSON fields via PreparedStatement
* 6384: crash when setting a wrong listenaddr
* 6385: AGGREGATE UDFs with more than 2 parameters incorrectly
processed
* 6386: Unexpected error from server for query with long floats
* 6387: Performance degradation on multi column sort
* 6388: JDBC Connection via user voc produces errors when fetching
certain meta data information
* 6392: SELECT EXISTS (empty table) returns 'true'
* 6395: BAT leak of scalar result sets
* 6397: Isolation of generating functions not correct
* 6398: Null Matches in outer join are not supported
* 6399: UDF crashes when subquery and scalar values are passed as
pameters
* 6400: getCharacterStream() currently not supported
* 6404: COPY INTO crashes if table has primary key or foreign key
constraint
* 6405: Compilation error if DISABLE_PARENT_HASH not defined
* 6409: sqllogictest crash on aggregation query with NOT IN clause in
HAVING clause
* 6410: Sqlitelogictest crash on aggregation query with IN clause
* 6411: Sqlitelogictest crash in aggregation query
* 6412: Overflow in sys.epoch
* 6413: Wrong answer for TPC-H Q17
* 6414: Using RPAD returns: could not allocate space
* 6416: Sqlitelogictest crash in aggregation query with a NOT IN
clause
* 6417: Segfault encountered (sqlsmith)
* 6418: Segfault in renaming (sqlsmith)
* 6419: segfault in rel_optimizer (sqlsmith)
* 6420: Assertion error in mergetable task (sqlsmith)
* 6422: Another assertion error in rel_or (sqlsmith)
* 6423: Dereference null pointer (sqlsmith)
* 6424: Assertion error in rel_rename_expr (sqlsmith)
* 6425: Assertion error in exp_bin (sqlsmith)
* 6426: Assertion error in rel_find_exp_ (sqlsmith)
* 6427: Assertion error in eq_typeswitchloop (sqlsmith)
* 6428: Sqlitelogictest crash in aggregation query
* 6430: Assertion raised in another eq_typeswitch error (sqlsmith)
* 6431: Sqlitelogictest crash in aggregation query with a long having
clause
* 6432: Assertion error in exp_bin (sqlsmith)
* 6433: Sqlitelogictest crash in complex SELECT query with IN
operator
* 6435: Sqlitelogictest crash in simple select query
* 6437: System schemas "profiler" and "json" shouldn't be allowed to
be dropped.
* 6438: Implement functionality to enforce the restrict option in:
DROP SCHEMA xyz RESTRICT;
* 6440: Faulty plan generated. Query returns more rows than expected
or existing in the view sys.tables.
Hi, all. I'm trying to figure out the proper syntax for queries such as a moving average over a window in MonetDB.
THis works:
sql>select avg(energy) from TABLENAME;
+--------------------------+
| L3 |
+==========================+
| 658.5049567388747 |
+--------------------------+
This fails:
select avg(energy) OVER () from TABLENAME;
SELECT: function 'avg' not found
(Welcome to mclient, the MonetDB/SQL interactive terminal (Jul2017-SP1)
Database: MonetDB v11.27.5 (Jul2017-SP1), 'mapi:monetdb://SERVER2:50000/scada' )
How do I write such a query?
Many thanks.
All,
I wanted to have "Transaction Replication" setup for getting an load balanced environment. It's mentioned in the documentation that below property needs to be setup for replication or shipping of the transaction log. How and where should I setup this? Is there anything else I should keep in mind for transaction replication?
gdk_keep_persisted_log_files
gdk_shared_logdir
gdk_shared_drift_threshold
Also, I wanted to know if we can have similar approach as below.
Can we have different tables that are part of the same schema from different disks/mounts in MonetDB?
Table 1 from Mount X
Table 2 from Mount Y
Regards,
Sreejith
Hi, all. Still trying to get rolling averages out of my MonetDB database, and I ran into this:
Line 3954 of sql_parser.y,
window_frame_end:
UNBOUNDED FOLLOWING { $$ = _symbol_create_int(SQL_FRAME, -1); }
| window_frame_following { $$ = $1; }
| CURRENT ROW { $$ = _symbol_create_int(SQL_FRAME, 0); }
;
window_frame_following:
value_exp PRECEDING { $$ = $1; }
;
Should that not be "value_exp FOLLOWING "?
Also, below parameters.
gdk_shared_logdir
gdk_shared_drift_threshold
From: Sharma, Sreejith
Sent: Tuesday, October 24, 2017 4:01 PM
To: Communication channel for MonetDB users
Subject: Transaction Replication Question - how to setup gdk_keep_persisted_log_files?
All,
I wanted to have "Transaction Replication" setup for getting an load balanced environment. It's mentioned in the documentation that below property needs to be setup for replication or shipping of the transaction log. How and where should I setup this? Is there anything else I should keep in mind for transaction replication?
gdk_keep_persisted_log_files
Regards,
Sreejith