Replies: 2 comments
-
|
OK, there are a couple of things here: |
Beta Was this translation helpful? Give feedback.
-
|
Thanks, creating data files with HammerDB datagen and then importing those files with MariaDB cpimport as described in the MariaDB document worked. I did change the Date formats in lineitem and orders files before cpimport to make it compatible with MariaDB date format. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Steve,
I am exploring HammerDB Analytic testing capabilities with MariaDB ColumnStore, and running into some problems.
My Setup:
2 Socket Intel Xeon server with 96Cores/192Threads and 768GB Memory
OS - Ubuntu 24.04 LTS with Linux 6.8
MariaDB comunity server v11.8.5 along with ColumnStore, installed directly from Mariadb (not compiled locally)
HammerDB 5.0
MariaDB server and HammerDB on the same system. My problem is as follows:
Using the included buildschema script for TPROC-H for MariaDB with maria_tpch_storage_engine set to Columnstore and maria_scale_fact 1, I can get the schema to build correctly - takes less than an hour. I even got the schema to build with scale factor 10, although it took many hours. Afterwards I can use the run script with Columstore, to get query results.
However, if I increase maria_num_tpch_threads to more than 1, even 2 or 4, then the schema build has errors. The errors show up immediately after the start of the build. Here is an example of the errors:
In this specific run, all 4 threads have errors and the build immediately ended. Sometimes some threads do not have the 'lost connection errors' and build completes, but I suspect the schema is not fully built in those runs. So the result is not useful.
In /var/log/mariadb/columnstore/debug.log I see errors when the failing schema build is run:
I have used "optimized linux kernel parameters" as suggested by MariaDB/Columnstore installation page here -
https://mariadb.com/docs/server/architecture/topologies/single-node-topologies/community-server-with-columnstore
I also tried to use Huge pages, it did not make any difference. I get the same errors.
In MariadB Server configuration file, I have set a few timeouts to really high values - 1000, 2000 etc. and max connections to few hundred thousand. Other than that I have not done any MariaDB configuration.
From Columnstore McsGetConfig, HashJoin.TotalUmMemory is set to 65%. I reduced this to 10%, to no effect.
Now Innodb engine when used for TPROC-H has no problem with schema build using large number of threads. But I would like to get Columnstore schema built for much larger scale factor (100 or up). That doesn't seem feasible if I can't use multiple threads to build schema and speedup the buid.
My question - Is there anything I am missing, some MariaDB/ColumnStore option or HammerDB option? Or is this a problem with Columnstore and needs to be reported there?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions