-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using RMariaDB with Columnstore Tables #183
Comments
Thanks, this is really weird (and doesn't look like a duplicate of #131). Is this still a problem? Is the client doing any work (=full load on one or more CPU cores)? How can I replicate this? |
Yes, still a problem. Our DBAs took a look at this and noticed that when queries are executed using RMariaDB, it is not multi-threading. They ran the As far as how to replicate this, I'm not sure. When you run a |
IIUC, the database host has multiple CPUs, and only one is utilized by According to https://mariadb.com/kb/en/mariadb-columnstore-performance-concepts/, One thing RMariaDB does differently is the use of parametrized queries throughout. I have no evidence that this might be the actual reason, it's worth a try. Would you be able to run a source installation when #147 is implemented? |
Yes I can run a source installation. Just let me know when. Just to clarify, |
Blocked by #147 which I had to postpone. |
I am trying to use the RMariaDB package to query MariaDB columnstore tables. Queries that should take seconds are taking much longer.
For example a simple query like
dbGetQuery(conn, "select count(*) from example_table")
, whereexample_table
has about 300 million rows, takes under a second using other IDEs or using the odbc R package. But when using RMariaDB it takes much longer.Is there some setting or option that needs to be changed to make the RMariaDB package perform optimally with columnstore tables?
The text was updated successfully, but these errors were encountered: