Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

MariaDB Replication – slave_parallel_mode Difference

Дата публикации: 27-09-2024 10:06:06

How much difference do different slave_parallel_mode settings make when we use parallel replication in MariaDB? In most cases, not much. The conservative setting has been the default for a long time, and in most cases it performs similarly or better than optimistic. But every once in a while there is a very large difference. One […]
The post MariaDB Replication – slave_parallel_mode Difference appeared first on Shattered Silicon.
MariaDB Replication – slave_parallel_mode Difference appeared first on MariaDB.org


Основное содержимое страницы с новостью.

How much difference do different slave_parallel_mode settings make when we use parallel replication in MariaDB? In most cases, not much. The conservative setting has been the default for a long time, and in most cases it performs similarly or better than optimistic. But every once in a while there is a very large difference.

One of our MariaDB support engineers was recently called to investigate why a newly built server was struggling to keep up with replication. Since it was built, it hardly managed to close the gap at all, and at the current rate it wouldn’t be able to be used in the foreseeable future. All of the usual settings were already very well optimised.

The only thing that remained to try was slave_parallel_mode=optimistic, and surprisingly, in this case it made a huge difference.

MariaDB slave_parallel_mode conservative -> optimistic

You can see where the setting was changed around 13:20 and the replication lag started to rapidly decay, and the server caught up with 20 hour lag in approximately 3.5 hours.

Conclusion

slave_parallel_mode=optimistic may not always yield a significant improvement, but if you have already applied all other optimisations and the replication lag just isn’t budging, it’s definitely worth a try.

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1MariaDB’s parallel replication to catch up013.2309-04-2024
2Talk: The implementation of MariaDB parallel replication04.7812-11-2024
3MariaDB replication demo06.2303-10-2022
4Reduce Replication Lag07.9601-06-2022
5Why MySQL Replication Is Fast08.2631-05-2024
6MariaDB High Availability: Maximum Availability Solutions in MariaDB 12.3 LTS09.3717-08-2026
7MaxScale configuration synchronisation03.9104-04-2024
8dbstat for MariaDB after one month of productive use06.2726-04-2024
9PostgreSQL active-active replication, do you really need it?010.9718-06-2025
10The Insert Benchmark vs MariaDB 10.2 to 13.0 on a 32-core server06.4308-04-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 5.63. Источник: mariadb.org.