[MDEV-23407] --temp-pool: change default to 0 and deprecate Created: 2020-08-05 Updated: 2020-08-05 Resolved: 2020-08-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
According to benchmarks made by Axel (and further analysis) , this code behind --temp-pool=1 in create_tmp_table() causes a heavy mutex contention:
The --temp-pool option was implemented to address some bottleneck in Linux kernel, which is reported to be fixed nowadays. In MySQL, --temp-pool was deprecated in 5.7 and removed in 8.0. Let's do the following:
In the meanwhile, we should try to find proves that this problem was really addressed in Linux. |