mariadb 10.5 columstore install

161 views
Skip to first unread message

Van Dorsey

unread,
Jun 25, 2020, 6:45:42 PM6/25/20
to MariaDB ColumnStore
Hi, I am probably jumping the gun here but I made it through the install of community 10.5 with the columnstore options following the instructions. It looks like all processes are running but I get the following error with this simple test. Anyone find a working recipe?

ubuntu server 18.04 following:



CREATE TABLE orders (   orderkey INTEGER,    customer VARCHAR(45) ) ENGINE=ColumnStore;

causes this response:

ERROR 1815 (HY000): Internal error: CAL0009: IDB-2038: Failed to open file.  The DirectIO setting in Columnstore.xml may not be compatible with the file system.   

Van

Todd Stoffel

unread,
Jun 25, 2020, 9:28:51 PM6/25/20
to MariaDB ColumnStore
Can you try this?

sudo mcsSetConfig PrimitiveServers DirectIO "N"
sudo systemctl restart mariadb-columnstore

Roland Noland

unread,
Jun 26, 2020, 6:36:13 AM6/26/20
to Van Dorsey, MariaDB ColumnStore
This doesn't look right though b/c direct io benifits MCS io operations.

I wonder what is the filesystem you use?

Regards,
Roman

пт, 26 июн. 2020 г., 1:45 Van Dorsey <van.d...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "MariaDB ColumnStore" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mariadb-columns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mariadb-columnstore/c763b588-0ff0-4d3e-b95c-4f9f29923aa4o%40googlegroups.com.

Van Dorsey

unread,
Jun 26, 2020, 2:02:02 PM6/26/20
to MariaDB ColumnStore
Todd,
That worked. Thank you. Any background on Why?

Roman,
Agreed. Wondering Why, The Filesystem is zfs for this test.

Van

Jim Tommaney

unread,
Jun 26, 2020, 2:19:51 PM6/26/20
to MariaDB ColumnStore
Hi Van, good to see your continued involvement.

Maybe related to version of zfs?  


On Thursday, June 25, 2020 at 3:45:42 PM UTC-7, Van Dorsey wrote:

Roland Noland

unread,
Jun 26, 2020, 2:22:26 PM6/26/20
to Jim Tommaney, MariaDB ColumnStore
Very good point indeed.

пт, 26 июн. 2020 г., 21:19 Jim Tommaney <james.t...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "MariaDB ColumnStore" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mariadb-columns...@googlegroups.com.

Frederick Lubbe

unread,
Jun 26, 2020, 5:05:53 PM6/26/20
to Jim Tommaney, MariaDB ColumnStore

Hi,

I have been working with MariaDB ColumnStore since the InfiniDB days. I tested many filesystem options and types over the last 7 years. I concluded that ext2 no journal works well but ext4 no journal or XFS no journal on a LVM (linear) works exceptionally well with the best I/O performance for the MariaDB CS PM's dbroots. 

Remember to set vfs_cache_pressure = 3 and swappiness = 5. This way column store takes most advantage of the storage subsystem whether its SSD or HDD. Took us almost 6 months to find the storage sweetspot. 

These are my experiences running a 6 node cluster (2 um's and 4 pm's) with 580TB of data. Biggest table at 18 billion rows and still run windowing aggregate queries under 10 secs on that table.

F

Van Dorsey

unread,
Jun 26, 2020, 6:04:10 PM6/26/20
to mariadb-c...@googlegroups.com

Frederick,

That is good to know. I have been here since InfiniDB as well. Jim built some good stuff here and Maria seems to be carrying on the tradition.

It looks like no more multi-node installs, at least with Community 10.5. Can anyone confirm if that is just for this version or is multi node columnstore off the roadmap for community?

Van

Todd Stoffel

unread,
Jun 26, 2020, 7:07:24 PM6/26/20
to MariaDB ColumnStore
For now multi-node is limited to the enterprise version.
Reply all
Reply to author
Forward
0 new messages