Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdcallag/1e0d7d75dc8c1eb5addc63e305442be3 to your computer and use it in GitHub Desktop.
Save mdcallag/1e0d7d75dc8c1eb5addc63e305442be3 to your computer and use it in GitHub Desktop.
malloc
for 5.7.17
0.53% mysqld libjemalloc.so.1 [.] malloc
|
---malloc
|
|--0.08%-- get_lock_data
| mysql_unlock_some_tables
| JOIN::optimize
| st_select_lex::optimize
| handle_query
| execute_sqlcom_select
| mysql_execute_command
| Prepared_statement::execute
| Prepared_statement::execute_loop
| mysqld_stmt_execute
| dispatch_command
| do_command
| handle_connection
| pfs_spawn_thread
| start_thread
|
|--0.08%-- MDL_context::try_acquire_lock_impl
| MDL_context::acquire_lock
| open_table
| open_tables
| open_tables_for_query
| execute_sqlcom_select
| mysql_execute_command
| Prepared_statement::execute
| Prepared_statement::execute_loop
| mysqld_stmt_execute
| dispatch_command
| do_command
| handle_connection
| pfs_spawn_thread
| start_thread
|
--0.01%-- mysql_lock_tables
lock_tables
handle_query
execute_sqlcom_select
mysql_execute_command
Prepared_statement::execute
Prepared_statement::execute_loop
mysqld_stmt_execute
dispatch_command
do_command
handle_connection
pfs_spawn_thread
start_thread
for 8.0.1
0.67% mysqld libjemalloc.so.1 [.] malloc
|
---malloc
|
|--0.14%-- MDL_context::try_acquire_lock_impl
| MDL_context::acquire_lock
| |
| |--0.13%-- Acl_cache_lock_guard::lock
| | check_grant
| | Sql_cmd_select::precheck
| | Sql_cmd_dml::prepare
| | Sql_cmd_dml::execute
| | mysql_execute_command
| | Prepared_statement::execute
| | Prepared_statement::execute_loop
| | mysqld_stmt_execute
| | dispatch_command
| | do_command
| | handle_connection
| | pfs_spawn_thread
| | start_thread
| |
| --0.01%-- open_table
| open_tables
| open_tables_for_query
| Sql_cmd_dml::prepare
| Sql_cmd_dml::execute
| mysql_execute_command
| Prepared_statement::execute
| Prepared_statement::execute_loop
| mysqld_stmt_execute
| dispatch_command
| do_command
| handle_connection
| pfs_spawn_thread
| start_thread
|
|--0.09%-- 0x66697265765f6100
|
|--0.07%-- get_lock_data
| mysql_unlock_some_tables
| JOIN::optimize
| SELECT_LEX::optimize
| Sql_cmd_dml::execute_inner
| Sql_cmd_dml::execute
| mysql_execute_command
| Prepared_statement::execute
| Prepared_statement::execute_loop
| mysqld_stmt_execute
| dispatch_command
| do_command
| handle_connection
| pfs_spawn_thread
| start_thread
|
--0.02%-- mysql_lock_tables
lock_tables
Sql_cmd_dml::execute
mysql_execute_command
Prepared_statement::execute
Prepared_statement::execute_loop
mysqld_stmt_execute
dispatch_command
do_command
handle_connection
pfs_spawn_thread
start_thread
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment