Every MySQL backed application can benefit from a finely tuned database server. The Liquid Web Heroic Support team has encountered numerous situations over the years where some minor adjustments have made a world of difference in website and application performance. In this series of articles, we have outlined some of the more common recommendations that have had the largest impact on performance. Continue reading “MySQL Performance: Identifying Long Queries”
Series: MySQL Performance
Our in-depth series shows you how to optimize your MySQL/MariaDB database. Through our articles we will give you step by step directions on identifying problem areas and various ways to fine-tune your database.
MySQL Performance: MyISAM vs InnoDB
A major factor in database performance is the storage engine used by the database, and more specifically, its tables. Different storage engines provide better performance in one situation over another. For general use, there are two contenders to be considered. These are MyISAM, which is the default MySQL storage engine, or InnoDB, which is an alternative engine built-in to MySQL intended for high-performance databases. Before we can understand the difference between the two storage engines, we need to understand the term “locking.” Continue reading “MySQL Performance: MyISAM vs InnoDB”
MySQL Performance: How To Leverage MySQL Database Indexing
Continue reading “MySQL Performance: How To Leverage MySQL Database Indexing”
MySQL Performance: MySQL vs. MariaDB
MySQL Performance: Converting MySQL to MariaDB
As we explored in our previous article of our MySQL Perfomance Series: MySQL vs. MariaDB there are very few downsides to using MariaDB over standard MySQL. Our high-availbility MariaDBs have proven itself to be a worthy successor with easily migitated drawbacks. As the last article in our series we will focus on upgrading to various MySQL and MariaDB version on the following servers:
CentOS 6/7
- MySQL to MariaDB on CentOS 6/7 with cPanel
- MySQL to MariaDB on CentOS 7 with Plesk Onyx 17
- MySQL 5.1-5.5 to MariaDB 5.5 on CentOS 6
- MariaDB 5.5 to MariaDB 10.0 on CentOS 6
Ubuntu 14.04/16.04
Continue reading “MySQL Performance: Converting MySQL to MariaDB”
MySQL System Config & Routine Maintenance
The majority of work needed when adjusting the MySQL server is editing the applicable directives within a MySQL configuration file. There are multiple, optional configuration files that MySQL looks for when starting up. They are read in the following order: Continue reading “MySQL System Config & Routine Maintenance”
MySQL Performance: InnoDB Buffers & Directives
As discussed earlier in our MySQL Performance series, the InnoDB storage engine is designed to be a high-performance database for very large datasets. The row-locking technique it uses allows for many read and write requests to occur on a single table concurrently. This is a vast improvement in speed over traditional Continue reading “MySQL Performance: InnoDB Buffers & Directives”
MySQL Performance: MyISAM
MyISAM is a table-locking based engine. Table-locking prevents all other processes from writing data to the target table. This locking behavior encompasses the entire MyISAM table, no matter how minor the data Continue reading “MySQL Performance: MyISAM”