To everyone everyone we are using monetdb for storing considerably large amount of data, It works fine with complex queries but failed in performance to simple select statement when it comes to present data. HERE is a simple command RUN on table having 34 columns and it takes 58 seconds.
SELECT * FROM "mydb"."calls" WHERE id > -1 AND id<= 10000;
Now let to check if there is any issue with Query, bit modified and tested query given below, it returned response in 317ms.
SELECT COUNT(*) FROM (SELECT * FROM "mydb"."calls" WHERE id > -1 AND id<= 10000) cdrs;
Can Anyone suggest configuration settings to resolve this issue?
Database: MonetDB v11.20.0 (unreleased)
Database Shell : mclient
Python Lib: monetdb.sql
mserver5 --version
MonetDB 5 server v11.20.0 (64-bit, 64-bit oids, 128-bit integers)
This is an unreleased version
Copyright (c) 1993-July 2008 CWI
Copyright (c) August 2008-2015 MonetDB B.V., all rights reserved
Visit http://www.monetdb.org/ for further information
Found 31.4GiB available memory, 24 available cpu cores
Libraries:
libpcre: 8.36 2014-09-26 (compiled with 8.36)
openssl: OpenSSL 1.0.1m 19 Mar 2015 (compiled with OpenSSL 1.0.1m 19 Mar 2015)
libxml2: 2.9.2 (compiled with 2.9.2)
Compiled by: root@cdrs (x86_64-unknown-linux-gnu)
Compilation: gcc -O3 -fomit-frame-pointer -pipe -Werror -Wall -Wextra -W -Werror-implicit-function-declaration -Wpointer-arith -Wdeclaration-after-statement -Wundef -Wformat=2 -Wno-format-nonliteral -Winit-self -Winvalid-pch -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wold-style-definition -Wpacked -Wunknown-pragmas -Wvariadic-macros -fstack-protector-all -Wstack-protector -Wpacked-bitfield-compat -Wsync-nand -Wjump-misses-init -Wmissing-include-dirs -Wlogical-op -Wunreachable-code