Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Do
Description
Between 2004 and 2007, when I designed and implemented ROW_FORMAT=COMPRESSED in the InnoDB Plugin for MySQL 5.1 based on Heikki Tuuri’s rough idea, it might have been a good idea to trade some CPU cycles for I/O bandwidth. Nowadays, with fast solid-state storage being a commodity, it is less so. ROW_FORMAT=COMPRESSED is introducing quite a bit of complexity to the buffer pool and crash recovery. We could make the server much faster if we removed write support.
The format is also too rigid to support innodb_page_size larger than 16 KiB or things like instant ADD COLUMN (MDEV-11369) or per-record transaction identifiers (MDEV-17598).
To allow users to upgrade from old databases, we must retain read support at least for a few major versions.
Attachments
Issue Links
- relates to
-
MDEV-23497 make ROW_FORMAT=COMPRESSED read-only by default
-
- Closed
-
-
MDEV-27058 Buffer page descriptors are too large
-
- Closed
-
-
MDEV-12152 KEY_BLOCK_SIZE strangeness in ALTER TABLE
-
- Open
-
-
MDEV-17598 InnoDB index option for per-record transaction ID
-
- Open
-
-
MDEV-21727 Optimize redo logging for ROW_FORMAT=COMPRESSED
-
- Open
-
-
MDEV-23835 InnoDB: Failing assertion: bpage->buf_fix_count == 0 in buf_relocate
-
- Closed
-
-
MDEV-24797 Column Compression - ERROR 1265 (01000): Data truncated for column
-
- Closed
-
-
MDEV-26400 ALTER TABLE does not remove KEY_BLOCK_SIZE for non-Compressed InnoDB tables
-
- Stalled
-
-
MDEV-30563 Failure 1478: Table storage engine 'InnoDB' does not support the create option 'ROW_TYPE' upon OPTIMIZE TABLE after Recovery
-
- Open
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Link | This issue relates to MDEV-21727 [ MDEV-21727 ] |
Link | This issue relates to MDEV-17598 [ MDEV-17598 ] |
Fix Version/s | 10.7 [ 24805 ] | |
Fix Version/s | 10.6 [ 24028 ] |
Link |
This issue relates to |
Attachment | Test Results.png [ 55897 ] |
Link |
This issue relates to |
Fix Version/s | 10.7 [ 24805 ] |
Link | This issue relates to MDEV-26400 [ MDEV-26400 ] |
Link | This issue relates to MDEV-12152 [ MDEV-12152 ] |
Remote Link | This issue links to "DBA Stack Exchange with a few comments on compression acheived (Web Link)" [ 31624 ] |
Link |
This issue relates to |
Link |
This issue relates to |
Workflow | MariaDB v3 [ 107733 ] | MariaDB v4 [ 131277 ] |
issue.field.resolutiondate | 2022-02-02 18:47:36.0 | 2022-02-02 18:47:36.359 |
Fix Version/s | N/A [ 14700 ] | |
Resolution | Won't Do [ 10201 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Link | This issue relates to MDEV-30563 [ MDEV-30563 ] |
@Marko - will we at least be provided with a way to easily convert ONLINE these tables to the alternative? (PAGE_COMPRESSED=1)
I have large compressed tables on my 24-hour online write-intensive website.
This change seems to mean to me that I won't be able to upgrade my MariaDB version to 10.7+, once the COMPRESSED feature is completely removed...
Also, as discussed in MDEV-22839, PAGE_COMPRESSED doesn't really seem to work well for me. It even increased the non-sparse size of the data & indexes, when I tested...
I'm really not happy with this change.
> "Nowadays, with fast solid-state storage being a commodity,"
I would be careful in saying this.
Not everyone can afford AWS or similar (may save in storage, but doesn't save in data transfer out),
and many are still on Dedicated bare metal servers, where there's no choice to simply "increase" storage.