[MCOL-4686] count(DINSTINCT) with a large number of distinct values runs forever Created: 2021-04-20 Updated: 2021-06-29 Resolved: 2021-06-29 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ExeMgr |
| Affects Version/s: | 6.1.1 |
| Fix Version/s: | 6.1.1 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | David Hall (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression | ||
| Issue Links: |
|
||||||||
| Sprint: | 2021-8, 2021-9 | ||||||||
| Description |
|
When attempting test200.sh, the test never finished.
never returns. It takes around 3 minutes in 5.6.1. Additionally, there appears to be a slowdown in lesser counts:
takes almost 3 minutes in 6.1.1, but 15 seconds in 5.6.1. |
| Comments |
| Comment by David Hall (Inactive) [ 2021-04-20 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The table is created as part of test200.sh. To create the table, For any database <db> Then run ' | cpimport <db> test200 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Roman [ 2021-06-28 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
test200.log converges at my VM for a reasonable time. It produces a log that is different comparing with the ref, some examples that went over 4G limit previously now don't throw an error and converge however there are two queries that previously run with 4G RAM limit but now don't.
The offending queries are:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Roman [ 2021-06-28 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
We need to redefine the test ref b/c of the changes in Aggregate code( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by David Hall (Inactive) [ 2021-06-28 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
QA: This appears to be fixed by | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2021-06-29 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Build verified: 6.1.1 ( Drone #2669 ) Executed the test on a 200000000 rows table. The query finished in 1 min 4.502 seconds. Timing is comparable to that in 5.6.1. |