February 2018
Intermediate to advanced
510 pages
16h 10m
English
We learned the technique of splitting a table into many tables for faster execution of queries in certain situations. This technique cannot be applied in all of the scenarios, as if the number of tables runs into thousands, the overhead of managing all these tables becomes another performance nightmare.
In this section, we will see how MySQL opens and closes tables. The following shows how to discover open files on the MySQL server:
> mysqladmin statusUptime: 262200 Threads: 2 Questions: 16 Slow queries: 0 Opens: 111 Flush tables: 2 Open tables: 87 Queries per second avg: 0.000
The MySQL 8 server is multi-threaded. It is possible that many clients issue queries for a table simultaneously. MySQL opens the table independently ...
Read now
Unlock full access