[MDEV-30355] set names effects performance significantly when compiling function Created: 2023-01-06 Updated: 2023-03-09 Resolved: 2023-03-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Character Sets, Prepared Statements |
| Affects Version/s: | 10.8.6 |
| Fix Version/s: | 10.8.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Anton Avramov | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Having a different character set when compiling a function can impact the performance of the function significantly. Have a look at the attached function. In the following sequence you would observe that the execution is almost 10 times slower for just 10000 invocation and the only difference is the character set set when compiling the function.
If this is expected behaviour it should be well documented, but I couldn't find anything on the subject. |
| Comments |
| Comment by Sergei Golubchik [ 2023-01-07 ] |
|
Please, try again when 10.8.7 is out. May be it's |
| Comment by Sergei Golubchik [ 2023-03-06 ] |
|
10.8.7 is out. Did it help? |
| Comment by Anton Avramov [ 2023-03-09 ] |
|
It seams so. I wasn't able to reproduce the effect with the latest version, so I guess it is fixed. Thank you very much |