In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
InnoDB Online DDL characteristics
It was introduced in MySQL version 5.6 and is based on the Fast Index Creation feature of version 5.5. When the data table is changed, the operation is allowed to proceed in place without copying the data, or concurrent DML statements continue to access. This brings about the improvement of database availability and performance.
With regard to the features such as local operation and concurrent access provided by Online DDL, take a look at 16 common scenarios in actual work.
Online DDL uses errors that may be encountered
1. When Online DDL runs internally, it may need to acquire exclusive locks at the beginning and end, and it will time out due to long things that are running.
two。 During the change of the data table, the log generated by the DML statement will be temporarily stored in the memory specified by the parameter innodb_online_alter_log_max_size. It may be because the space is too small to report the wrong DB_ONLINE_LOG_TOO_BIG. It is recommended that the heavy load system set this parameter to 512MB or 1GB.
Limitations of Online DDL
If an Online DDL operation runs for a long time, it may cause the delay of the database master-slave replication environment and affect the read business.
Then, for the replication environment, how to change the larger data table will be explained later.
If you are interested, please follow Subscription account's Database Best practices (DBBestPractice).
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.