Details

    Description

      MariaDB Server's grammar supports the CREATE TABLESPACE, ALTER TABLESPACE, and DROP TABLESPACE statements. These statements seem to have been inherited from MySQL NDB Cluster.

      MySQL 5.7 supports these statements for InnoDB as well, but we chose not to merge that support in MariaDB 10.2.

      https://mariadb.com/kb/en/library/alter-tablespace/

      https://mariadb.com/kb/en/library/create-tablespace/

      https://mariadb.com/kb/en/library/drop-tablespace/

      The MySQL-compatible statements will actually still succeed on MariaDB, but will throw a warning. e.g.:

      MariaDB [db1]> CREATE TABLESPACE `ts1` ADD DATAFILE 'ts1.ibd' ENGINE=INNODB;
      Query OK, 0 rows affected, 1 warning (0.00 sec)
       
      MariaDB [db1]> SHOW WARNINGS;
      +---------+------+------------------------------------------------------------------------------------------------+
      | Level   | Code | Message                                                                                        |
      +---------+------+------------------------------------------------------------------------------------------------+
      | Warning | 1478 | Table storage engine 'InnoDB' does not support the create option 'TABLESPACE or LOGFILE GROUP' |
      +---------+------+------------------------------------------------------------------------------------------------+
      1 row in set (0.00 sec)

      Is there any reason to keep these in MariaDB?

      Attachments

        Issue Links

          Activity

            GeoffMontee Geoff Montee (Inactive) created issue -
            GeoffMontee Geoff Montee (Inactive) made changes -
            Field Original Value New Value
            GeoffMontee Geoff Montee (Inactive) made changes -
            GeoffMontee Geoff Montee (Inactive) made changes -
            GeoffMontee Geoff Montee (Inactive) made changes -
            GeoffMontee Geoff Montee (Inactive) made changes -
            GeoffMontee Geoff Montee (Inactive) made changes -
            Description MariaDB Server's grammar supports the CREATE TABLESPACE, ALTER TABLESPACE, and DROP TABLESPACE statements. These statements seem to have been inherited from MySQL NDB Cluster.

            MySQL 5.7 supports these statements for InnoDB as well, but we chose not to merge that support in MariaDB 10.2. The MySQL-compatible statements will actually still succeed on MariaDB, but will throw a warning. e.g.:

            {noformat}
            MariaDB [db1]> CREATE TABLESPACE `ts1` ADD DATAFILE 'ts1.ibd' ENGINE=INNODB;
            Query OK, 0 rows affected, 1 warning (0.00 sec)

            MariaDB [db1]> SHOW WARNINGS;
            +---------+------+------------------------------------------------------------------------------------------------+
            | Level | Code | Message |
            +---------+------+------------------------------------------------------------------------------------------------+
            | Warning | 1478 | Table storage engine 'InnoDB' does not support the create option 'TABLESPACE or LOGFILE GROUP' |
            +---------+------+------------------------------------------------------------------------------------------------+
            1 row in set (0.00 sec)
            {noformat}

            Is there any reason to keep these in MariaDB?
            MariaDB Server's grammar supports the CREATE TABLESPACE, ALTER TABLESPACE, and DROP TABLESPACE statements. These statements seem to have been inherited from MySQL NDB Cluster.

            MySQL 5.7 supports these statements for InnoDB as well, but we chose not to merge that support in MariaDB 10.2.

            https://mariadb.com/kb/en/library/alter-tablespace/

            https://mariadb.com/kb/en/library/create-tablespace/

            https://mariadb.com/kb/en/library/drop-tablespace/

            The MySQL-compatible statements will actually still succeed on MariaDB, but will throw a warning. e.g.:

            {noformat}
            MariaDB [db1]> CREATE TABLESPACE `ts1` ADD DATAFILE 'ts1.ibd' ENGINE=INNODB;
            Query OK, 0 rows affected, 1 warning (0.00 sec)

            MariaDB [db1]> SHOW WARNINGS;
            +---------+------+------------------------------------------------------------------------------------------------+
            | Level | Code | Message |
            +---------+------+------------------------------------------------------------------------------------------------+
            | Warning | 1478 | Table storage engine 'InnoDB' does not support the create option 'TABLESPACE or LOGFILE GROUP' |
            +---------+------+------------------------------------------------------------------------------------------------+
            1 row in set (0.00 sec)
            {noformat}

            Is there any reason to keep these in MariaDB?
            GeoffMontee Geoff Montee (Inactive) made changes -
            GeoffMontee Geoff Montee (Inactive) made changes -
            Assignee Sergei Golubchik [ serg ] Ralf Gebhardt [ ralf.gebhardt@mariadb.com ]
            ralf.gebhardt Ralf Gebhardt made changes -
            Fix Version/s 10.4 [ 22408 ]
            ralf.gebhardt Ralf Gebhardt made changes -
            Assignee Ralf Gebhardt [ ralf.gebhardt@mariadb.com ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 96247 ] MariaDB v4 [ 131067 ]
            AirFocus AirFocus made changes -
            Description MariaDB Server's grammar supports the CREATE TABLESPACE, ALTER TABLESPACE, and DROP TABLESPACE statements. These statements seem to have been inherited from MySQL NDB Cluster.

            MySQL 5.7 supports these statements for InnoDB as well, but we chose not to merge that support in MariaDB 10.2.

            https://mariadb.com/kb/en/library/alter-tablespace/

            https://mariadb.com/kb/en/library/create-tablespace/

            https://mariadb.com/kb/en/library/drop-tablespace/

            The MySQL-compatible statements will actually still succeed on MariaDB, but will throw a warning. e.g.:

            {noformat}
            MariaDB [db1]> CREATE TABLESPACE `ts1` ADD DATAFILE 'ts1.ibd' ENGINE=INNODB;
            Query OK, 0 rows affected, 1 warning (0.00 sec)

            MariaDB [db1]> SHOW WARNINGS;
            +---------+------+------------------------------------------------------------------------------------------------+
            | Level | Code | Message |
            +---------+------+------------------------------------------------------------------------------------------------+
            | Warning | 1478 | Table storage engine 'InnoDB' does not support the create option 'TABLESPACE or LOGFILE GROUP' |
            +---------+------+------------------------------------------------------------------------------------------------+
            1 row in set (0.00 sec)
            {noformat}

            Is there any reason to keep these in MariaDB?
            MariaDB Server's grammar supports the CREATE TABLESPACE, ALTER TABLESPACE, and DROP TABLESPACE statements. These statements seem to have been inherited from MySQL NDB Cluster.

            MySQL 5.7 supports these statements for InnoDB as well, but we chose not to merge that support in MariaDB 10.2.

            https://mariadb.com/kb/en/library/alter\-tablespace/

            https://mariadb.com/kb/en/library/create\-tablespace/

            https://mariadb.com/kb/en/library/drop\-tablespace/

            The MySQL\-compatible statements will actually still succeed on MariaDB, but will throw a warning. e.g.:

            {noformat}
            MariaDB [db1]> CREATE TABLESPACE `ts1` ADD DATAFILE 'ts1.ibd' ENGINE=INNODB;
            Query OK, 0 rows affected, 1 warning (0.00 sec)

            MariaDB [db1]> SHOW WARNINGS;
            +---------+------+------------------------------------------------------------------------------------------------+
            | Level | Code | Message |
            +---------+------+------------------------------------------------------------------------------------------------+
            | Warning | 1478 | Table storage engine 'InnoDB' does not support the create option 'TABLESPACE or LOGFILE GROUP' |
            +---------+------+------------------------------------------------------------------------------------------------+
            1 row in set (0.00 sec)
            {noformat}

            Is there any reason to keep these in MariaDB?
            ralf.gebhardt Ralf Gebhardt made changes -
            Assignee Michael Widenius [ monty ]
            julien.fritsch Julien Fritsch made changes -
            Issue Type Task [ 3 ] New Feature [ 2 ]
            ralf.gebhardt Ralf Gebhardt made changes -
            Issue Type New Feature [ 2 ] Task [ 3 ]
            monty Michael Widenius made changes -
            Fix Version/s N/A [ 14700 ]
            Resolution Won't Fix [ 2 ]
            Status Open [ 1 ] Closed [ 6 ]
            mariadb-jira-automation Jira Automation (IT) made changes -
            Zendesk Related Tickets 194091

            People

              monty Michael Widenius
              GeoffMontee Geoff Montee (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.