[MCOL-4857] PERCENTILE() on MCS tables works slower then on InnoDB Created: 2021-09-05 Updated: 2021-09-12 |
|
| Status: | Open |
| Project: | MariaDB ColumnStore |
| Component/s: | ExeMgr, PrimProc |
| Affects Version/s: | 1.5.3, 6.1.1 |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | Roman | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Epic/Theme: | Performance |
| Description |
|
Here I copy/paste the message sent to our Google group. While this didn't always appear to be the case, it appears the performance of percentile functions against larger sets of data has deteriorated significantly where it is pretty much unusable. I tried to do some searching and could find much so I wanted to raise it here. MariaDB [hop_2021]> SELECT DISTINCT '2021-05-25' as dateval, t.*, count When reaching into the ~500k range it seems to hang indefinitely.
I then converted the table to innodb and re-ran the query on the larger set and it returned in seconds. I am happy to go that route, but just wanted to bring closure as to why. I was also tempted to run some regression to see if it was tied to a version, but I don't quite have the time to do so, haha. Any insight on this topic would be greatly appreciated! Is it expected that CS is not great at handling these types of functions? – |