[MDEV-20255] InnoDB LZ4 and LZMA compression algorithms aren't available on Debian 9 Created: 2019-08-05 Updated: 2023-04-19 Resolved: 2023-04-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server, Storage Engine - InnoDB |
| Affects Version/s: | 10.3.17 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Guillaume Lefranc | Assignee: | Tuukka Pasanen |
| Resolution: | Incomplete | Votes: | 2 |
| Labels: | None | ||
| Environment: |
Debian 9 |
||
| Issue Links: |
|
||||||||||||||||
| Description |
|
But lz4 is installed on the system and the server appears to have been compiled with it:
|
| Comments |
| Comment by TAO ZHOU [ 2019-08-13 ] | |||||||||||||||
|
How did you compile it? | |||||||||||||||
| Comment by Guillaume Lefranc [ 2019-08-14 ] | |||||||||||||||
|
I used the Debian package released by MariaDB.org as shown in the logs above. | |||||||||||||||
| Comment by Jonas Krauss [ 2019-09-10 ] | |||||||||||||||
|
MariaDB 10.2.21 seems to be affected as well. OS: Linux Debian-93-stretch-64-minimal 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64 MariaDB: 10.2.21-MariaDB-10.2.21+maria~stretch-log / mariadb.org binary distribution show global status like '%have%';
ldd /usr/sbin/mysqld | grep lz4 ls -l /usr/lib/x86_64-linux-gnu/liblz4.so.1 I think it would be great to be able to use newer compression algos in MariaDB InnoDB as well as RocksDB. | |||||||||||||||
| Comment by Martin Vit [ 2020-03-10 ] | |||||||||||||||
|
centos packages supports lz4 but debian packages not - it would be great if we do not need to recompile mariadb because of much needed lz4 | |||||||||||||||
| Comment by Elena Stepanova [ 2020-04-05 ] | |||||||||||||||
|
As the documentation says, "on many distributions, the standard MariaDB builds do not support all InnoDB page compression algorithms by default". With that, I will redirect the request to marko for an expert opinion on whether we should add any specific compression algorithms to our builds by default. | |||||||||||||||
| Comment by Jonas Krauss [ 2020-06-27 ] | |||||||||||||||
|
Following up on this matter: I have installed the new release 10.5.4 on Suggestion: the available compression algos should be treated as key Am So., 5. Apr. 2020 um 14:19 Uhr schrieb Elena Stepanova (Jira) < | |||||||||||||||
| Comment by Marko Mäkelä [ 2020-08-08 ] | |||||||||||||||
|
I think that we should make a decision regarding this in Personally, as noted in MDEV-22839, I would tend to agree with the 2015 blog post Wanted: a file system on which InnoDB transparent page compression works . Random-access page I/O does not feel like a good match for compression. Large sequential files (such as the LSM trees of MyRocks) should be better. | |||||||||||||||
| Comment by Marko Mäkelä [ 2023-04-14 ] | |||||||||||||||
|
illuusio, can you check whether and how | |||||||||||||||
| Comment by Tuukka Pasanen [ 2023-04-19 ] | |||||||||||||||
|
I've check this and if you have liblz4-1 installed MariaDB 10.3 will show list like this (same goes with rest of compressions if you have library they will be enabled):
In MariaDB 10.3 compression libraries are not installed as preset. They are done from MariaDB 10.7 when you install correct compression plugin beides mariadb-server. As MariaDB will EOL after next release I doubt this won't be changed. | |||||||||||||||
| Comment by Marko Mäkelä [ 2023-04-19 ] | |||||||||||||||
|
illuusio, what I mainly wanted to know is whether this bug was fixed on newer Debian, for Debian’s own packages of MariaDB Server. You seem to confirm that for MariaDB’s Debian packages, it was likely fixed in MariaDB Server 10.7 (which already reached EOL). Has this been fixed in the most recent Debian’s package of MariaDB Server 10.11? (10.11 is the first long-term-support release after 10.6.) | |||||||||||||||
| Comment by Tuukka Pasanen [ 2023-04-19 ] | |||||||||||||||
|
I don't know is there anything to be done with this? marko or danblack? | |||||||||||||||
| Comment by Marko Mäkelä [ 2023-04-19 ] | |||||||||||||||
|
illuusio, if all compression libraries are available in Debian 12 out of the box, I would close this as fixed in MariaDB 10.11 or something. | |||||||||||||||
| Comment by Tuukka Pasanen [ 2023-04-19 ] | |||||||||||||||
|
As said if you install MariaDB 10.7 or 10.11 for example on any supported Debian with correct compression plugin I think this is fixed. |