8.11.6 The Thread Pool Plugin

8.11.6.1 Thread Pool Components and Installation
8.11.6.2 Thread Pool Operation
8.11.6.3 Thread Pool Tuning
Note

MySQL Thread Pool is a commercial extension. To learn more about commercial products (MySQL Enterprise Edition), see http://www.mysql.com/products/.

As of MySQL 5.5.16, commercial distributions of MySQL 5.5 include MySQL Thread Pool, implemented using a server plugin. The default thread-handling model in MySQL Server executes statements using one thread per client connection. As more clients connect to the server and execute statements, overall performance degrades. The thread pool plugin provides an alternative thread-handling model designed to reduce overhead and improve performance. The plugin implements a thread pool that increases server performance by efficiently managing statement execution threads for large numbers of client connections.

The thread pool addresses several problems of the one thread per connection model:

The thread pool plugin is a commercial feature. It is not included in MySQL community distributions.

On Windows, the thread pool plugin requires Windows Vista or newer. On Linux, the plugin requires kernel 2.6.9 or newer.

Additional Resources

Section B.14, “MySQL 5.5 FAQ: MySQL Enterprise Scalability Thread Pool”