Bug #79446 | Cannot initialize raw device as InnoDB File in Linux | ||
---|---|---|---|
Submitted: | 29 Nov 2015 16:35 | Modified: | 24 Apr 2018 13:14 |
Reporter: | ZhongMing Guo | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | 5.6.26 | OS: | Linux (Linux 3.19.0-30-generic 3.19.0-30-generic #34-Ubuntu SMP Fri Oct 2 22:08:41 UTC) |
Assigned to: | CPU Architecture: | Any | |
Tags: | raw |
[29 Nov 2015 16:35]
ZhongMing Guo
[29 Nov 2015 22:28]
Peter Laursen
My (personal) comment is that support for 'raw devices' for storing data is completely irrelevant today. It was relevant 15 years ago when file systems(FAT32/EXT2(3?)FS used a 32 bit addressing algorithm limiting a file system volume to a size of 4GB. Such limitaton does not apply to recent file systems (NTFS/EXT4FS/XFS/BTRFS etc). But if it supposed to work according to doumentation, it is a bug (server bug or doumentation bug) of course (if reproducible). -- Peter -- not a MySQL/Oracle peron
[30 Nov 2015 0:54]
ZhongMing Guo
a raw device without filesystem is more quick than any filesystem. so we still want it still be supported. it can also be supported in mysql-server-5.6.19. we use raw devices in DirectIO, it like a file, but faster 10%. raw devices can also use flashcache, bcache...etc, raw devices more quickly, that is the meaning. innodb_flush_method = O_DIRECT
[24 Apr 2018 13:14]
MySQL Verification Team
Duplicate of bug: https://bugs.mysql.com/bug.php?id=75616.