[MCOL-1530] Optimize UDAF Created: 2018-07-05 Updated: 2023-07-02 Resolved: 2023-07-02 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | N/A |
| Affects Version/s: | 1.2 |
| Fix Version/s: | Icebox |
| Type: | New Feature | Priority: | Minor |
| Reporter: | David Hall (Inactive) | Assignee: | Todd Stoffel (Inactive) |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Description |
|
UDAF take significantly longer to process than built in functions – as much as 2x. Using a profiler, find the points that may be improved. Use of shared_ptr is one such. It turns out shared_ptr can get expensive in tight loops which we do with userData. I don't know if we can get rid of it here. More analysis is needed. Other optimizations need to be considered and perhaps extended to the entire aggregate system. |
| Comments |
| Comment by Todd Stoffel (Inactive) [ 2023-07-02 ] |
|
The "create date" on this ticket is pre-convergence with MariaDB server. If the issue still exists in a modern version of the engine/plugin please submit a new ticket. |