Comments on: Percona Server for MySQL Highlights – binlog_space_limit https://www.percona.com/blog/percona-server-for-mysql-highlights-binlog_space_limit/ Fri, 16 Feb 2024 22:34:41 +0000 hourly 1 https://wordpress.org/?v=6.5.2 By: John Nicholls https://www.percona.com/blog/percona-server-for-mysql-highlights-binlog_space_limit/#comment-10972667 Tue, 01 Sep 2020 11:04:49 +0000 https://www.percona.com/blog/?p=57460#comment-10972667 Hi Przemysław

Great post, thanks.

The documentation for both settings shows both as being non-dynamic?

As we’re running in Google Cloud and use XFS on the persistent disks, when we want to expand our disk sizes, we just do this on the fly with a couple of commands and no downtime.

If we were to set these two values on instance creation, when we came to expand our disks we would find that we were unable to make this additional capacity available to MySQL – binlog_space_limit and relay_log_space_limit would remain fixed with values that are no longer suitable.

Thanks

John

]]>
By: Stofa https://www.percona.com/blog/percona-server-for-mysql-highlights-binlog_space_limit/#comment-10971336 Wed, 30 Oct 2019 10:48:13 +0000 https://www.percona.com/blog/?p=57460#comment-10971336 Hi,

Is this parameter aware about what happens on slaves side?
For instrance, let assume that one or more slaves are stopped for some reason and the DML in the master binary logs are not been read by the slaves for a while. Then, if the master purges the old binary files as requested by binlog_space_limit value, to sync the stopped slaves , one must take a full backup in order to rebuild the slaves.
I know that could be a challenge on master side to discover if any of the slaves are stopped. Right ?

Thanks

Stofa.

]]>
By: M https://www.percona.com/blog/percona-server-for-mysql-highlights-binlog_space_limit/#comment-10970943 Wed, 03 Jul 2019 23:05:17 +0000 https://www.percona.com/blog/?p=57460#comment-10970943 Don’t underestimate how much space you can save with binlog-row-image=minimal, which stores only PK for lookup, and modified rows, where possible.

This will help in cases where you have a lot of UPDATE or DELETE commands, but obviously workloads with mostly INSERT would not benefit.

Note that this setting may not be compatible with external replication tools or cases where you want to use a “flashback” type utility.

]]>