[MCOL-4777] Slow query on ColumnStore Created: 2021-06-25 Updated: 2022-08-29 |
|
| Status: | Open |
| Project: | MariaDB ColumnStore |
| Component/s: | ? |
| Affects Version/s: | None |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | Sebastien GIRAUD | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Hi one of our customer is facing slowness when performing some particular queries on ColumnStore 1.5 . Here are these queries : Query 2: 0 row(s) affected Query 3: 1 queries executed, 1 success, 0 errors, 0 warnings Query 4: Exec: 2,504s Total: 4,132s 500000 rows Query 4 bis (very similar to the previous one) On CS 1.2 the query is executed in 47 secondes and on CS 10.5 the query is executed in 98s |
| Comments |
| Comment by Sebastien GIRAUD [ 2021-09-21 ] |
|
Also the following Jira : https://jira.mariadb.org/browse/MCOL-4759 |
| Comment by Roman [ 2022-02-14 ] |
|
sebastien.giraud Could I ask you to collect calsetrace/calgettrace runtime statistics for the query taken with MCS 1.2 and 10.5? |
| Comment by Roman [ 2022-08-29 ] |
|
sebastien.giraud The actual workaround will be using a latin1 encoding and latin1_bin_nopad collation to query the table. This will give the speed of 1.2. In many cases the current default uses utf8 encoding and corresponding collations that makes GROUP BY slower. This is an implicit behavior change that we faced introducing collation support. |