Managing Thousands of Databases and Tables in MySQL - Addressing Open Files Limit Issues
When deploying a Percona Cluster with three nodes, importing hundreds of databases, each containing approximately 110 tables in our case, resulted in thousands of tables being managed by MySQL. In such environments, you may encounter issues related to the open files limit, which can impact the ability to restart cluster nodes and synchronize with xtrabackup (we were given Broken pipe error in our case).
Understanding the Problem
MySQL requires a file descriptor for each open table, database, a...