malloc() Calls Flame Graph
Reset Zoom
Search
__GI___libc_malloc (568,119 calls, 8.98%)
__GI___libc_..
__GI___libc_malloc (56,965 calls, 0.90%)
JOIN::create_intermediate_table(QEP_TAB*, List (114,010 calls, 1.80%)
J..
[unknown] (1,589,932 calls, 25.14%)
[unknown]
ha_heap::open (113,959 calls, 1.80%)
h..
test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool, st_order::enum_order, QEP_shared_owner const*, Item*, Bitmap (1,137,415 calls, 17.98%)
test_quick_select(THD*, Bit..
[unknown] (227,884 calls, 3.60%)
[unk..
handle_query(THD*, LEX*, Query_result*, unsigned long long, unsigned long long) (3,468,341 calls, 54.84%)
handle_query(THD*, LEX*, Query_result*, unsigned long long, unsigned long long)
JOIN::make_tmp_tables_info (114,010 calls, 1.80%)
J..
__GI___libc_malloc (113,948 calls, 1.80%)
_..
Filesort_buffer::alloc_sort_buffer (56,965 calls, 0.90%)
__GI___libc_malloc (227,752 calls, 3.60%)
__GI..
JOIN::optimize (2,048,783 calls, 32.39%)
JOIN::optimize
[unknown] (57,030 calls, 0.90%)
st_select_lex::optimize (2,048,783 calls, 32.39%)
st_select_lex::optimize
handle_connection (3,525,377 calls, 55.74%)
handle_connection
init_io_cache (56,957 calls, 0.90%)
all (6,325,012 calls, 100%)
Prepared_statement::execute_loop (3,525,377 calls, 55.74%)
Prepared_statement::execute_loop
hp_get_new_block (56,935 calls, 0.90%)
[unknown] (2,498 calls, 0.04%)
__GI___libc_malloc (57,002 calls, 0.90%)
Optimize_table_order::best_access_path (227,411 calls, 3.60%)
Opt..
open_cached_file (57,002 calls, 0.90%)
[unknown] (1,828 calls, 0.03%)
init_io_cache_ext (56,957 calls, 0.90%)
instantiate_tmp_table(TABLE*, st_key*, st_columndef*, st_columndef**, unsigned long long, char, Opt_trace_context*) (113,959 calls, 1.80%)
i..
Optimize_table_order::calculate_scan_cost (227,411 calls, 3.60%)
Opt..
[unknown] (2,498 calls, 0.04%)
ha_heap::write_row (113,925 calls, 1.80%)
h..
[unknown] (793,415 calls, 12.54%)
[unknown]
mysql_lock_tables(THD*, TABLE**, unsigned long, unsigned int) (792,245 calls, 12.53%)
mysql_lock_tables(..
snmp-pass [1904] (8,040 calls, 0.13%)
__GI___libc_malloc (56,974 calls, 0.90%)
hp_write_key (56,990 calls, 0.90%)
MDL_context::acquire_lock (57,036 calls, 0.90%)
MDL_context::try_acquire_lock_impl (57,036 calls, 0.90%)
alloc_root (57,027 calls, 0.90%)
get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (227,752 calls, 3.60%)
get_..
multi_alloc_root (57,027 calls, 0.90%)
QEP_tmp_table::end_send (285,462 calls, 4.51%)
QEP_t..
__GI___libc_malloc (56,957 calls, 0.90%)
[unknown] (3,525,377 calls, 55.74%)
[unknown]
mysql_stmt_execute (1,589,932 calls, 25.14%)
mysql_stmt_execute
__GI___libc_malloc (792,245 calls, 12.53%)
__GI___libc_malloc
__GI___libc_malloc (226,868 calls, 3.59%)
__G..
QUICK_RANGE_SELECT::QUICK_RANGE_SELECT (227,674 calls, 3.60%)
QUI..
__GI___libc_malloc (796,517 calls, 12.59%)
__GI___libc_malloc
DsMrr_impl::dsmrr_info_const (227,534 calls, 3.60%)
DsM..
btr_cur_search_to_nth_level(dict_index_t*, unsigned long, dtuple_t const*, page_cur_mode_t, unsigned long, btr_cur_t*, unsigned long, char const*, unsigned long, mtr_t*) (1,828 calls, 0.03%)
mysqld_stmt_execute(THD*, unsigned long, unsigned long, unsigned char*, unsigned long) (3,525,377 calls, 55.74%)
mysqld_stmt_execute(THD*, unsigned long, unsigned long, unsigned char*, unsigned long)
sub_select(JOIN*, QEP_TAB*, bool) (341,851 calls, 5.40%)
sub_sel..
__GI___libc_malloc (1,024,248 calls, 16.19%)
__GI___libc_malloc
open_cached_file (170,905 calls, 2.70%)
op..
my_strdup (56,971 calls, 0.90%)
[unknown] (116,989 calls, 1.85%)
[..
__GI___libc_malloc (56,990 calls, 0.90%)
String::append (227,411 calls, 3.60%)
Str..
Prepared_statement::execute (3,525,377 calls, 55.74%)
Prepared_statement::execute
Filesort_buffer::alloc_sort_buffer (57,583 calls, 0.91%)
[unknown] (57,030 calls, 0.90%)
join_init_read_record(QEP_TAB*) (285,462 calls, 4.51%)
join_..
mysql_execute_command(THD*, bool) (3,525,377 calls, 55.74%)
mysql_execute_command(THD*, bool)
__GI___libc_malloc (227,411 calls, 3.60%)
__G..
[unknown] (793,415 calls, 12.54%)
[unknown]
[unknown] (227,534 calls, 3.60%)
[un..
__GI___libc_malloc (56,988 calls, 0.90%)
alloc_root (226,868 calls, 3.59%)
all..
QEP_tmp_table::prepare_tmp_table (113,959 calls, 1.80%)
Q..
dispatch_command(THD*, COM_DATA const*, enum_server_command) (3,525,377 calls, 55.74%)
dispatch_command(THD*, COM_DATA const*, enum_server_command)
[unknown] (1,589,932 calls, 25.14%)
[unknown]
Optimize_table_order::best_extension_by_limited_search (227,411 calls, 3.60%)
Opt..
[unknown] (2,614,180 calls, 41.33%)
[unknown]
alloc_root (227,752 calls, 3.60%)
allo..
open_table(THD*, TABLE_LIST*, Open_table_context*) (57,036 calls, 0.90%)
__GI___libc_malloc (227,534 calls, 3.60%)
__G..
QEP_tmp_table::put_record (113,959 calls, 1.80%)
Q..
JOIN::estimate_rowcount (1,137,415 calls, 17.98%)
JOIN::estimate_rowcount
[unknown] (8,040 calls, 0.13%)
mysql_unlock_some_tables(THD*, TABLE**, unsigned int) (568,119 calls, 8.98%)
mysql_unlock..
get_quick_select(PARAM*, unsigned int, SEL_ARG*, unsigned int, unsigned int, st_mem_root*) (455,426 calls, 7.20%)
get_quick_..
pfs_spawn_thread (3,525,377 calls, 55.74%)
pfs_spawn_thread
filesort(THD*, Filesort*, bool, unsigned long long*, unsigned long long*, unsigned long long*) (113,967 calls, 1.80%)
f..
hp_get_new_block (56,990 calls, 0.90%)
Optimize_table_order::choose_table_order (227,411 calls, 3.60%)
Opt..
__GI___libc_malloc (56,983 calls, 0.90%)
handler::ha_write_row (113,925 calls, 1.80%)
h..
String::mem_realloc (227,411 calls, 3.60%)
Str..
__GI___libc_malloc (227,674 calls, 3.60%)
__G..
[unknown] (1,589,932 calls, 25.14%)
[unknown]
handler::multi_range_read_info_const (227,534 calls, 3.60%)
han..
TRP_RANGE::make_quick (683,013 calls, 10.80%)
TRP_RANGE::make..
heap_create (56,971 calls, 0.90%)
JOIN::exec (627,313 calls, 9.92%)
JOIN::exec
JOIN::extract_func_dependent_tables (1,828 calls, 0.03%)
[unknown] (793,415 calls, 12.54%)
[unknown]
boost::geometry::detail::buffer::buffered_piece_collection<Gis_polygon_ring, boost::geometry::detail::robust_policy<Gis_point, boost::geometry::model::point<long long, 2ul, boost::geometry::cs::cartesian>, double> >::abort_ring (57,030 calls, 0.90%)
start_thread (3,525,377 calls, 55.74%)
start_thread
do_command(THD*) (3,525,377 calls, 55.74%)
do_command(THD*)
handler::ha_index_read_idx_map (1,828 calls, 0.03%)
__GI___libc_malloc (793,415 calls, 12.54%)
__GI___libc_malloc
ha_innobase::records_in_range (227,534 calls, 3.60%)
ha_..
[unknown] (56,988 calls, 0.90%)
join_read_const_table(JOIN_TAB*, st_position*) (1,828 calls, 0.03%)
row_search_mvcc(unsigned char*, page_cur_mode_t, row_prebuilt_t*, unsigned long, unsigned long) (1,828 calls, 0.03%)
[unknown] (116,989 calls, 1.85%)
[..
__GI___libc_malloc (1,822 calls, 0.03%)
create_tmp_table(THD*, Temp_table_param*, List<Item>&, st_order*, bool, bool, unsigned long long, unsigned long long, char const*) (114,010 calls, 1.80%)
c..
lock_tables(THD*, TABLE_LIST*, unsigned int, unsigned int) (792,245 calls, 12.53%)
lock_tables(THD*, ..
btr_search_info_update_slow(btr_search_t*, btr_cur_t*) (1,822 calls, 0.03%)
open_tmp_table(TABLE*) (113,959 calls, 1.80%)
o..
__GI___libc_malloc (57,583 calls, 0.91%)
handler::ha_open (113,959 calls, 1.80%)
h..
__GI___libc_malloc (57,036 calls, 0.90%)
open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (57,036 calls, 0.90%)
[unknown] (568,119 calls, 8.98%)
[unknown]
__GI___libc_malloc (57,027 calls, 0.90%)
my_strdup (57,002 calls, 0.90%)
std::vector<boost::geometry::model::point<long long, 2ul, boost::geometry::cs::cartesian>, std::allocator<boost::geometry::model::point<long long, 2ul, boost::geometry::cs::cartesian> > >::operator=(std::vector<boost::geometry::model::point<long long, 2ul, boost::geometry::cs::cartesian>, std::allocator<boost::geometry::model::point (2,498 calls, 0.04%)
my_strdup (113,948 calls, 1.80%)
m..
Optimize_table_order::greedy_search (227,411 calls, 3.60%)
Opt..
__GI___libc_malloc (56,971 calls, 0.90%)
QEP_TAB::sort_table (113,967 calls, 1.80%)
Q..
mysqld [13363] (3,701,905 calls, 58.53%)
mysqld [13363]
[unknown] (113,925 calls, 1.80%)
[..
[unknown] (227,534 calls, 3.60%)
[un..
QUICK_SELECT_I::trace_quick_description (227,411 calls, 3.60%)
QUI..
open_tables_for_query(THD*, TABLE_LIST*, unsigned int) (57,036 calls, 0.90%)
join_init_read_record(QEP_TAB*) (113,967 calls, 1.80%)
j..
[unknown] (8,040 calls, 0.13%)
sysbench [14864] (2,614,180 calls, 41.33%)
sysbench [14864]
sub_select_op(JOIN*, QEP_TAB*, bool) (285,462 calls, 4.51%)
sub_s..
QEP_TAB::sort_table (285,462 calls, 4.51%)
QEP_T..
__GI___libc_malloc (56,935 calls, 0.90%)
alloc_root (56,983 calls, 0.90%)
heap_write (113,925 calls, 1.80%)
h..
__GI___libc_malloc (227,587 calls, 3.60%)
__G..
JOIN::make_join_plan (1,366,654 calls, 21.61%)
JOIN::make_join_plan
filesort(THD*, Filesort*, bool, unsigned long long*, unsigned long long*, unsigned long long*) (285,462 calls, 4.51%)
files..
String::mem_realloc_exp (227,411 calls, 3.60%)
Str..
ha_innobase::index_read (1,828 calls, 0.03%)