Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-6538

aria_used_for_temp_tables cannot be set via my.cnf or my.ini file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a Bug
    • Affects Version/s: 10.0.12
    • Fix Version/s: N/A
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows and Linux

      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.

      mysql> select version();
      +-----------------+
      | version()       |
      +-----------------+
      | 10.0.12-MariaDB |
      +-----------------+
      
      mysql> show global variables like 'aria_used_for_temp_tables';
      +---------------------------+-------+
      | Variable_name             | Value |
      +---------------------------+-------+
      | aria_used_for_temp_tables | ON    |
      +---------------------------+-------+
      

      However, if you try to set it explicitly in the config file, you will receive an error:

      [mysqld]
      aria_used_for_temp_tables=ON
      

      Note I also tried:

      aria_used_for_temp_tables=1
      aria_used_for_tmp_tables=ON
      aria_used_for_tmp_tables=1
      

      All 4 failed:

      140805 15:49:39 [ERROR] C:\Program Files\MariaDB 10.0\bin\mysqld.exe: unknown variable 'aria_used_for_temp_tables=ON'
      
      140805 15:50:15 [ERROR] C:\Program Files\MariaDB 10.0\bin\mysqld.exe: unknown variable 'aria_used_for_temp_tables=1'
      
      140805 15:51:20 [ERROR] C:\Program Files\MariaDB 10.0\bin\mysqld.exe: unknown variable 'aria_used_for_tmp_tables=1'
      
      140805 15:51:39 [ERROR] C:\Program Files\MariaDB 10.0\bin\mysqld.exe: unknown variable 'aria_used_for_tmp_tables=ON'
      

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              serg Sergei Golubchik added a comment -

              aria_used_for_temp_tables is a read-only variable, the only way to change it is to recompile MariaDB

              Show
              serg Sergei Golubchik added a comment - aria_used_for_temp_tables is a read-only variable, the only way to change it is to recompile MariaDB
              Hide
              ccalender Chris Calender added a comment -

              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,
              Chris

              Show
              ccalender Chris Calender added a comment - 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, Chris
              Hide
              serg Sergei Golubchik added a comment -

              Correct.
              Yes.
              Yes, although you can allocate very little memory to MyISAM, if you don't use it.
              Okay, see MDEV-6630.

              Show
              serg Sergei Golubchik added a comment - Correct. Yes. Yes, although you can allocate very little memory to MyISAM, if you don't use it. Okay, see MDEV-6630 .

                People

                • Assignee:
                  serg Sergei Golubchik
                  Reporter:
                  ccalender Chris Calender
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: