[MDEV-28311] aria_block_size minimum size 8192 Created: 2022-04-14 Updated: 2022-05-15 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Aria |
| Affects Version/s: | 10.6 |
| Fix Version/s: | 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | MG | Assignee: | Michael Widenius |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux |
||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
According to KB aria-system-variables/#aria_block_size and
|
| Comments |
| Comment by Daniel Black [ 2022-04-14 ] | ||||||||||
|
Corresponding tables/keys;
| ||||||||||
| Comment by MG [ 2022-04-14 ] | ||||||||||
|
It is worth pointing out that I was indeed able to use --aria_block_size=16384 but it reduced performance of my test query while using an internal temporary table. On the other hand, increasing tmp_memory_table_size and max_heap_table_size to 64M each improved performance about 2x for the test query. I did not recompile mariadb with myisam as the internal temp engine. On a "cold" start (did not disable buffer pool loading), and with defaults for temp table settings, perf bubbled up:
When avoiding Tmp_table_on_disk by increasing tmp_memory_table_size and max_heap_table_size to 64M each the query takes half as long and perf shows:
|