Bug #48899 storage requirement for non-MyISAM poorly documented and 'instrumentated'
| Submitted: | 19 Nov 2009 10:55 | Modified: | 19 Nov 2009 19:40 |
|---|---|---|---|
| Reporter: | Peter Laursen (Basic Quality Contributor) | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 5.0, all | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | qc | ||
[19 Nov 2009 10:55]
Peter Laursen
[19 Nov 2009 12:02]
Peter Laursen
corrrected 'MyISAM' >> 'non-MyISAM' in synopsis.
[19 Nov 2009 12:15]
Peter Laursen
a small example: /* CREATE TABLE `lmt_datastore` ( `title` CHAR(50) NOT NULL DEFAULT '', `data` MEDIUMTEXT, `unserialize` SMALLINT(6) NOT NULL DEFAULT '0', PRIMARY KEY (`title`) ) ENGINE=MYISAM DEFAULT CHARSET=utf8 */ SHOW VARIABLES LIKE 'innodb_file_per_table'; -- returns ON SELECT `table_name`, SUM(`DATA_LENGTH`+ `INDEX_LENGTH`) FROM information_schema.TABLES WHERE `TABLE_SCHEMA`='stortest' AND `table_name`='lmt_datastore'; -- returns '49972' -- file system info; MYD: 47 KB. MYI: 2KB - all this is reasonable ALTER TABLE lmt_datastore ENGINE INNODB; -- (28 row(s) affected) SELECT `table_name`, SUM(`DATA_LENGTH`+ `INDEX_LENGTH`) FROM information_schema.TABLES WHERE `TABLE_SCHEMA`='stortest' AND `table_name`='lmt_datastore'; -- returns 'SELECT `table_name`, SUM(`DATA_LENGTH`+ `INDEX_LENGTH`) FROM information_schema.TABLES WHERE `TABLE_SCHEMA`='stortest' AND `table_name`='lmt_datastore'; -- returns '98304' -- file system info; lmt_datastore.ibd = 144 KB - everything completely inconsistent.
[19 Nov 2009 19:40]
Sveta Smirnova
Thank you for the report. Verified as described. Although you can find more information in chapter 13 (as suggested).
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.051 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.