[MDEV-6538] aria_used_for_temp_tables cannot be set via my.cnf or my.ini file Created: 2014-08-05 Updated: 2022-03-22 Resolved: 2014-08-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.12 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Chris Calender (Inactive) | Assignee: | Sergei Golubchik |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows and Linux |
||
| Issue Links: |
|
||||||||
| Description |
|
The variable, aria_used_for_temp_tables, cannot be set via the config (my.cnf, my.ini) file. This variable is set to ON by default.
However, if you try to set it explicitly in the config file, you will receive an error:
Note I also tried:
Note I tried the latter 2 options because of this bug, thinking perhaps that might work: https://mariadb.atlassian.net/browse/MDEV-4563 I'd suggest if you're going to fix this bug, then I think 4563 should be fixed first, if it is going to be. |
| Comments |
| Comment by Sergei Golubchik [ 2014-08-06 ] |
|
aria_used_for_temp_tables is a read-only variable, the only way to change it is to recompile MariaDB |
| Comment by Chris Calender (Inactive) [ 2014-08-07 ] |
|
If aria_used_for_temp_tables is a read-only variable, and not able to be set, then you are forcing everyone to have temp tables written to disk be of type aria, correct? This forces users to allocate more RAM to "aria_pagecache_buffer_size", no? If so, then one must allocate RAM for InnoDB (in 99% of cases), MyISAM, and ARIA. This should be configurable (major reason being so people do not have to reduce RAM allocations from an existing storage engine buffer to add it to a third just for temp tables and their performance). Please consider this, or at least revert to a "feature request". Best wishes, |
| Comment by Sergei Golubchik [ 2014-08-22 ] |
|
Correct. |
| Comment by Michael Widenius [ 2022-03-22 ] |
|
In 10.6 and above, you don't have to allocate any notable memory to MyISAM if one is not going to use it at all. 64K would be more than enough. |