Details
Description
Since sql_alloc() doesn't have THD parameter, it has to retrieve THD::mem_root by calling relatively expensive pthread_getspecific(THR_MALLOC).
This can be optimized easily by modifying server to use THD::alloc() and modifying plugins to use thd_alloc().
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions