Type:
Bug
Priority:
Major
Resolution:
Unresolved
Affects Version/s:
11.4.4 , 10.5 , 10.6 , 10.11 , 11.4 , 11.8
root@spaceman:/home/snen# mariadb
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 40654
Server version: 11.4.4-MariaDB-deb11-log mariadb.org binary distribution
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> use my_db;
Database changed
MariaDB [my_db]> CREATE TABLE `t`(
-> `id` int(10) unsigned DEFAULT NULL
-> ) ENGINE=InnoDB DATA DIRECTORY='/ssdext/mysql_arch_tables';
Query OK, 0 rows affected (0,006 sec)
MariaDB [my_db]> SHOW CREATE TABLE `t` \G
*************************** 1. row ***************************
Table: t
Create Table: CREATE TABLE `t` (
`id` int(10) unsigned DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci DATA DIRECTORY='/ssdext/mysql_arch_tables/'
1 row in set (0,001 sec)
MariaDB [my_db]> ALTER TABLE `t` DISCARD TABLESPACE;
Query OK, 0 rows affected (0,010 sec)
MariaDB [my_db]> SHOW CREATE TABLE `t` \G
*************************** 1. row ***************************
Table: t
Create Table: CREATE TABLE `t` (
`id` int(10) unsigned DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci
1 row in set (0,001 sec)
It does not allow to move the table to another location by "DISCARD TABLESPACE", copy *.cfg and *.ibd to new location and "IMPORT TABLESPACE;"
Marko Mäkelä
made changes -
2024-11-29 08:59
Field
Original Value
New Value
Description
{{root@spaceman :/home/snen# mariadb
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 40654
Server version: 11.4.4-MariaDB-deb11-log mariadb.org binary distribution
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> use my_db;
Database changed
MariaDB [my_db]> CREATE TABLE `t`(
-> `id` int(10) unsigned DEFAULT NULL
-> ) ENGINE=InnoDB DATA DIRECTORY='/ssdext/mysql_arch_tables';
Query OK, 0 rows affected (0,006 sec)
MariaDB [my_db]> SHOW CREATE TABLE `t` \G
*************************** 1. row ***************************
Table: t
Create Table: CREATE TABLE `t` (
`id` int(10) unsigned DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci DATA DIRECTORY='/ssdext/mysql_arch_tables/'
1 row in set (0,001 sec)
MariaDB [my_db]> ALTER TABLE `t` DISCARD TABLESPACE;
Query OK, 0 rows affected (0,010 sec)
MariaDB [my_db]> SHOW CREATE TABLE `t` \G
*************************** 1. row ***************************
Table: t
Create Table: CREATE TABLE `t` (
`id` int(10) unsigned DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci
1 row in set (0,001 sec)}}
It does not allow to move the table to another location by "DISCARD TABLESPACE", copy *.cfg and *.ibd to new location and "IMPORT TABLESPACE;"
{noformat}root@spaceman :/home/snen# mariadb
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 40654
Server version: 11.4.4-MariaDB-deb11-log mariadb.org binary distribution
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> use my_db;
Database changed
MariaDB [my_db]> CREATE TABLE `t`(
-> `id` int(10) unsigned DEFAULT NULL
-> ) ENGINE=InnoDB DATA DIRECTORY='/ssdext/mysql_arch_tables';
Query OK, 0 rows affected (0,006 sec)
MariaDB [my_db]> SHOW CREATE TABLE `t` \G
*************************** 1. row ***************************
Table: t
Create Table: CREATE TABLE `t` (
`id` int(10) unsigned DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci DATA DIRECTORY='/ssdext/mysql_arch_tables/'
1 row in set (0,001 sec)
MariaDB [my_db]> ALTER TABLE `t` DISCARD TABLESPACE;
Query OK, 0 rows affected (0,010 sec)
MariaDB [my_db]> SHOW CREATE TABLE `t` \G
*************************** 1. row ***************************
Table: t
Create Table: CREATE TABLE `t` (
`id` int(10) unsigned DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci
1 row in set (0,001 sec){noformat}
It does not allow to move the table to another location by "DISCARD TABLESPACE", copy *.cfg and *.ibd to new location and "IMPORT TABLESPACE;"
Sergei Golubchik
made changes -
2024-12-10 12:51
Assignee
Thirunarayanan Balathandayuthapani
[ thiru
]
Affects Version/s
10.5
[ 23123
]
Affects Version/s
10.6
[ 24028
]
Affects Version/s
10.11
[ 27614
]
Affects Version/s
11.4
[ 29301
]
Affects Version/s
11.8
[ 29921
]
Fix Version/s
10.5
[ 23123
]
Fix Version/s
10.6
[ 24028
]
Fix Version/s
10.11
[ 27614
]
Fix Version/s
11.8
[ 29921
]
Status
Open
[ 1
]
Confirmed
[ 10101
]
{"report":{"fcp":1374.1000000238419,"ttfb":508.2999999523163,"pageVisibility":"visible","entityId":131829,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":0.5,"journeyId":"e97e68bb-13eb-4866-b191-ca7ae343820a","navigationType":0,"readyForUser":1470.2999999523163,"redirectCount":0,"resourceLoadedEnd":1715.7999999523163,"resourceLoadedStart":515.2000000476837,"resourceTiming":[{"duration":271.1999999284744,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":515.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":515.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":786.3999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":271.3000000715256,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":515.3999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":515.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":786.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":291.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":515.6000000238419,"connectEnd":515.6000000238419,"connectStart":515.6000000238419,"domainLookupEnd":515.6000000238419,"domainLookupStart":515.6000000238419,"fetchStart":515.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":515.6000000238419,"responseEnd":807.3999999761581,"responseStart":807.3999999761581,"secureConnectionStart":515.6000000238419},{"duration":367.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":515.7000000476837,"connectEnd":515.7000000476837,"connectStart":515.7000000476837,"domainLookupEnd":515.7000000476837,"domainLookupStart":515.7000000476837,"fetchStart":515.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":515.7000000476837,"responseEnd":883.2999999523163,"responseStart":883.2999999523163,"secureConnectionStart":515.7000000476837},{"duration":371,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":515.8999999761581,"connectEnd":515.8999999761581,"connectStart":515.8999999761581,"domainLookupEnd":515.8999999761581,"domainLookupStart":515.8999999761581,"fetchStart":515.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":515.8999999761581,"responseEnd":886.8999999761581,"responseStart":886.8999999761581,"secureConnectionStart":515.8999999761581},{"duration":371.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":516,"connectEnd":516,"connectStart":516,"domainLookupEnd":516,"domainLookupStart":516,"fetchStart":516,"redirectEnd":0,"redirectStart":0,"requestStart":516,"responseEnd":887.2999999523163,"responseStart":887.2999999523163,"secureConnectionStart":516},{"duration":371.39999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":516.2000000476837,"connectEnd":516.2000000476837,"connectStart":516.2000000476837,"domainLookupEnd":516.2000000476837,"domainLookupStart":516.2000000476837,"fetchStart":516.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":516.2000000476837,"responseEnd":887.6000000238419,"responseStart":887.6000000238419,"secureConnectionStart":516.2000000476837},{"duration":437.10000002384186,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":516.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":516.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":953.3999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":371.60000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":516.5,"connectEnd":516.5,"connectStart":516.5,"domainLookupEnd":516.5,"domainLookupStart":516.5,"fetchStart":516.5,"redirectEnd":0,"redirectStart":0,"requestStart":516.5,"responseEnd":888.1000000238419,"responseStart":888.1000000238419,"secureConnectionStart":516.5},{"duration":436.8000000715256,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":516.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":516.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":953.6000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":371.8000000715256,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":516.7999999523163,"connectEnd":516.7999999523163,"connectStart":516.7999999523163,"domainLookupEnd":516.7999999523163,"domainLookupStart":516.7999999523163,"fetchStart":516.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":516.7999999523163,"responseEnd":888.6000000238419,"responseStart":888.6000000238419,"secureConnectionStart":516.7999999523163},{"duration":1184.3999999761581,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":530.3999999761581,"connectEnd":530.3999999761581,"connectStart":530.3999999761581,"domainLookupEnd":530.3999999761581,"domainLookupStart":530.3999999761581,"fetchStart":530.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":530.3999999761581,"responseEnd":1714.7999999523163,"responseStart":1714.7999999523163,"secureConnectionStart":530.3999999761581},{"duration":1184.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":530.5,"connectEnd":530.5,"connectStart":530.5,"domainLookupEnd":530.5,"domainLookupStart":530.5,"fetchStart":530.5,"redirectEnd":0,"redirectStart":0,"requestStart":530.5,"responseEnd":1715.2000000476837,"responseStart":1715.2000000476837,"secureConnectionStart":530.5},{"duration":121.29999995231628,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":969.5,"connectEnd":969.5,"connectStart":969.5,"domainLookupEnd":969.5,"domainLookupStart":969.5,"fetchStart":969.5,"redirectEnd":0,"redirectStart":0,"requestStart":969.5,"responseEnd":1090.7999999523163,"responseStart":1090.7999999523163,"secureConnectionStart":969.5},{"duration":474,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":1241.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1241.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1715.7999999523163,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":328,"responseStart":508,"responseEnd":514,"domLoading":513,"domInteractive":1769,"domContentLoadedEventStart":1769,"domContentLoadedEventEnd":1827,"domComplete":2249,"loadEventStart":2249,"loadEventEnd":2251,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1720.8999999761581},{"name":"bigPipe.sidebar-id.end","time":1721.6000000238419},{"name":"bigPipe.activity-panel-pipe-id.start","time":1721.7999999523163},{"name":"bigPipe.activity-panel-pipe-id.end","time":1724.5},{"name":"activityTabFullyLoaded","time":1843.1000000238419}],"measures":[],"correlationId":"52b722ef824ede","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":115,"dbReadsTimeInMs":17,"dbConnsTimeInMs":25,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}