As many of you already know, PLMCE is an annual MySQL
community conference and Expo organized by Percona in the month of April
(usually). It is a great conference, not only to meet new and eminent people in
MySQL and related database fields, but also to attend interesting talks, and
also to give some.
This year I spoke about synchronous replication at a higher level. The talk was
titled “ACIDic Clusters: Review of current relational databases with synchronous replication”. Having previously given talks with boring titles (but interesting content), this time I decided to go with an interesting title, and it seemed to fit well with topic being discussed.
Continue reading “Slides from PLMCE 2014 breakout session”
MySQL variables open_files_limit, table_open_cache and max_connections are
inter-related, and this is for obvious reasons: all deal with file descriptors
one way or another.
If one of the value is provided but others are left out, mysqld calculates
others using a formula and in some cases, emits a warning if not possible.
The whole calculation behind obtaining the final file descriptor limit is a bit
byzantine and is as follows (for Linux):
EDIT: This applies to MySQL 5.5, in 5.6, as Daniël in comments pointed out,
few things have changed, check comment for details. I will probably make a
followup post on the differences.
- First it tries to calculate a minimum requirement based on
table_open_cache. As for other variables, if it is not provided in cnf or
on command line it uses defaults.
<br /> /* MyISAM requires two file handles per table. */
Continue reading “MySQL file limit, table cache and max_connections”
Here are my slides from past conferences. They were generated from Org Mode and Beamer. You can read more about it here.
You can get more info on the talks on their respective pages(linked).