The settings of MySQL configuration variables have a fundamental
impact on the performance of your database system. Sometimes it
can be a little tricky to predict how changing one variable can
affect others, and especially when dealing with cases like the
one I’ll describe in this post, where the outcome is not very
intuitive. So here, we’ll look at what happens when you set
innodb_open_files
higher than the
open_files_limit
.
We can set the maximum number of open files in our MySQL configuration file using:
open_files_limit=10000
If this isn’t set, then the default – which is 5,000 in MySQL 5.7 – should be used.
See Sveta’s excellent blog post for an explanation …
[Read more]