In my previous post about InnoDB Stalls on Empty Free List, I used a test environment that might look a little artificial : a table larger than the InnoDB Buffer Pool but fitting in the Linux Page Cache. This configuration allows serving very quickly what MySQL thinks are IOs because these are hit in the filesystem cache. In this post, I explain why this environment is not totally artificial and can be a good representation of another more complex environment. I also explain how an Empty Free List backoff stall can occur when no IO is done. You have probably already guessed what this post is covering from the title, so let's dive in.
Showing posts with label InnoDB Table Compression. Show all posts
Showing posts with label InnoDB Table Compression. Show all posts
Monday, December 12, 2022
Free Page Consumption by InnoDB Table Compression (Percona backoff Algo. part #2)
Labels:
backoff,
Free List,
Free Page,
InnoDB,
InnoDB Table Compression,
innodb_empty_free_list_algorithm,
MySQL,
Percona Server,
Performance Regression,
Stalls,
sysbench
Monday, August 14, 2017
More Details about InnoDB Compression Levels (innodb_compression_level)
In one of my previous posts, I shared InnoDB table compression statistics for a read-only dataset using the default value of innodb_compression_level (6). In it, I claimed, without giving much detail, that using the maximum value for the compression level (9) would not make a big difference. In this post, I will share more details about this claim.
TL;DR: tuning innodb_compression_level is not very useful for my dataset.
TL;DR: tuning innodb_compression_level is not very useful for my dataset.
Labels:
Compression,
InnoDB,
InnoDB Buffer Pool,
InnoDB Compression,
InnoDB Redo Logs,
InnoDB Table Compression,
innodb_compression_level,
MariaDB Server,
MySQL
Thursday, August 10, 2017
Why we still need MyISAM (for read-only tables)
TL;DR: we still need MyISAM and myisampack because it uses less space on disk (half of compressed InnoDB) !
In the previous post, I shared my experience with InnoDB table compression on a read-only dataset. In it, I claimed, without giving much detail, that using MyISAM and myisampack would result is a more compact storage on disk. In this post, I will share more details about this claim.
Labels:
Compression,
InnoDB,
InnoDB Compression,
InnoDB Table Compression,
MariaDB Server,
MyISAM,
myisampack,
MySQL
Monday, August 7, 2017
An Adventure in InnoDB Table Compression (for read-only tables)
In my last post about big MySQL deployments, I am quickly mentioning that InnoDB compression is allowing dividing disk usage by about 4.3 on a 200+ TiB dataset. In this post, I will give more information about this specific use case of InnoDB table compression and I will share some statistics and learnings on this system and subject. Note that I am not covering InnoDB page compression which is a new feature of MySQL 5.7 (also known as hole punching).
Labels:
Compression,
InnoDB,
InnoDB Buffer Pool,
InnoDB Compression,
InnoDB Table Compression,
MariaDB Server,
MyISAM,
myisampack,
MyRocks,
MySQL,
MySQL 5.7
Subscribe to:
Posts (Atom)