MariaDB XA Transaction Support Explained

Опубликовано: 11 Сентябрь 2023
на канале: Database Dive
46
0

In this SQL tutorial we'll explain a variable related to XA transaction support in MariaDB Server.
This SQL variable is called "innodb_support_xa."
Remember that XA transactions let us perform operations on multiple SQL databases with a single SQL transaction.

What you should also know is that MariaDB XA transaction support can be disabled. To disable XA transactions set the "innodb_support_xa" SQL variable to "0". This SQL variable is in place because XA support for MariaDB server means that data written to the SQL database will be written to the binary log in the same order.

Such an approach may be beneficial when investigating MariaDB server errors, crashes, etc. However, leaving XA support on may have a drawback on database performance.

If you've already enabled XA transactions in Percona XtraDB or InnoDB and see that your database performance is diving, turn XA support off with this variable.

Music:
Airballoon by Waesto   / waesto  
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: https://bit.ly/3DwimSw
Music promoted by Audio Library https://bit.ly/3P8VkX0

#database #sql #developer #mariadb #mysql #web #shorts #reels


Смотрите видео MariaDB XA Transaction Support Explained онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Database Dive 11 Сентябрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 46 раз и оно понравилось 0 людям.