[root@devrasdb2 valgrind-3.8.1]# /root/bin/ms_print /tmp/massif.out -------------------------------------------------------------------------------- Command: /usr/sbin/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/devrasdb2.xxxxxxx.com.err --open-files-limit=100000 --pid-file=/var/lib/mysql/devrasdb2.xxxxxxx.com.pid --socket=/var/lib/mysql/mysql.sock Massif arguments: --massif-out-file=/tmp/massif.out ms_print arguments: /tmp/massif.out -------------------------------------------------------------------------------- MB 347.6^ # | @@@:# | @@@@@@:# | ::@@@@@@@@@@:# | @@@@:: @@@ @@@@@@:# | @@@@@ @@:: @@@ @@@@@@:# | ::@@@@ @@@ @@:: @@@ @@@@@@:# | @@@@::@@ @ @@@ @@:: @@@ @@@@@@:# | ::@::@@ @::@@ @ @@@ @@:: @@@ @@@@@@:# | :::::::@: @@ @::@@ @ @@@ @@:: @@@ @@@@@@:# | ::@:: :: ::@: @@ @::@@ @ @@@ @@:: @@@ @@@@@@:# | :::@::@:: :: ::@: @@ @::@@ @ @@@ @@:: @@@ @@@@@@:# | :::@@:: @::@:: :: ::@: @@ @::@@ @ @@@ @@:: @@@ @@@@@@:# | @@::::::@ :: @::@:: :: ::@: @@ @::@@ @ @@@ @@:: @@@ @@@@@@:# | :::::@ : ::::@ :: @::@:: :: ::@: @@ @::@@ @ @@@ @@:: @@@ @@@@@@:# | ::::: :: @ : ::::@ :: @::@:: :: ::@: @@ @::@@ @ @@@ @@:: @@@ @@@@@@:# | ::::: : :: @ : ::::@ :: @::@:: :: ::@: @@ @::@@ @ @@@ @@:: @@@ @@@@@@:# | : ::: : :: @ : ::::@ :: @::@:: :: ::@: @@ @::@@ @ @@@ @@:: @@@ @@@@@@:# | : ::: : :: @ : ::::@ :: @::@:: :: ::@: @@ @::@@ @ @@@ @@:: @@@ @@@@@@:# | : ::: : :: @ : ::::@ :: @::@:: :: ::@: @@ @::@@ @ @@@ @@:: @@@ @@@@@@:# 0 +----------------------------------------------------------------------->Gi 0 308.5 Number of snapshots: 60 Detailed snapshots: [8, 14, 17, 20, 27, 29, 30, 31, 34, 35, 36, 37, 38, 39, 40, 41, 44, 45, 46, 47, 48, 50, 51, 53, 54, 55, 56, 58, 59 (peak)] -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 0 0 0 0 0 0 1 7,219,250,530 87,370,232 86,595,368 774,864 0 2 14,359,221,336 93,021,480 92,173,207 848,273 0 3 19,095,314,757 97,493,728 96,586,676 907,052 0 4 27,088,328,719 103,817,680 102,828,396 989,284 0 5 33,545,564,697 110,118,520 109,047,336 1,071,184 0 6 42,310,259,816 117,213,376 116,049,908 1,163,468 0 7 49,714,555,423 123,154,776 121,913,480 1,241,296 0 8 57,954,179,785 130,916,536 129,574,147 1,342,389 0 98.97% (129,574,147B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->55.55% (72,727,165B) 0x7D2670: my_malloc (my_malloc.c:38) | ->34.25% (44,844,632B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->33.88% (44,354,496B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->33.88% (44,354,496B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->33.88% (44,354,496B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->33.88% (44,354,496B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->33.88% (44,354,496B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->33.88% (44,354,496B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->33.88% (44,354,496B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->33.88% (44,354,496B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->33.88% (44,354,496B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->33.88% (44,354,496B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->33.88% (44,354,496B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->33.88% (44,354,496B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->33.88% (44,354,496B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->33.88% (44,354,496B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->33.88% (44,354,496B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->33.88% (44,354,496B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->33.88% (44,354,496B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->33.88% (44,354,496B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->33.88% (44,354,496B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->33.88% (44,354,496B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->33.88% (44,354,496B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->33.88% (44,354,496B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->33.88% (44,354,496B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->33.88% (44,354,496B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->33.88% (44,354,496B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->33.88% (44,354,496B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->33.88% (44,354,496B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->33.88% (44,354,496B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.37% (490,136B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->15.63% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->15.63% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->15.63% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->15.63% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->15.63% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->15.63% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->15.63% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->03.60% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->03.60% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->03.60% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->03.60% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->03.60% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->03.60% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.12% (1,461,416B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->01.07% (1,396,992B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.07% (1,396,992B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.07% (1,396,992B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.07% (1,396,992B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.07% (1,396,992B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->01.07% (1,396,992B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->01.07% (1,396,992B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->01.07% (1,396,992B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.07% (1,396,992B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.07% (1,396,992B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.07% (1,396,992B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.07% (1,396,992B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.07% (1,396,992B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->01.07% (1,396,992B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.07% (1,396,992B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.07% (1,396,992B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.07% (1,396,992B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.07% (1,396,992B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.07% (1,396,992B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.07% (1,396,992B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.07% (1,396,992B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.07% (1,396,992B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->01.07% (1,396,992B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->01.07% (1,396,992B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.07% (1,396,992B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.07% (1,396,992B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.07% (1,396,992B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.07% (1,396,992B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.05% (64,424B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.96% (1,255,533B) in 1+ places, all below ms_print's threshold (01.00%) | ->29.56% (38,704,896B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->29.56% (38,704,896B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->25.63% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->25.63% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->25.63% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->25.63% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->25.63% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->25.63% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->25.63% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->25.63% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->25.63% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->03.93% (5,149,832B) in 79 places, all below massif's threshold (01.00%) | ->11.40% (14,918,065B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->06.00% (7,857,152B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->03.76% (4,925,184B) in 17 places, all below massif's threshold (01.00%) | | | | | ->01.12% (1,465,984B) 0x81EFFF: rw_lock_create_func (sync0rw.c:295) | | | ->01.12% (1,465,984B) in 9 places, all below massif's threshold (01.00%) | | | | | ->01.12% (1,465,984B) 0x81F00A: rw_lock_create_func (sync0rw.c:296) | | ->01.12% (1,465,984B) in 9 places, all below massif's threshold (01.00%) | | | ->02.72% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.69% (2,213,368B) 0x8A5B67: ha_create_func (ha0ha.c:58) | | | ->01.69% (2,213,368B) 0x85656D: btr_search_sys_create (btr0sea.c:182) | | | ->01.69% (2,213,368B) 0x8648A3: buf_pool_init (buf0buf.c:1318) | | | ->01.69% (2,213,368B) 0x81BCF0: innobase_start_or_create_for_mysql (srv0start.c:1398) | | | ->01.69% (2,213,368B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | | ->01.69% (2,213,368B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | | ->01.69% (2,213,368B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | | ->01.69% (2,213,368B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | | ->01.69% (2,213,368B) 0x506881: init_server_components() (mysqld.cc:3902) | | | ->01.69% (2,213,368B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | | ->01.69% (2,213,368B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | | | ->01.03% (1,351,072B) in 12 places, all below massif's threshold (01.00%) | | | ->01.61% (2,113,536B) 0x82FE27: trx_doublewrite_init (trx0sys.c:204) | | ->01.61% (2,113,536B) 0x83002F: trx_sys_doublewrite_init_or_restore_pages (trx0sys.c:455) | | ->01.61% (2,113,536B) 0x8CB5A2: recv_recovery_from_checkpoint_start_func (log0recv.c:3154) | | ->01.61% (2,113,536B) 0x81D2E4: innobase_start_or_create_for_mysql (srv0start.c:1720) | | ->01.61% (2,113,536B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->01.61% (2,113,536B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->01.61% (2,113,536B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->01.61% (2,113,536B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->01.61% (2,113,536B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->01.61% (2,113,536B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.61% (2,113,536B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.06% (1,382,937B) in 21 places, all below massif's threshold (01.00%) | ->02.33% (3,055,920B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->02.33% (3,055,920B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->02.33% (3,055,920B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->02.33% (3,055,920B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->02.33% (3,055,920B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->02.33% (3,055,920B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->02.33% (3,055,920B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->02.33% (3,055,920B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->02.33% (3,055,920B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->02.33% (3,055,920B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->02.33% (3,055,920B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->02.33% (3,055,920B) 0x69F950: Item::val_bool() (item.cc:200) | | ->02.33% (3,055,920B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->02.33% (3,055,920B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->02.33% (3,055,920B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->02.33% (3,055,920B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->02.33% (3,055,920B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->02.33% (3,055,920B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->02.33% (3,055,920B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->02.33% (3,055,920B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->02.33% (3,055,920B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->02.33% (3,055,920B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->02.33% (3,055,920B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->02.33% (3,055,920B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->02.33% (3,055,920B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->02.33% (3,055,920B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->02.33% (3,055,920B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->02.33% (3,055,920B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->02.33% (3,055,920B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->02.33% (3,055,920B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.13% (168,101B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 9 66,867,405,244 138,310,816 136,871,300 1,439,516 0 10 73,906,345,925 143,826,936 142,315,720 1,511,216 0 11 81,653,103,210 151,166,376 149,559,760 1,606,616 0 12 86,928,150,089 154,905,336 153,250,120 1,655,216 0 13 91,156,579,116 159,175,168 157,464,420 1,710,748 0 14 96,583,724,854 163,066,672 161,305,048 1,761,624 0 98.92% (161,305,048B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->62.86% (102,505,330B) 0x7D2670: my_malloc (my_malloc.c:38) | ->44.88% (73,190,960B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->44.58% (72,700,896B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->44.58% (72,700,896B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->44.58% (72,700,896B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->44.58% (72,700,896B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->44.58% (72,700,896B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->44.58% (72,700,896B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->44.58% (72,700,896B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->44.58% (72,700,896B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->44.58% (72,700,896B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->44.58% (72,700,896B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->44.58% (72,700,896B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->44.58% (72,700,896B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->44.58% (72,700,896B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->44.58% (72,700,896B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->44.58% (72,700,896B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->44.58% (72,700,896B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->44.58% (72,700,896B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->44.58% (72,700,896B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->44.58% (72,700,896B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->44.58% (72,700,896B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->44.58% (72,700,896B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->44.58% (72,700,896B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->44.58% (72,700,896B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->44.58% (72,700,896B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->44.58% (72,700,896B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->44.58% (72,700,896B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->44.58% (72,700,896B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->44.58% (72,700,896B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.30% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->12.55% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->12.55% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->12.55% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->12.55% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->12.55% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->12.55% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->12.55% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.89% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->02.89% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->02.89% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->02.89% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->02.89% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->02.89% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.44% (2,353,448B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->01.40% (2,289,792B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.40% (2,289,792B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.40% (2,289,792B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.40% (2,289,792B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.40% (2,289,792B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->01.40% (2,289,792B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->01.40% (2,289,792B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->01.40% (2,289,792B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.40% (2,289,792B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.40% (2,289,792B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.40% (2,289,792B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.40% (2,289,792B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.40% (2,289,792B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->01.40% (2,289,792B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.40% (2,289,792B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.40% (2,289,792B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.40% (2,289,792B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.40% (2,289,792B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.40% (2,289,792B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.40% (2,289,792B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.40% (2,289,792B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.40% (2,289,792B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->01.40% (2,289,792B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->01.40% (2,289,792B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.40% (2,289,792B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.40% (2,289,792B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.40% (2,289,792B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.40% (2,289,792B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.04% (63,656B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.10% (1,795,338B) in 55 places, all below massif's threshold (01.00%) | ->23.74% (38,704,632B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->23.74% (38,704,632B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->20.58% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->20.58% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->20.58% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->20.58% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->20.58% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->20.58% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->20.58% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->20.58% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->20.58% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->03.16% (5,149,568B) in 79 places, all below massif's threshold (01.00%) | ->09.15% (14,918,065B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->04.82% (7,857,152B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->04.82% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->02.19% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.36% (2,213,368B) 0x8A5B67: ha_create_func (ha0ha.c:58) | | | ->01.36% (2,213,368B) 0x85656D: btr_search_sys_create (btr0sea.c:182) | | | ->01.36% (2,213,368B) 0x8648A3: buf_pool_init (buf0buf.c:1318) | | | ->01.36% (2,213,368B) 0x81BCF0: innobase_start_or_create_for_mysql (srv0start.c:1398) | | | ->01.36% (2,213,368B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | | ->01.36% (2,213,368B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | | ->01.36% (2,213,368B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | | ->01.36% (2,213,368B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | | ->01.36% (2,213,368B) 0x506881: init_server_components() (mysqld.cc:3902) | | | ->01.36% (2,213,368B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | | ->01.36% (2,213,368B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | | | ->00.83% (1,351,072B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.30% (2,113,536B) 0x82FE27: trx_doublewrite_init (trx0sys.c:204) | | ->01.30% (2,113,536B) 0x83002F: trx_sys_doublewrite_init_or_restore_pages (trx0sys.c:455) | | ->01.30% (2,113,536B) 0x8CB5A2: recv_recovery_from_checkpoint_start_func (log0recv.c:3154) | | ->01.30% (2,113,536B) 0x81D2E4: innobase_start_or_create_for_mysql (srv0start.c:1720) | | ->01.30% (2,113,536B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->01.30% (2,113,536B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->01.30% (2,113,536B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->01.30% (2,113,536B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->01.30% (2,113,536B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->01.30% (2,113,536B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.30% (2,113,536B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->00.85% (1,382,937B) in 1+ places, all below ms_print's threshold (01.00%) | ->03.07% (5,008,920B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->03.07% (5,008,920B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->03.07% (5,008,920B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->03.07% (5,008,920B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->03.07% (5,008,920B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->03.07% (5,008,920B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->03.07% (5,008,920B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->03.07% (5,008,920B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->03.07% (5,008,920B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->03.07% (5,008,920B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->03.07% (5,008,920B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->03.07% (5,008,920B) 0x69F950: Item::val_bool() (item.cc:200) | | ->03.07% (5,008,920B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->03.07% (5,008,920B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->03.07% (5,008,920B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.07% (5,008,920B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.07% (5,008,920B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.07% (5,008,920B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.07% (5,008,920B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.07% (5,008,920B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->03.07% (5,008,920B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->03.07% (5,008,920B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->03.07% (5,008,920B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->03.07% (5,008,920B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->03.07% (5,008,920B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->03.07% (5,008,920B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->03.07% (5,008,920B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->03.07% (5,008,920B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->03.07% (5,008,920B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->03.07% (5,008,920B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.10% (168,101B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 15 102,566,933,400 168,767,808 166,931,788 1,836,020 0 16 106,846,924,869 171,962,448 170,084,540 1,877,908 0 17 115,579,810,983 180,142,664 178,157,692 1,984,972 0 98.90% (178,157,692B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->65.68% (118,322,254B) 0x7D2670: my_malloc (my_malloc.c:38) | ->48.97% (88,223,696B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->48.70% (87,733,632B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->48.70% (87,733,632B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->48.70% (87,733,632B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->48.70% (87,733,632B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->48.70% (87,733,632B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->48.70% (87,733,632B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->48.70% (87,733,632B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->48.70% (87,733,632B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->48.70% (87,733,632B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->48.70% (87,733,632B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->48.70% (87,733,632B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->48.70% (87,733,632B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->48.70% (87,733,632B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->48.70% (87,733,632B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->48.70% (87,733,632B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->48.70% (87,733,632B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->48.70% (87,733,632B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->48.70% (87,733,632B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->48.70% (87,733,632B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->48.70% (87,733,632B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->48.70% (87,733,632B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->48.70% (87,733,632B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->48.70% (87,733,632B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->48.70% (87,733,632B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->48.70% (87,733,632B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->48.70% (87,733,632B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->48.70% (87,733,632B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->48.70% (87,733,632B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.27% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->11.36% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->11.36% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->11.36% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->11.36% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->11.36% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->11.36% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->11.36% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.61% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->02.61% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->02.61% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->02.61% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->02.61% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->02.61% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.57% (2,826,920B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->01.53% (2,763,264B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.53% (2,763,264B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.53% (2,763,264B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.53% (2,763,264B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.53% (2,763,264B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->01.53% (2,763,264B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->01.53% (2,763,264B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->01.53% (2,763,264B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.53% (2,763,264B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.53% (2,763,264B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.53% (2,763,264B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.53% (2,763,264B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.53% (2,763,264B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->01.53% (2,763,264B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.53% (2,763,264B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.53% (2,763,264B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.53% (2,763,264B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.53% (2,763,264B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.53% (2,763,264B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.53% (2,763,264B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.53% (2,763,264B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.53% (2,763,264B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->01.53% (2,763,264B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->01.53% (2,763,264B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.53% (2,763,264B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.53% (2,763,264B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.53% (2,763,264B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.53% (2,763,264B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.04% (63,656B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.17% (2,106,054B) in 55 places, all below massif's threshold (01.00%) | ->21.49% (38,704,632B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->21.49% (38,704,632B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->18.63% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->18.63% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->18.63% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->18.63% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->18.63% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->18.63% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->18.63% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->18.63% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->18.63% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.86% (5,149,568B) in 79 places, all below massif's threshold (01.00%) | ->08.28% (14,918,065B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->04.36% (7,857,152B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->04.36% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.98% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.23% (2,213,368B) 0x8A5B67: ha_create_func (ha0ha.c:58) | | | ->01.23% (2,213,368B) 0x85656D: btr_search_sys_create (btr0sea.c:182) | | | ->01.23% (2,213,368B) 0x8648A3: buf_pool_init (buf0buf.c:1318) | | | ->01.23% (2,213,368B) 0x81BCF0: innobase_start_or_create_for_mysql (srv0start.c:1398) | | | ->01.23% (2,213,368B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | | ->01.23% (2,213,368B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | | ->01.23% (2,213,368B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | | ->01.23% (2,213,368B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | | ->01.23% (2,213,368B) 0x506881: init_server_components() (mysqld.cc:3902) | | | ->01.23% (2,213,368B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | | ->01.23% (2,213,368B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | | | ->00.75% (1,351,072B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.17% (2,113,536B) 0x82FE27: trx_doublewrite_init (trx0sys.c:204) | | ->01.17% (2,113,536B) 0x83002F: trx_sys_doublewrite_init_or_restore_pages (trx0sys.c:455) | | ->01.17% (2,113,536B) 0x8CB5A2: recv_recovery_from_checkpoint_start_func (log0recv.c:3154) | | ->01.17% (2,113,536B) 0x81D2E4: innobase_start_or_create_for_mysql (srv0start.c:1720) | | ->01.17% (2,113,536B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->01.17% (2,113,536B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->01.17% (2,113,536B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->01.17% (2,113,536B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->01.17% (2,113,536B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->01.17% (2,113,536B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.17% (2,113,536B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->00.77% (1,382,937B) in 1+ places, all below ms_print's threshold (01.00%) | ->03.36% (6,044,640B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->03.36% (6,044,640B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->03.36% (6,044,640B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->03.36% (6,044,640B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->03.36% (6,044,640B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->03.36% (6,044,640B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->03.36% (6,044,640B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->03.36% (6,044,640B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->03.36% (6,044,640B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->03.36% (6,044,640B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->03.36% (6,044,640B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->03.36% (6,044,640B) 0x69F950: Item::val_bool() (item.cc:200) | | ->03.36% (6,044,640B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->03.36% (6,044,640B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->03.36% (6,044,640B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.36% (6,044,640B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.36% (6,044,640B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.36% (6,044,640B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.36% (6,044,640B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.36% (6,044,640B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->03.36% (6,044,640B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->03.36% (6,044,640B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->03.36% (6,044,640B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->03.36% (6,044,640B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->03.36% (6,044,640B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->03.36% (6,044,640B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->03.36% (6,044,640B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->03.36% (6,044,640B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->03.36% (6,044,640B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->03.36% (6,044,640B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.09% (168,101B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 18 120,637,132,505 183,646,296 181,615,776 2,030,520 0 19 127,881,287,525 190,676,464 188,554,564 2,121,900 0 20 131,959,703,287 193,164,400 191,010,168 2,154,232 0 98.88% (191,010,168B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->67.50% (130,384,850B) 0x7D2670: my_malloc (my_malloc.c:38) | ->51.61% (99,688,240B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->51.35% (99,198,176B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->51.35% (99,198,176B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->51.35% (99,198,176B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->51.35% (99,198,176B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->51.35% (99,198,176B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->51.35% (99,198,176B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->51.35% (99,198,176B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->51.35% (99,198,176B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->51.35% (99,198,176B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->51.35% (99,198,176B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->51.35% (99,198,176B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->51.35% (99,198,176B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->51.35% (99,198,176B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->51.35% (99,198,176B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->51.35% (99,198,176B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->51.35% (99,198,176B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->51.35% (99,198,176B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->51.35% (99,198,176B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->51.35% (99,198,176B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->51.35% (99,198,176B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->51.35% (99,198,176B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->51.35% (99,198,176B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->51.35% (99,198,176B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->51.35% (99,198,176B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->51.35% (99,198,176B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->51.35% (99,198,176B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->51.35% (99,198,176B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->51.35% (99,198,176B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.25% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->10.59% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->10.59% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->10.59% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->10.59% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->10.59% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->10.59% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->10.59% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.44% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->02.44% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->02.44% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->02.44% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->02.44% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->02.44% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.65% (3,188,008B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->01.62% (3,124,352B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.62% (3,124,352B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.62% (3,124,352B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.62% (3,124,352B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.62% (3,124,352B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->01.62% (3,124,352B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->01.62% (3,124,352B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->01.62% (3,124,352B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.62% (3,124,352B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.62% (3,124,352B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.62% (3,124,352B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.62% (3,124,352B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.62% (3,124,352B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->01.62% (3,124,352B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.62% (3,124,352B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.62% (3,124,352B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.62% (3,124,352B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.62% (3,124,352B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.62% (3,124,352B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.62% (3,124,352B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.62% (3,124,352B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.62% (3,124,352B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->01.62% (3,124,352B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->01.62% (3,124,352B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.62% (3,124,352B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.62% (3,124,352B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.62% (3,124,352B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.62% (3,124,352B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.03% (63,656B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.01% (1,952,640B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.01% (1,952,640B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.01% (1,952,640B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.01% (1,952,640B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.01% (1,952,640B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.01% (1,952,640B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.01% (1,952,640B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.01% (1,952,640B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.01% (1,952,640B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.01% (1,952,640B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.01% (1,952,640B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.01% (1,952,640B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.01% (1,952,640B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.01% (1,952,640B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.01% (1,952,640B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.01% (1,952,640B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.01% (1,952,640B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.01% (1,952,640B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.01% (1,952,640B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.01% (1,952,640B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.01% (1,952,640B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.01% (1,952,640B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.01% (1,952,640B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.01% (1,952,640B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.01% (1,952,640B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.01% (1,952,640B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.01% (1,952,640B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.01% (1,952,640B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.01% (1,952,640B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.20% (390,378B) in 1+ places, all below ms_print's threshold (01.00%) | ->20.04% (38,704,632B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->20.04% (38,704,632B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->17.37% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->17.37% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->17.37% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->17.37% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->17.37% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->17.37% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->17.37% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->17.37% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->17.37% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.67% (5,149,568B) in 79 places, all below massif's threshold (01.00%) | ->07.72% (14,918,065B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->04.07% (7,857,152B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->04.07% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.85% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.15% (2,213,368B) 0x8A5B67: ha_create_func (ha0ha.c:58) | | | ->01.15% (2,213,368B) 0x85656D: btr_search_sys_create (btr0sea.c:182) | | | ->01.15% (2,213,368B) 0x8648A3: buf_pool_init (buf0buf.c:1318) | | | ->01.15% (2,213,368B) 0x81BCF0: innobase_start_or_create_for_mysql (srv0start.c:1398) | | | ->01.15% (2,213,368B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | | ->01.15% (2,213,368B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | | ->01.15% (2,213,368B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | | ->01.15% (2,213,368B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | | ->01.15% (2,213,368B) 0x506881: init_server_components() (mysqld.cc:3902) | | | ->01.15% (2,213,368B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | | ->01.15% (2,213,368B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | | | ->00.70% (1,351,072B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.09% (2,113,536B) 0x82FE27: trx_doublewrite_init (trx0sys.c:204) | | ->01.09% (2,113,536B) 0x83002F: trx_sys_doublewrite_init_or_restore_pages (trx0sys.c:455) | | ->01.09% (2,113,536B) 0x8CB5A2: recv_recovery_from_checkpoint_start_func (log0recv.c:3154) | | ->01.09% (2,113,536B) 0x81D2E4: innobase_start_or_create_for_mysql (srv0start.c:1720) | | ->01.09% (2,113,536B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->01.09% (2,113,536B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->01.09% (2,113,536B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->01.09% (2,113,536B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->01.09% (2,113,536B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->01.09% (2,113,536B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.09% (2,113,536B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->00.72% (1,382,937B) in 1+ places, all below ms_print's threshold (01.00%) | ->03.54% (6,834,520B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->03.54% (6,834,520B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->03.54% (6,834,520B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->03.54% (6,834,520B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->03.54% (6,834,520B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->03.54% (6,834,520B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->03.54% (6,834,520B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->03.54% (6,834,520B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->03.54% (6,834,520B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->03.54% (6,834,520B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->03.54% (6,834,520B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->03.54% (6,834,520B) 0x69F950: Item::val_bool() (item.cc:200) | | ->03.54% (6,834,520B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->03.54% (6,834,520B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->03.54% (6,834,520B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.54% (6,834,520B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.54% (6,834,520B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.54% (6,834,520B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.54% (6,834,520B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.54% (6,834,520B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->03.54% (6,834,520B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->03.54% (6,834,520B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->03.54% (6,834,520B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->03.54% (6,834,520B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->03.54% (6,834,520B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->03.54% (6,834,520B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->03.54% (6,834,520B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->03.54% (6,834,520B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->03.54% (6,834,520B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->03.54% (6,834,520B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.09% (168,101B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 21 137,173,333,915 198,251,336 196,030,960 2,220,376 0 22 141,771,282,876 202,276,776 200,003,792 2,272,984 0 23 147,355,741,145 206,745,272 204,414,000 2,331,272 0 24 153,747,167,332 212,525,720 210,119,407 2,406,313 0 25 161,954,364,898 219,375,704 216,879,216 2,496,488 0 26 166,689,015,904 222,957,768 220,414,672 2,543,096 0 27 171,015,529,368 226,968,248 224,373,628 2,594,620 0 98.86% (224,373,628B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->71.24% (161,685,126B) 0x7D2670: my_malloc (my_malloc.c:38) | ->57.01% (129,396,080B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->56.79% (128,906,016B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->56.79% (128,906,016B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->56.79% (128,906,016B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->56.79% (128,906,016B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->56.79% (128,906,016B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->56.79% (128,906,016B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->56.79% (128,906,016B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->56.79% (128,906,016B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->56.79% (128,906,016B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->56.79% (128,906,016B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->56.79% (128,906,016B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->56.79% (128,906,016B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->56.79% (128,906,016B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->56.79% (128,906,016B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->56.79% (128,906,016B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->56.79% (128,906,016B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->56.79% (128,906,016B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->56.79% (128,906,016B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->56.79% (128,906,016B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->56.79% (128,906,016B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->56.79% (128,906,016B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->56.79% (128,906,016B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->56.79% (128,906,016B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->56.79% (128,906,016B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->56.79% (128,906,016B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->56.79% (128,906,016B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->56.79% (128,906,016B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->56.79% (128,906,016B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.22% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->09.01% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->09.01% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->09.01% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->09.01% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->09.01% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->09.01% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->09.01% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.07% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->02.07% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->02.07% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->02.07% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->02.07% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->02.07% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.82% (4,124,456B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->01.79% (4,060,032B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.79% (4,060,032B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.79% (4,060,032B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.79% (4,060,032B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.79% (4,060,032B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->01.79% (4,060,032B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->01.79% (4,060,032B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->01.79% (4,060,032B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.79% (4,060,032B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.79% (4,060,032B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.79% (4,060,032B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.79% (4,060,032B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.79% (4,060,032B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->01.79% (4,060,032B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.79% (4,060,032B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.79% (4,060,032B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.79% (4,060,032B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.79% (4,060,032B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.79% (4,060,032B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.79% (4,060,032B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.79% (4,060,032B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.79% (4,060,032B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->01.79% (4,060,032B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->01.79% (4,060,032B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.79% (4,060,032B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.79% (4,060,032B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.79% (4,060,032B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.79% (4,060,032B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.03% (64,424B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.12% (2,537,440B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.12% (2,537,440B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.12% (2,537,440B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.12% (2,537,440B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.12% (2,537,440B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.12% (2,537,440B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.12% (2,537,440B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.12% (2,537,440B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.12% (2,537,440B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.12% (2,537,440B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.12% (2,537,440B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.12% (2,537,440B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.12% (2,537,440B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.12% (2,537,440B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.12% (2,537,440B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.12% (2,537,440B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.12% (2,537,440B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.12% (2,537,440B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.12% (2,537,440B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.12% (2,537,440B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.12% (2,537,440B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.12% (2,537,440B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.12% (2,537,440B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.12% (2,537,440B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.12% (2,537,440B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.12% (2,537,440B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.12% (2,537,440B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.12% (2,537,440B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.12% (2,537,440B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.20% (461,566B) in 1+ places, all below ms_print's threshold (01.00%) | ->17.05% (38,704,632B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->17.05% (38,704,632B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->14.78% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->14.78% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->14.78% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->14.78% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->14.78% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->14.78% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->14.78% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->14.78% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->14.78% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.27% (5,149,568B) in 79 places, all below massif's threshold (01.00%) | ->06.57% (14,918,065B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->03.46% (7,857,152B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->03.46% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.57% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.57% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.54% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->03.91% (8,881,320B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->03.91% (8,881,320B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->03.91% (8,881,320B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->03.91% (8,881,320B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->03.91% (8,881,320B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->03.91% (8,881,320B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->03.91% (8,881,320B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->03.91% (8,881,320B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->03.91% (8,881,320B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->03.91% (8,881,320B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->03.91% (8,881,320B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->03.91% (8,881,320B) 0x69F950: Item::val_bool() (item.cc:200) | | ->03.91% (8,881,320B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->03.91% (8,881,320B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->03.91% (8,881,320B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.91% (8,881,320B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.91% (8,881,320B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.91% (8,881,320B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.91% (8,881,320B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.91% (8,881,320B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->03.91% (8,881,320B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->03.91% (8,881,320B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->03.91% (8,881,320B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->03.91% (8,881,320B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->03.91% (8,881,320B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->03.91% (8,881,320B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->03.91% (8,881,320B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->03.91% (8,881,320B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->03.91% (8,881,320B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->03.91% (8,881,320B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.08% (184,485B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 28 178,698,301,370 233,227,632 230,551,644 2,675,988 0 29 184,309,362,829 238,554,408 235,809,188 2,745,220 0 98.85% (235,809,188B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->72.28% (172,417,886B) 0x7D2670: my_malloc (my_malloc.c:38) | ->58.52% (139,596,720B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->58.31% (139,106,656B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->58.31% (139,106,656B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->58.31% (139,106,656B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->58.31% (139,106,656B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->58.31% (139,106,656B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->58.31% (139,106,656B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->58.31% (139,106,656B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->58.31% (139,106,656B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->58.31% (139,106,656B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->58.31% (139,106,656B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->58.31% (139,106,656B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->58.31% (139,106,656B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->58.31% (139,106,656B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->58.31% (139,106,656B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->58.31% (139,106,656B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->58.31% (139,106,656B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->58.31% (139,106,656B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->58.31% (139,106,656B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->58.31% (139,106,656B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->58.31% (139,106,656B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->58.31% (139,106,656B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->58.31% (139,106,656B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->58.31% (139,106,656B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->58.31% (139,106,656B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->58.31% (139,106,656B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->58.31% (139,106,656B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->58.31% (139,106,656B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->58.31% (139,106,656B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.21% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->08.58% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->08.58% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->08.58% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->08.58% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->08.58% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->08.58% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->08.58% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.97% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.97% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.97% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.97% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.97% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.97% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.86% (4,445,736B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->01.84% (4,381,312B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.84% (4,381,312B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.84% (4,381,312B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.84% (4,381,312B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.84% (4,381,312B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->01.84% (4,381,312B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->01.84% (4,381,312B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->01.84% (4,381,312B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.84% (4,381,312B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.84% (4,381,312B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.84% (4,381,312B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.84% (4,381,312B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.84% (4,381,312B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->01.84% (4,381,312B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.84% (4,381,312B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.84% (4,381,312B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.84% (4,381,312B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.84% (4,381,312B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.84% (4,381,312B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.84% (4,381,312B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.84% (4,381,312B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.84% (4,381,312B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->01.84% (4,381,312B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->01.84% (4,381,312B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.84% (4,381,312B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.84% (4,381,312B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.84% (4,381,312B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.84% (4,381,312B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.03% (64,424B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.15% (2,738,240B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.15% (2,738,240B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.15% (2,738,240B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.15% (2,738,240B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.15% (2,738,240B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.15% (2,738,240B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.15% (2,738,240B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.15% (2,738,240B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.15% (2,738,240B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.15% (2,738,240B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.15% (2,738,240B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.15% (2,738,240B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.15% (2,738,240B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.15% (2,738,240B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.15% (2,738,240B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.15% (2,738,240B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.15% (2,738,240B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.15% (2,738,240B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.15% (2,738,240B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.15% (2,738,240B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.15% (2,738,240B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.15% (2,738,240B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.15% (2,738,240B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.15% (2,738,240B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.15% (2,738,240B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.15% (2,738,240B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.15% (2,738,240B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.15% (2,738,240B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.15% (2,738,240B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.20% (471,606B) in 1+ places, all below ms_print's threshold (01.00%) | ->16.22% (38,704,632B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->16.22% (38,704,632B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->14.07% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->14.07% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->14.07% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->14.07% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->14.07% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->14.07% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->14.07% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->14.07% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->14.07% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.16% (5,149,568B) in 79 places, all below massif's threshold (01.00%) | ->06.25% (14,918,065B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->03.29% (7,857,152B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->03.29% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.49% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.49% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.47% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.02% (9,584,120B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.02% (9,584,120B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.02% (9,584,120B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.02% (9,584,120B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.02% (9,584,120B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.02% (9,584,120B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.02% (9,584,120B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.02% (9,584,120B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.02% (9,584,120B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.02% (9,584,120B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.02% (9,584,120B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.02% (9,584,120B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.02% (9,584,120B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.02% (9,584,120B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.02% (9,584,120B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.02% (9,584,120B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.02% (9,584,120B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.02% (9,584,120B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.02% (9,584,120B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.02% (9,584,120B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.02% (9,584,120B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.02% (9,584,120B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.02% (9,584,120B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.02% (9,584,120B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.02% (9,584,120B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.02% (9,584,120B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.02% (9,584,120B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.02% (9,584,120B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.02% (9,584,120B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.02% (9,584,120B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.08% (184,485B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 30 190,561,805,572 243,368,464 240,560,067 2,808,397 0 98.85% (240,560,067B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->72.68% (176,891,165B) 0x7D2670: my_malloc (my_malloc.c:38) | ->59.11% (143,859,856B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->58.91% (143,369,792B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->58.91% (143,369,792B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->58.91% (143,369,792B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->58.91% (143,369,792B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->58.91% (143,369,792B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->58.91% (143,369,792B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->58.91% (143,369,792B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->58.91% (143,369,792B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->58.91% (143,369,792B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->58.91% (143,369,792B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->58.91% (143,369,792B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->58.91% (143,369,792B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->58.91% (143,369,792B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->58.91% (143,369,792B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->58.91% (143,369,792B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->58.91% (143,369,792B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->58.91% (143,369,792B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->58.91% (143,369,792B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->58.91% (143,369,792B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->58.91% (143,369,792B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->58.91% (143,369,792B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->58.91% (143,369,792B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->58.91% (143,369,792B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->58.91% (143,369,792B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->58.91% (143,369,792B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->58.91% (143,369,792B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->58.91% (143,369,792B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->58.91% (143,369,792B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.20% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->08.41% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->08.41% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->08.41% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->08.41% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->08.41% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->08.41% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->08.41% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.93% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.93% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.93% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.93% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.93% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.93% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.88% (4,580,008B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->01.86% (4,515,584B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.86% (4,515,584B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.86% (4,515,584B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.86% (4,515,584B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.86% (4,515,584B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->01.86% (4,515,584B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->01.86% (4,515,584B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->01.86% (4,515,584B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.86% (4,515,584B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.86% (4,515,584B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.86% (4,515,584B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.86% (4,515,584B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.86% (4,515,584B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->01.86% (4,515,584B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.86% (4,515,584B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.86% (4,515,584B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.86% (4,515,584B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.86% (4,515,584B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.86% (4,515,584B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.86% (4,515,584B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.86% (4,515,584B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.86% (4,515,584B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->01.86% (4,515,584B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->01.86% (4,515,584B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.86% (4,515,584B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.86% (4,515,584B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.86% (4,515,584B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.86% (4,515,584B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.03% (64,424B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.16% (2,822,240B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.16% (2,822,240B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.16% (2,822,240B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.16% (2,822,240B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.16% (2,822,240B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.16% (2,822,240B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.16% (2,822,240B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.16% (2,822,240B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.16% (2,822,240B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.16% (2,822,240B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.16% (2,822,240B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.16% (2,822,240B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.16% (2,822,240B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.16% (2,822,240B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.16% (2,822,240B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.16% (2,822,240B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.16% (2,822,240B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.16% (2,822,240B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.16% (2,822,240B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.16% (2,822,240B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.16% (2,822,240B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.16% (2,822,240B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.16% (2,822,240B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.16% (2,822,240B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.16% (2,822,240B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.16% (2,822,240B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.16% (2,822,240B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.16% (2,822,240B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.16% (2,822,240B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.19% (463,477B) in 1+ places, all below ms_print's threshold (01.00%) | ->15.90% (38,704,896B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->15.90% (38,704,896B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->13.79% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->13.79% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->13.79% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->13.79% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->13.79% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->13.79% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->13.79% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->13.79% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->13.79% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.12% (5,149,832B) in 79 places, all below massif's threshold (01.00%) | ->06.13% (14,918,065B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->03.23% (7,857,152B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->03.23% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.46% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.46% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.44% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.06% (9,877,840B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.06% (9,877,840B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.06% (9,877,840B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.06% (9,877,840B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.06% (9,877,840B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.06% (9,877,840B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.06% (9,877,840B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.06% (9,877,840B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.06% (9,877,840B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.06% (9,877,840B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.06% (9,877,840B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.06% (9,877,840B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.06% (9,877,840B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.06% (9,877,840B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.06% (9,877,840B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.06% (9,877,840B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.06% (9,877,840B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.06% (9,877,840B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.06% (9,877,840B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.06% (9,877,840B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.06% (9,877,840B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.06% (9,877,840B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.06% (9,877,840B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.06% (9,877,840B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.06% (9,877,840B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.06% (9,877,840B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.06% (9,877,840B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.06% (9,877,840B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.06% (9,877,840B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.06% (9,877,840B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.07% (168,101B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 31 199,250,780,239 253,828,224 250,911,134 2,917,090 0 98.85% (250,911,134B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->73.56% (186,724,072B) 0x7D2670: my_malloc (my_malloc.c:38) | ->59.56% (151,173,432B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->59.35% (150,656,544B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->59.35% (150,656,544B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->59.35% (150,656,544B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->59.35% (150,656,544B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->59.35% (150,656,544B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->59.35% (150,656,544B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->59.35% (150,656,544B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->59.35% (150,656,544B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->59.35% (150,656,544B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->59.35% (150,656,544B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->59.35% (150,656,544B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->59.35% (150,656,544B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->59.35% (150,656,544B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->59.35% (150,656,544B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->59.35% (150,656,544B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->59.35% (150,656,544B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->59.35% (150,656,544B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->59.35% (150,656,544B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->59.35% (150,656,544B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->59.35% (150,656,544B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->59.35% (150,656,544B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->59.35% (150,656,544B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->59.35% (150,656,544B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->59.35% (150,656,544B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->59.35% (150,656,544B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->59.35% (150,656,544B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->59.35% (150,656,544B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->59.35% (150,656,544B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.20% (516,888B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->08.06% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->08.06% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->08.06% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->08.06% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->08.06% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->08.06% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->08.06% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.90% (4,810,280B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->01.87% (4,745,088B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.87% (4,745,088B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.87% (4,745,088B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.87% (4,745,088B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.87% (4,745,088B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->01.87% (4,745,088B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->01.87% (4,745,088B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->01.87% (4,745,088B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.87% (4,745,088B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.87% (4,745,088B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.87% (4,745,088B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.87% (4,745,088B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.87% (4,745,088B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->01.87% (4,745,088B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.87% (4,745,088B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.87% (4,745,088B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.87% (4,745,088B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.87% (4,745,088B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.87% (4,745,088B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.87% (4,745,088B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.87% (4,745,088B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.87% (4,745,088B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->01.87% (4,745,088B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->01.87% (4,745,088B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.87% (4,745,088B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.87% (4,745,088B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.87% (4,745,088B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.87% (4,745,088B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.03% (65,192B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.85% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.85% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.85% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.85% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.85% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.85% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.17% (2,965,680B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.17% (2,965,680B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.17% (2,965,680B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.17% (2,965,680B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.17% (2,965,680B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.17% (2,965,680B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.17% (2,965,680B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.17% (2,965,680B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.17% (2,965,680B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.17% (2,965,680B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.17% (2,965,680B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.17% (2,965,680B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.17% (2,965,680B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.17% (2,965,680B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.17% (2,965,680B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.17% (2,965,680B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.17% (2,965,680B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.17% (2,965,680B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.17% (2,965,680B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.17% (2,965,680B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.17% (2,965,680B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.17% (2,965,680B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.17% (2,965,680B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.17% (2,965,680B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.17% (2,965,680B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.17% (2,965,680B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.17% (2,965,680B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.17% (2,965,680B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.17% (2,965,680B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->01.03% (2,609,096B) in 54 places, all below massif's threshold (01.00%) | ->15.25% (38,704,632B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->15.25% (38,704,632B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->13.22% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->13.22% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->13.22% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->13.22% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->13.22% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->13.22% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->13.22% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->13.22% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->13.22% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.03% (5,149,568B) in 79 places, all below massif's threshold (01.00%) | ->05.88% (14,918,065B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->03.10% (7,857,152B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->03.10% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.40% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.40% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.38% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.09% (10,379,880B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.09% (10,379,880B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.09% (10,379,880B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.09% (10,379,880B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.09% (10,379,880B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.09% (10,379,880B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.09% (10,379,880B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.09% (10,379,880B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.09% (10,379,880B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.09% (10,379,880B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.09% (10,379,880B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.09% (10,379,880B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.09% (10,379,880B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.09% (10,379,880B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.09% (10,379,880B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.09% (10,379,880B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.09% (10,379,880B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.09% (10,379,880B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.09% (10,379,880B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.09% (10,379,880B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.09% (10,379,880B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.09% (10,379,880B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.09% (10,379,880B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.09% (10,379,880B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.09% (10,379,880B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.09% (10,379,880B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.09% (10,379,880B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.09% (10,379,880B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.09% (10,379,880B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.09% (10,379,880B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.07% (184,485B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 32 205,345,485,847 256,080,328 253,104,608 2,975,720 0 33 209,662,532,419 260,114,640 257,085,916 3,028,724 0 34 215,203,588,876 264,154,560 261,072,808 3,081,752 0 98.83% (261,072,808B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->74.25% (196,141,178B) 0x7D2670: my_malloc (my_malloc.c:38) | ->61.40% (162,184,432B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->61.21% (161,694,368B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->61.21% (161,694,368B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->61.21% (161,694,368B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->61.21% (161,694,368B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->61.21% (161,694,368B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->61.21% (161,694,368B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->61.21% (161,694,368B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->61.21% (161,694,368B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->61.21% (161,694,368B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->61.21% (161,694,368B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->61.21% (161,694,368B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->61.21% (161,694,368B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->61.21% (161,694,368B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->61.21% (161,694,368B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->61.21% (161,694,368B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->61.21% (161,694,368B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->61.21% (161,694,368B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->61.21% (161,694,368B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->61.21% (161,694,368B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->61.21% (161,694,368B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->61.21% (161,694,368B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->61.21% (161,694,368B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->61.21% (161,694,368B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->61.21% (161,694,368B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->61.21% (161,694,368B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->61.21% (161,694,368B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->61.21% (161,694,368B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->61.21% (161,694,368B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.19% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->07.74% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->07.74% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->07.74% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->07.74% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->07.74% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->07.74% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->07.74% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.95% (5,156,392B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->01.93% (5,092,736B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.93% (5,092,736B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.93% (5,092,736B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.93% (5,092,736B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.93% (5,092,736B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->01.93% (5,092,736B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->01.93% (5,092,736B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->01.93% (5,092,736B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.93% (5,092,736B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.93% (5,092,736B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.93% (5,092,736B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.93% (5,092,736B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.93% (5,092,736B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->01.93% (5,092,736B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.93% (5,092,736B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.93% (5,092,736B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.93% (5,092,736B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.93% (5,092,736B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.93% (5,092,736B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.93% (5,092,736B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.93% (5,092,736B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.93% (5,092,736B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->01.93% (5,092,736B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->01.93% (5,092,736B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.93% (5,092,736B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.93% (5,092,736B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.93% (5,092,736B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.93% (5,092,736B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (63,656B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.78% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.78% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.78% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.78% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.78% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.78% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.20% (3,182,880B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.20% (3,182,880B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.20% (3,182,880B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.20% (3,182,880B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.20% (3,182,880B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.20% (3,182,880B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.20% (3,182,880B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.20% (3,182,880B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.20% (3,182,880B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.20% (3,182,880B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.20% (3,182,880B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.20% (3,182,880B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.20% (3,182,880B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.20% (3,182,880B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.20% (3,182,880B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.20% (3,182,880B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.20% (3,182,880B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.20% (3,182,880B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.20% (3,182,880B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.20% (3,182,880B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.20% (3,182,880B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.20% (3,182,880B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.20% (3,182,880B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.20% (3,182,880B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.20% (3,182,880B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.20% (3,182,880B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.20% (3,182,880B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.20% (3,182,880B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.20% (3,182,880B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.17% (451,890B) in 1+ places, all below ms_print's threshold (01.00%) | ->14.65% (38,704,632B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->14.65% (38,704,632B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->12.70% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->12.70% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->12.70% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->12.70% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->12.70% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->12.70% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->12.70% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->12.70% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->12.70% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.95% (5,149,568B) in 79 places, all below massif's threshold (01.00%) | ->05.65% (14,918,065B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.97% (7,857,152B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.97% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.35% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.35% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.32% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.22% (11,140,360B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.22% (11,140,360B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.22% (11,140,360B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.22% (11,140,360B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.22% (11,140,360B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.22% (11,140,360B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.22% (11,140,360B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.22% (11,140,360B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.22% (11,140,360B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.22% (11,140,360B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.22% (11,140,360B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.22% (11,140,360B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.22% (11,140,360B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.22% (11,140,360B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.22% (11,140,360B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.22% (11,140,360B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.22% (11,140,360B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.22% (11,140,360B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.22% (11,140,360B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.22% (11,140,360B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.22% (11,140,360B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.22% (11,140,360B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.22% (11,140,360B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.22% (11,140,360B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.22% (11,140,360B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.22% (11,140,360B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.22% (11,140,360B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.22% (11,140,360B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.22% (11,140,360B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.22% (11,140,360B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.06% (168,573B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 35 220,471,869,407 269,471,520 266,321,114 3,150,406 0 98.83% (266,321,114B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->74.62% (201,071,684B) 0x7D2670: my_malloc (my_malloc.c:38) | ->61.90% (166,797,144B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->61.72% (166,307,008B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->61.72% (166,307,008B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->61.72% (166,307,008B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->61.72% (166,307,008B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->61.72% (166,307,008B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->61.72% (166,307,008B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->61.72% (166,307,008B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->61.72% (166,307,008B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->61.72% (166,307,008B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->61.72% (166,307,008B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->61.72% (166,307,008B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->61.72% (166,307,008B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->61.72% (166,307,008B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->61.72% (166,307,008B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->61.72% (166,307,008B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->61.72% (166,307,008B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->61.72% (166,307,008B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->61.72% (166,307,008B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->61.72% (166,307,008B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->61.72% (166,307,008B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->61.72% (166,307,008B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->61.72% (166,307,008B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->61.72% (166,307,008B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->61.72% (166,307,008B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->61.72% (166,307,008B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->61.72% (166,307,008B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->61.72% (166,307,008B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->61.72% (166,307,008B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.18% (490,136B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->07.59% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->07.59% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->07.59% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->07.59% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->07.59% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->07.59% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->07.59% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.97% (5,303,208B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->01.94% (5,238,016B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.94% (5,238,016B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.94% (5,238,016B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.94% (5,238,016B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.94% (5,238,016B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->01.94% (5,238,016B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->01.94% (5,238,016B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->01.94% (5,238,016B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.94% (5,238,016B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.94% (5,238,016B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.94% (5,238,016B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.94% (5,238,016B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.94% (5,238,016B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->01.94% (5,238,016B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.94% (5,238,016B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.94% (5,238,016B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.94% (5,238,016B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.94% (5,238,016B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.94% (5,238,016B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.94% (5,238,016B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.94% (5,238,016B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.94% (5,238,016B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->01.94% (5,238,016B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->01.94% (5,238,016B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.94% (5,238,016B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.94% (5,238,016B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.94% (5,238,016B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.94% (5,238,016B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (65,192B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.75% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.75% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.75% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.75% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.75% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.75% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.21% (3,273,680B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.21% (3,273,680B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.21% (3,273,680B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.21% (3,273,680B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.21% (3,273,680B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.21% (3,273,680B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.21% (3,273,680B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.21% (3,273,680B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.21% (3,273,680B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.21% (3,273,680B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.21% (3,273,680B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.21% (3,273,680B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.21% (3,273,680B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.21% (3,273,680B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.21% (3,273,680B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.21% (3,273,680B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.21% (3,273,680B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.21% (3,273,680B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.21% (3,273,680B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.21% (3,273,680B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.21% (3,273,680B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.21% (3,273,680B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.21% (3,273,680B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.21% (3,273,680B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.21% (3,273,680B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.21% (3,273,680B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.21% (3,273,680B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.21% (3,273,680B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.21% (3,273,680B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.20% (532,068B) in 1+ places, all below ms_print's threshold (01.00%) | ->14.36% (38,704,632B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->14.36% (38,704,632B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->12.45% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->12.45% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->12.45% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->12.45% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->12.45% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->12.45% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->12.45% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->12.45% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->12.45% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.91% (5,149,568B) in 79 places, all below massif's threshold (01.00%) | ->05.54% (14,918,065B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.92% (7,857,152B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.92% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.32% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.32% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.30% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.25% (11,458,160B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.25% (11,458,160B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.25% (11,458,160B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.25% (11,458,160B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.25% (11,458,160B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.25% (11,458,160B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.25% (11,458,160B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.25% (11,458,160B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.25% (11,458,160B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.25% (11,458,160B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.25% (11,458,160B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.25% (11,458,160B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.25% (11,458,160B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.25% (11,458,160B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.25% (11,458,160B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.25% (11,458,160B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.25% (11,458,160B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.25% (11,458,160B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.25% (11,458,160B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.25% (11,458,160B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.25% (11,458,160B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.25% (11,458,160B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.25% (11,458,160B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.25% (11,458,160B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.25% (11,458,160B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.25% (11,458,160B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.25% (11,458,160B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.25% (11,458,160B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.25% (11,458,160B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.25% (11,458,160B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.06% (168,573B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 36 227,585,499,972 274,892,144 271,670,064 3,222,080 0 98.83% (271,670,064B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->74.97% (206,087,154B) 0x7D2670: my_malloc (my_malloc.c:38) | ->62.44% (171,637,296B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->62.26% (171,147,232B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->62.26% (171,147,232B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->62.26% (171,147,232B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->62.26% (171,147,232B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->62.26% (171,147,232B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->62.26% (171,147,232B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->62.26% (171,147,232B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->62.26% (171,147,232B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->62.26% (171,147,232B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->62.26% (171,147,232B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->62.26% (171,147,232B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->62.26% (171,147,232B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->62.26% (171,147,232B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->62.26% (171,147,232B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->62.26% (171,147,232B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->62.26% (171,147,232B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->62.26% (171,147,232B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->62.26% (171,147,232B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->62.26% (171,147,232B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->62.26% (171,147,232B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->62.26% (171,147,232B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->62.26% (171,147,232B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->62.26% (171,147,232B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->62.26% (171,147,232B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->62.26% (171,147,232B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->62.26% (171,147,232B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->62.26% (171,147,232B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->62.26% (171,147,232B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.18% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->07.44% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->07.44% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->07.44% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->07.44% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->07.44% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->07.44% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->07.44% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.98% (5,454,120B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->01.96% (5,390,464B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.96% (5,390,464B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.96% (5,390,464B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.96% (5,390,464B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.96% (5,390,464B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->01.96% (5,390,464B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->01.96% (5,390,464B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->01.96% (5,390,464B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.96% (5,390,464B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.96% (5,390,464B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.96% (5,390,464B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.96% (5,390,464B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.96% (5,390,464B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->01.96% (5,390,464B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.96% (5,390,464B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.96% (5,390,464B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.96% (5,390,464B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.96% (5,390,464B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.96% (5,390,464B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.96% (5,390,464B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.96% (5,390,464B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.96% (5,390,464B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->01.96% (5,390,464B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->01.96% (5,390,464B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.96% (5,390,464B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.96% (5,390,464B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.96% (5,390,464B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.96% (5,390,464B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (63,656B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.71% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.71% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.71% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.71% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.71% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.71% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.23% (3,368,960B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.23% (3,368,960B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.23% (3,368,960B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.23% (3,368,960B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.23% (3,368,960B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.23% (3,368,960B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.23% (3,368,960B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.23% (3,368,960B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.23% (3,368,960B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.23% (3,368,960B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.23% (3,368,960B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.23% (3,368,960B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.23% (3,368,960B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.23% (3,368,960B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.23% (3,368,960B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.23% (3,368,960B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.23% (3,368,960B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.23% (3,368,960B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.23% (3,368,960B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.23% (3,368,960B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.23% (3,368,960B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.23% (3,368,960B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.23% (3,368,960B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.23% (3,368,960B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.23% (3,368,960B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.23% (3,368,960B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.23% (3,368,960B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.23% (3,368,960B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.23% (3,368,960B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.17% (461,194B) in 1+ places, all below ms_print's threshold (01.00%) | ->14.08% (38,704,632B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->14.08% (38,704,632B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->12.21% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->12.21% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->12.21% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->12.21% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->12.21% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->12.21% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->12.21% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->12.21% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->12.21% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.87% (5,149,568B) in 79 places, all below massif's threshold (01.00%) | ->05.43% (14,918,065B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.86% (7,857,152B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.86% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.30% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.30% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.27% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.29% (11,791,640B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.29% (11,791,640B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.29% (11,791,640B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.29% (11,791,640B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.29% (11,791,640B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.29% (11,791,640B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.29% (11,791,640B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.29% (11,791,640B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.29% (11,791,640B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.29% (11,791,640B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.29% (11,791,640B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.29% (11,791,640B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.29% (11,791,640B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.29% (11,791,640B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.29% (11,791,640B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.29% (11,791,640B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.29% (11,791,640B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.29% (11,791,640B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.29% (11,791,640B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.29% (11,791,640B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.29% (11,791,640B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.29% (11,791,640B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.29% (11,791,640B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.29% (11,791,640B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.29% (11,791,640B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.29% (11,791,640B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.29% (11,791,640B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.29% (11,791,640B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.29% (11,791,640B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.29% (11,791,640B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.06% (168,573B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 37 236,166,488,224 283,237,856 279,907,184 3,330,672 0 98.82% (279,907,184B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->75.49% (213,805,290B) 0x7D2670: my_malloc (my_malloc.c:38) | ->63.17% (178,932,176B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->63.00% (178,442,112B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->63.00% (178,442,112B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->63.00% (178,442,112B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->63.00% (178,442,112B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->63.00% (178,442,112B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->63.00% (178,442,112B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->63.00% (178,442,112B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->63.00% (178,442,112B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->63.00% (178,442,112B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->63.00% (178,442,112B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->63.00% (178,442,112B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->63.00% (178,442,112B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->63.00% (178,442,112B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->63.00% (178,442,112B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->63.00% (178,442,112B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->63.00% (178,442,112B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.00% (178,442,112B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->63.00% (178,442,112B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.00% (178,442,112B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->63.00% (178,442,112B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.00% (178,442,112B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->63.00% (178,442,112B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->63.00% (178,442,112B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->63.00% (178,442,112B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->63.00% (178,442,112B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->63.00% (178,442,112B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->63.00% (178,442,112B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->63.00% (178,442,112B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.17% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->07.22% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->07.22% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->07.22% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->07.22% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->07.22% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->07.22% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->07.22% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.01% (5,684,648B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->01.98% (5,620,224B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.98% (5,620,224B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.98% (5,620,224B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.98% (5,620,224B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.98% (5,620,224B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->01.98% (5,620,224B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->01.98% (5,620,224B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->01.98% (5,620,224B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.98% (5,620,224B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.98% (5,620,224B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.98% (5,620,224B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.98% (5,620,224B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.98% (5,620,224B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->01.98% (5,620,224B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.98% (5,620,224B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.98% (5,620,224B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.98% (5,620,224B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.98% (5,620,224B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.98% (5,620,224B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.98% (5,620,224B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.98% (5,620,224B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.98% (5,620,224B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->01.98% (5,620,224B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->01.98% (5,620,224B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.98% (5,620,224B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.98% (5,620,224B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.98% (5,620,224B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.98% (5,620,224B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (64,424B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.66% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.66% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.66% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.66% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.66% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.66% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.24% (3,512,560B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.24% (3,512,560B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.24% (3,512,560B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.24% (3,512,560B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.24% (3,512,560B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.24% (3,512,560B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.24% (3,512,560B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.24% (3,512,560B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.24% (3,512,560B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.24% (3,512,560B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.24% (3,512,560B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.24% (3,512,560B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.24% (3,512,560B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.24% (3,512,560B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.24% (3,512,560B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.24% (3,512,560B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.24% (3,512,560B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.24% (3,512,560B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.24% (3,512,560B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.24% (3,512,560B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.24% (3,512,560B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.24% (3,512,560B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.24% (3,512,560B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.24% (3,512,560B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.24% (3,512,560B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.24% (3,512,560B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.24% (3,512,560B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.24% (3,512,560B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.24% (3,512,560B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.18% (510,322B) in 1+ places, all below ms_print's threshold (01.00%) | ->13.67% (38,704,632B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->13.67% (38,704,632B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->11.85% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->11.85% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->11.85% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->11.85% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->11.85% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->11.85% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->11.85% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->11.85% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->11.85% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.82% (5,149,568B) in 79 places, all below massif's threshold (01.00%) | ->05.27% (14,918,065B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.77% (7,857,152B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.77% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.26% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.26% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.23% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.34% (12,294,240B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.34% (12,294,240B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.34% (12,294,240B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.34% (12,294,240B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.34% (12,294,240B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.34% (12,294,240B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.34% (12,294,240B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.34% (12,294,240B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.34% (12,294,240B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.34% (12,294,240B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.34% (12,294,240B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.34% (12,294,240B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.34% (12,294,240B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.34% (12,294,240B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.34% (12,294,240B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.34% (12,294,240B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.34% (12,294,240B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.34% (12,294,240B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.34% (12,294,240B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.34% (12,294,240B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.34% (12,294,240B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.34% (12,294,240B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.34% (12,294,240B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.34% (12,294,240B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.34% (12,294,240B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.34% (12,294,240B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.34% (12,294,240B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.34% (12,294,240B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.34% (12,294,240B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.34% (12,294,240B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.07% (184,957B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 38 240,416,804,179 286,070,576 282,702,676 3,367,900 0 98.82% (282,702,676B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->75.65% (216,426,558B) 0x7D2670: my_malloc (my_malloc.c:38) | ->63.42% (181,423,408B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->63.25% (180,933,344B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->63.25% (180,933,344B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->63.25% (180,933,344B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->63.25% (180,933,344B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->63.25% (180,933,344B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->63.25% (180,933,344B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->63.25% (180,933,344B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->63.25% (180,933,344B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->63.25% (180,933,344B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->63.25% (180,933,344B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->63.25% (180,933,344B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->63.25% (180,933,344B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->63.25% (180,933,344B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->63.25% (180,933,344B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->63.25% (180,933,344B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->63.25% (180,933,344B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.25% (180,933,344B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->63.25% (180,933,344B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.25% (180,933,344B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->63.25% (180,933,344B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.25% (180,933,344B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->63.25% (180,933,344B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->63.25% (180,933,344B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->63.25% (180,933,344B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->63.25% (180,933,344B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->63.25% (180,933,344B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->63.25% (180,933,344B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->63.25% (180,933,344B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.17% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->07.15% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->07.15% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->07.15% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->07.15% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->07.15% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->07.15% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->07.15% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.01% (5,763,112B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->01.99% (5,698,688B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.99% (5,698,688B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.99% (5,698,688B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.99% (5,698,688B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.99% (5,698,688B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->01.99% (5,698,688B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->01.99% (5,698,688B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->01.99% (5,698,688B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.99% (5,698,688B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.99% (5,698,688B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.99% (5,698,688B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.99% (5,698,688B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.99% (5,698,688B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->01.99% (5,698,688B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.99% (5,698,688B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.99% (5,698,688B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.99% (5,698,688B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.99% (5,698,688B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.99% (5,698,688B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.99% (5,698,688B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.99% (5,698,688B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.99% (5,698,688B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->01.99% (5,698,688B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->01.99% (5,698,688B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.99% (5,698,688B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.99% (5,698,688B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.99% (5,698,688B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.99% (5,698,688B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (64,424B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.65% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.65% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.65% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.65% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.65% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.65% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.25% (3,561,680B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.25% (3,561,680B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.25% (3,561,680B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.25% (3,561,680B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.25% (3,561,680B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.25% (3,561,680B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.25% (3,561,680B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.25% (3,561,680B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.25% (3,561,680B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.25% (3,561,680B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.25% (3,561,680B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.25% (3,561,680B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.25% (3,561,680B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.25% (3,561,680B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.25% (3,561,680B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.25% (3,561,680B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.25% (3,561,680B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.25% (3,561,680B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.25% (3,561,680B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.25% (3,561,680B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.25% (3,561,680B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.25% (3,561,680B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.25% (3,561,680B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.25% (3,561,680B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.25% (3,561,680B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.25% (3,561,680B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.25% (3,561,680B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.25% (3,561,680B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.25% (3,561,680B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.18% (512,774B) in 1+ places, all below ms_print's threshold (01.00%) | ->13.53% (38,707,088B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->13.53% (38,707,088B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->11.73% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->11.73% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->11.73% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->11.73% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->11.73% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->11.73% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->11.73% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->11.73% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->11.73% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.80% (5,152,024B) in 79 places, all below massif's threshold (01.00%) | ->05.21% (14,918,193B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.75% (7,857,280B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.75% (7,857,280B) in 19 places, all below massif's threshold (01.00%) | | | ->01.25% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.25% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.22% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.36% (12,465,880B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.36% (12,465,880B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.36% (12,465,880B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.36% (12,465,880B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.36% (12,465,880B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.36% (12,465,880B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.36% (12,465,880B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.36% (12,465,880B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.36% (12,465,880B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.36% (12,465,880B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.36% (12,465,880B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.36% (12,465,880B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.36% (12,465,880B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.36% (12,465,880B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.36% (12,465,880B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.36% (12,465,880B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.36% (12,465,880B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.36% (12,465,880B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.36% (12,465,880B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.36% (12,465,880B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.36% (12,465,880B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.36% (12,465,880B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.36% (12,465,880B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.36% (12,465,880B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.36% (12,465,880B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.36% (12,465,880B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.36% (12,465,880B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.36% (12,465,880B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.36% (12,465,880B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.36% (12,465,880B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.06% (184,957B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 39 246,363,358,408 291,822,432 288,379,108 3,443,324 0 98.82% (288,379,108B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->75.99% (221,754,374B) 0x7D2670: my_malloc (my_malloc.c:38) | ->63.90% (186,487,152B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->63.74% (185,997,088B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->63.74% (185,997,088B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->63.74% (185,997,088B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->63.74% (185,997,088B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->63.74% (185,997,088B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->63.74% (185,997,088B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->63.74% (185,997,088B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->63.74% (185,997,088B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->63.74% (185,997,088B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->63.74% (185,997,088B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->63.74% (185,997,088B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->63.74% (185,997,088B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->63.74% (185,997,088B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->63.74% (185,997,088B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->63.74% (185,997,088B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->63.74% (185,997,088B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.74% (185,997,088B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->63.74% (185,997,088B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.74% (185,997,088B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->63.74% (185,997,088B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.74% (185,997,088B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->63.74% (185,997,088B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->63.74% (185,997,088B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->63.74% (185,997,088B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->63.74% (185,997,088B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->63.74% (185,997,088B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->63.74% (185,997,088B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->63.74% (185,997,088B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.17% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->07.01% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->07.01% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->07.01% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->07.01% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->07.01% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->07.01% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->07.01% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.03% (5,922,600B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->02.01% (5,858,176B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.01% (5,858,176B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.01% (5,858,176B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.01% (5,858,176B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.01% (5,858,176B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->02.01% (5,858,176B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->02.01% (5,858,176B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->02.01% (5,858,176B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.01% (5,858,176B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.01% (5,858,176B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.01% (5,858,176B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.01% (5,858,176B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.01% (5,858,176B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->02.01% (5,858,176B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.01% (5,858,176B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.01% (5,858,176B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.01% (5,858,176B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.01% (5,858,176B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.01% (5,858,176B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.01% (5,858,176B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.01% (5,858,176B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.01% (5,858,176B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->02.01% (5,858,176B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->02.01% (5,858,176B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.01% (5,858,176B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.01% (5,858,176B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.01% (5,858,176B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.01% (5,858,176B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (64,424B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.61% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.61% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.61% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.61% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.61% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.61% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.25% (3,661,280B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.25% (3,661,280B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.25% (3,661,280B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.25% (3,661,280B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.25% (3,661,280B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.25% (3,661,280B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.25% (3,661,280B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.25% (3,661,280B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.25% (3,661,280B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.25% (3,661,280B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.25% (3,661,280B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.25% (3,661,280B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.25% (3,661,280B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.25% (3,661,280B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.25% (3,661,280B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.25% (3,661,280B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.25% (3,661,280B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.25% (3,661,280B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.25% (3,661,280B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.25% (3,661,280B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.25% (3,661,280B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.25% (3,661,280B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.25% (3,661,280B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.25% (3,661,280B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.25% (3,661,280B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.25% (3,661,280B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.25% (3,661,280B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.25% (3,661,280B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.25% (3,661,280B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.18% (517,758B) in 1+ places, all below ms_print's threshold (01.00%) | ->13.26% (38,706,824B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->13.26% (38,706,824B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->11.50% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->11.50% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->11.50% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->11.50% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->11.50% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->11.50% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->11.50% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->11.50% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->11.50% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.77% (5,151,760B) in 79 places, all below massif's threshold (01.00%) | ->05.11% (14,918,193B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.69% (7,857,280B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.69% (7,857,280B) in 19 places, all below massif's threshold (01.00%) | | | ->01.22% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.22% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.20% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.39% (12,814,760B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.39% (12,814,760B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.39% (12,814,760B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.39% (12,814,760B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.39% (12,814,760B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.39% (12,814,760B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.39% (12,814,760B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.39% (12,814,760B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.39% (12,814,760B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.39% (12,814,760B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.39% (12,814,760B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.39% (12,814,760B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.39% (12,814,760B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.39% (12,814,760B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.39% (12,814,760B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.39% (12,814,760B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.39% (12,814,760B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.39% (12,814,760B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.39% (12,814,760B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.39% (12,814,760B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.39% (12,814,760B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.39% (12,814,760B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.39% (12,814,760B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.39% (12,814,760B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.39% (12,814,760B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.39% (12,814,760B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.39% (12,814,760B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.39% (12,814,760B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.39% (12,814,760B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.39% (12,814,760B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.06% (184,957B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 40 254,041,477,211 297,711,952 294,191,407 3,520,545 0 98.82% (294,191,407B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->76.32% (227,211,089B) 0x7D2670: my_malloc (my_malloc.c:38) | ->64.37% (191,644,368B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->64.21% (191,154,304B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->64.21% (191,154,304B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->64.21% (191,154,304B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->64.21% (191,154,304B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->64.21% (191,154,304B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->64.21% (191,154,304B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->64.21% (191,154,304B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->64.21% (191,154,304B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->64.21% (191,154,304B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->64.21% (191,154,304B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->64.21% (191,154,304B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->64.21% (191,154,304B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->64.21% (191,154,304B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->64.21% (191,154,304B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->64.21% (191,154,304B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->64.21% (191,154,304B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->64.21% (191,154,304B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->64.21% (191,154,304B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->64.21% (191,154,304B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->64.21% (191,154,304B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->64.21% (191,154,304B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->64.21% (191,154,304B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->64.21% (191,154,304B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->64.21% (191,154,304B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->64.21% (191,154,304B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->64.21% (191,154,304B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->64.21% (191,154,304B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->64.21% (191,154,304B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.16% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->06.87% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->06.87% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->06.87% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->06.87% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->06.87% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->06.87% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->06.87% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.04% (6,085,800B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->02.02% (6,020,608B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.02% (6,020,608B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.02% (6,020,608B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.02% (6,020,608B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.02% (6,020,608B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->02.02% (6,020,608B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->02.02% (6,020,608B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->02.02% (6,020,608B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.02% (6,020,608B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.02% (6,020,608B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.02% (6,020,608B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.02% (6,020,608B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.02% (6,020,608B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->02.02% (6,020,608B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.02% (6,020,608B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.02% (6,020,608B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.02% (6,020,608B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.02% (6,020,608B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.02% (6,020,608B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.02% (6,020,608B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.02% (6,020,608B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.02% (6,020,608B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->02.02% (6,020,608B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->02.02% (6,020,608B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.02% (6,020,608B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.02% (6,020,608B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.02% (6,020,608B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.02% (6,020,608B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (65,192B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.58% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.58% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.58% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.58% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.58% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.58% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.26% (3,762,880B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.26% (3,762,880B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.26% (3,762,880B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.26% (3,762,880B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.26% (3,762,880B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.26% (3,762,880B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.26% (3,762,880B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.26% (3,762,880B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.26% (3,762,880B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.26% (3,762,880B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.26% (3,762,880B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.26% (3,762,880B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.26% (3,762,880B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.26% (3,762,880B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.26% (3,762,880B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.26% (3,762,880B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.26% (3,762,880B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.26% (3,762,880B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.26% (3,762,880B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.26% (3,762,880B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.26% (3,762,880B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.26% (3,762,880B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.26% (3,762,880B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.26% (3,762,880B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.26% (3,762,880B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.26% (3,762,880B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.26% (3,762,880B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.26% (3,762,880B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.26% (3,762,880B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.19% (552,457B) in 1+ places, all below ms_print's threshold (01.00%) | ->13.00% (38,707,088B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->13.00% (38,707,088B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->11.27% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->11.27% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->11.27% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->11.27% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->11.27% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->11.27% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->11.27% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->11.27% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->11.27% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.73% (5,152,024B) in 79 places, all below massif's threshold (01.00%) | ->05.01% (14,918,193B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.64% (7,857,280B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.64% (7,857,280B) in 19 places, all below massif's threshold (01.00%) | | | ->01.20% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.20% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.17% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.42% (13,170,080B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.42% (13,170,080B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.42% (13,170,080B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.42% (13,170,080B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.42% (13,170,080B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.42% (13,170,080B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.42% (13,170,080B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.42% (13,170,080B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.42% (13,170,080B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.42% (13,170,080B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.42% (13,170,080B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.42% (13,170,080B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.42% (13,170,080B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.42% (13,170,080B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.42% (13,170,080B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.42% (13,170,080B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.42% (13,170,080B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.42% (13,170,080B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.42% (13,170,080B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.42% (13,170,080B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.42% (13,170,080B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.42% (13,170,080B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.42% (13,170,080B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.42% (13,170,080B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.42% (13,170,080B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.42% (13,170,080B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.42% (13,170,080B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.42% (13,170,080B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.42% (13,170,080B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.42% (13,170,080B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.06% (184,957B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 41 259,752,123,559 304,522,296 300,926,591 3,595,705 0 98.82% (300,926,591B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->76.71% (233,584,073B) 0x7D2670: my_malloc (my_malloc.c:38) | ->64.59% (196,694,624B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->64.42% (196,177,408B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->64.42% (196,177,408B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->64.42% (196,177,408B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->64.42% (196,177,408B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->64.42% (196,177,408B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->64.42% (196,177,408B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->64.42% (196,177,408B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->64.42% (196,177,408B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->64.42% (196,177,408B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->64.42% (196,177,408B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->64.42% (196,177,408B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->64.42% (196,177,408B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->64.42% (196,177,408B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->64.42% (196,177,408B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->64.42% (196,177,408B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->64.42% (196,177,408B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->64.42% (196,177,408B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->64.42% (196,177,408B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->64.42% (196,177,408B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->64.42% (196,177,408B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->64.42% (196,177,408B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->64.42% (196,177,408B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->64.42% (196,177,408B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->64.42% (196,177,408B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->64.42% (196,177,408B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->64.42% (196,177,408B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->64.42% (196,177,408B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->64.42% (196,177,408B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.17% (517,216B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->06.72% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->06.72% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->06.72% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->06.72% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->06.72% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->06.72% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->06.72% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.05% (6,244,008B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->02.03% (6,178,816B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.03% (6,178,816B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.03% (6,178,816B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.03% (6,178,816B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.03% (6,178,816B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->02.03% (6,178,816B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->02.03% (6,178,816B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->02.03% (6,178,816B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.03% (6,178,816B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.03% (6,178,816B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.03% (6,178,816B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.03% (6,178,816B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.03% (6,178,816B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->02.03% (6,178,816B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.03% (6,178,816B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.03% (6,178,816B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.03% (6,178,816B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.03% (6,178,816B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.03% (6,178,816B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.03% (6,178,816B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.03% (6,178,816B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.03% (6,178,816B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->02.03% (6,178,816B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->02.03% (6,178,816B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.03% (6,178,816B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.03% (6,178,816B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.03% (6,178,816B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.03% (6,178,816B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (65,192B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.55% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.55% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.55% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.55% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.55% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.55% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.27% (3,861,760B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.27% (3,861,760B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.27% (3,861,760B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.27% (3,861,760B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.27% (3,861,760B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.27% (3,861,760B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.27% (3,861,760B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.27% (3,861,760B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.27% (3,861,760B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.27% (3,861,760B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.27% (3,861,760B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.27% (3,861,760B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.27% (3,861,760B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.27% (3,861,760B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.27% (3,861,760B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.27% (3,861,760B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.27% (3,861,760B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.27% (3,861,760B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.27% (3,861,760B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.27% (3,861,760B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.27% (3,861,760B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.27% (3,861,760B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.27% (3,861,760B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.27% (3,861,760B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.27% (3,861,760B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.27% (3,861,760B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.27% (3,861,760B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.27% (3,861,760B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.27% (3,861,760B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.53% (1,618,097B) in 1+ places, all below ms_print's threshold (01.00%) | ->12.71% (38,706,824B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->12.71% (38,706,824B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->11.02% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->11.02% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->11.02% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->11.02% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->11.02% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->11.02% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->11.02% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->11.02% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->11.02% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.69% (5,151,760B) in 79 places, all below massif's threshold (01.00%) | ->04.90% (14,918,193B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.58% (7,857,280B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.58% (7,857,280B) in 19 places, all below massif's threshold (01.00%) | | | ->01.17% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.17% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.15% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.44% (13,516,160B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.44% (13,516,160B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.44% (13,516,160B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.44% (13,516,160B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.44% (13,516,160B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.44% (13,516,160B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.44% (13,516,160B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.44% (13,516,160B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.44% (13,516,160B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.44% (13,516,160B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.44% (13,516,160B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.44% (13,516,160B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.44% (13,516,160B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.44% (13,516,160B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.44% (13,516,160B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.44% (13,516,160B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.44% (13,516,160B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.44% (13,516,160B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.44% (13,516,160B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.44% (13,516,160B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.44% (13,516,160B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.44% (13,516,160B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.44% (13,516,160B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.44% (13,516,160B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.44% (13,516,160B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.44% (13,516,160B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.44% (13,516,160B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.44% (13,516,160B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.44% (13,516,160B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.44% (13,516,160B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.07% (201,341B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 42 264,105,613,988 306,281,944 302,648,580 3,633,364 0 43 270,883,630,703 312,886,032 309,166,715 3,719,317 0 44 276,370,154,973 316,895,736 313,124,593 3,771,143 0 98.81% (313,124,593B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->77.31% (244,985,355B) 0x7D2670: my_malloc (my_malloc.c:38) | ->65.78% (208,465,664B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->65.63% (207,975,200B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->65.63% (207,975,200B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->65.63% (207,975,200B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->65.63% (207,975,200B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->65.63% (207,975,200B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->65.63% (207,975,200B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->65.63% (207,975,200B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->65.63% (207,975,200B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->65.63% (207,975,200B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->65.63% (207,975,200B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->65.63% (207,975,200B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->65.63% (207,975,200B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->65.63% (207,975,200B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->65.63% (207,975,200B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->65.63% (207,975,200B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->65.63% (207,975,200B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->65.63% (207,975,200B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->65.63% (207,975,200B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->65.63% (207,975,200B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->65.63% (207,975,200B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->65.63% (207,975,200B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->65.63% (207,975,200B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->65.63% (207,975,200B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->65.63% (207,975,200B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->65.63% (207,975,200B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->65.63% (207,975,200B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->65.63% (207,975,200B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->65.63% (207,975,200B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.15% (490,464B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->06.46% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->06.46% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->06.46% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->06.46% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->06.46% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->06.46% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->06.46% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.09% (6,616,360B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->02.07% (6,550,400B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.07% (6,550,400B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.07% (6,550,400B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.07% (6,550,400B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.07% (6,550,400B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->02.07% (6,550,400B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->02.07% (6,550,400B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->02.07% (6,550,400B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.07% (6,550,400B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.07% (6,550,400B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.07% (6,550,400B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.07% (6,550,400B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.07% (6,550,400B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->02.07% (6,550,400B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.07% (6,550,400B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.07% (6,550,400B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.07% (6,550,400B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.07% (6,550,400B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.07% (6,550,400B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.07% (6,550,400B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.07% (6,550,400B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.07% (6,550,400B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->02.07% (6,550,400B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->02.07% (6,550,400B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.07% (6,550,400B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.07% (6,550,400B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.07% (6,550,400B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.07% (6,550,400B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (65,960B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.49% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.49% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.49% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.49% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.49% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.49% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.29% (4,094,000B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.29% (4,094,000B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.29% (4,094,000B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.29% (4,094,000B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.29% (4,094,000B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.29% (4,094,000B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.29% (4,094,000B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.29% (4,094,000B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.29% (4,094,000B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.29% (4,094,000B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.29% (4,094,000B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.29% (4,094,000B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.29% (4,094,000B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.29% (4,094,000B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.29% (4,094,000B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.29% (4,094,000B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.29% (4,094,000B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.29% (4,094,000B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.29% (4,094,000B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.29% (4,094,000B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.29% (4,094,000B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.29% (4,094,000B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.29% (4,094,000B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.29% (4,094,000B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.29% (4,094,000B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.29% (4,094,000B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.29% (4,094,000B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.29% (4,094,000B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.29% (4,094,000B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.20% (643,747B) in 1+ places, all below ms_print's threshold (01.00%) | ->12.21% (38,707,088B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->12.21% (38,707,088B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->10.59% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->10.59% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->10.59% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->10.59% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->10.59% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->10.59% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->10.59% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->10.59% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->10.59% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.63% (5,152,024B) in 79 places, all below massif's threshold (01.00%) | ->04.71% (14,918,193B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.48% (7,857,280B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.48% (7,857,280B) in 19 places, all below massif's threshold (01.00%) | | | ->01.12% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.12% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.10% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.52% (14,329,000B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.52% (14,329,000B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.52% (14,329,000B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.52% (14,329,000B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.52% (14,329,000B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.52% (14,329,000B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.52% (14,329,000B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.52% (14,329,000B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.52% (14,329,000B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.52% (14,329,000B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.52% (14,329,000B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.52% (14,329,000B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.52% (14,329,000B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.52% (14,329,000B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.52% (14,329,000B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.52% (14,329,000B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.52% (14,329,000B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.52% (14,329,000B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.52% (14,329,000B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.52% (14,329,000B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.52% (14,329,000B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.52% (14,329,000B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.52% (14,329,000B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.52% (14,329,000B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.52% (14,329,000B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.52% (14,329,000B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.52% (14,329,000B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.52% (14,329,000B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.52% (14,329,000B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.52% (14,329,000B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.06% (184,957B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 45 283,050,745,360 323,270,160 319,414,580 3,855,580 0 98.81% (319,414,580B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->77.61% (250,882,486B) 0x7D2670: my_malloc (my_malloc.c:38) | ->66.25% (214,171,120B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->66.10% (213,681,056B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->66.10% (213,681,056B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->66.10% (213,681,056B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->66.10% (213,681,056B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->66.10% (213,681,056B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->66.10% (213,681,056B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->66.10% (213,681,056B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->66.10% (213,681,056B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->66.10% (213,681,056B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->66.10% (213,681,056B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->66.10% (213,681,056B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->66.10% (213,681,056B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->66.10% (213,681,056B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->66.10% (213,681,056B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->66.10% (213,681,056B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->66.10% (213,681,056B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->66.10% (213,681,056B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->66.10% (213,681,056B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->66.10% (213,681,056B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->66.10% (213,681,056B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->66.10% (213,681,056B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->66.10% (213,681,056B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->66.10% (213,681,056B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->66.10% (213,681,056B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->66.10% (213,681,056B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->66.10% (213,681,056B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->66.10% (213,681,056B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->66.10% (213,681,056B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.15% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->06.33% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->06.33% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->06.33% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->06.33% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->06.33% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->06.33% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->06.33% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.10% (6,794,536B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->02.08% (6,730,112B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.08% (6,730,112B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.08% (6,730,112B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.08% (6,730,112B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.08% (6,730,112B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->02.08% (6,730,112B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->02.08% (6,730,112B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->02.08% (6,730,112B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.08% (6,730,112B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.08% (6,730,112B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.08% (6,730,112B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.08% (6,730,112B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.08% (6,730,112B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->02.08% (6,730,112B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.08% (6,730,112B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.08% (6,730,112B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.08% (6,730,112B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.08% (6,730,112B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.08% (6,730,112B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.08% (6,730,112B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.08% (6,730,112B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.08% (6,730,112B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->02.08% (6,730,112B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->02.08% (6,730,112B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.08% (6,730,112B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.08% (6,730,112B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.08% (6,730,112B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.08% (6,730,112B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (64,424B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.46% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.46% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.46% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.46% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.46% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.46% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.30% (4,206,240B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.30% (4,206,240B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.30% (4,206,240B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.30% (4,206,240B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.30% (4,206,240B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.30% (4,206,240B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.30% (4,206,240B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.30% (4,206,240B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.30% (4,206,240B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.30% (4,206,240B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.30% (4,206,240B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.30% (4,206,240B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.30% (4,206,240B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.30% (4,206,240B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.30% (4,206,240B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.30% (4,206,240B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.30% (4,206,240B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.30% (4,206,240B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.30% (4,206,240B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.30% (4,206,240B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.30% (4,206,240B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.30% (4,206,240B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.30% (4,206,240B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.30% (4,206,240B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.30% (4,206,240B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.30% (4,206,240B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.30% (4,206,240B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.30% (4,206,240B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.30% (4,206,240B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.17% (545,006B) in 1+ places, all below ms_print's threshold (01.00%) | ->11.97% (38,706,824B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->11.97% (38,706,824B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->10.38% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->10.38% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->10.38% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->10.38% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->10.38% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->10.38% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->10.38% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->10.38% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->10.38% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.59% (5,151,760B) in 79 places, all below massif's threshold (01.00%) | ->04.61% (14,918,193B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.43% (7,857,280B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.43% (7,857,280B) in 19 places, all below massif's threshold (01.00%) | | | ->01.10% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.10% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.08% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.55% (14,722,120B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.55% (14,722,120B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.55% (14,722,120B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.55% (14,722,120B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.55% (14,722,120B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.55% (14,722,120B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.55% (14,722,120B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.55% (14,722,120B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.55% (14,722,120B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.55% (14,722,120B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.55% (14,722,120B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.55% (14,722,120B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.55% (14,722,120B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.55% (14,722,120B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.55% (14,722,120B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.55% (14,722,120B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.55% (14,722,120B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.55% (14,722,120B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.55% (14,722,120B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.55% (14,722,120B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.55% (14,722,120B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.55% (14,722,120B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.55% (14,722,120B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.55% (14,722,120B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.55% (14,722,120B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.55% (14,722,120B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.55% (14,722,120B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.55% (14,722,120B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.55% (14,722,120B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.55% (14,722,120B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.06% (184,957B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 46 287,804,535,763 326,506,264 322,608,336 3,897,928 0 98.81% (322,608,336B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->77.76% (253,879,962B) 0x7D2670: my_malloc (my_malloc.c:38) | ->66.47% (217,019,984B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->66.32% (216,529,920B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->66.32% (216,529,920B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->66.32% (216,529,920B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->66.32% (216,529,920B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->66.32% (216,529,920B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->66.32% (216,529,920B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->66.32% (216,529,920B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->66.32% (216,529,920B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->66.32% (216,529,920B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->66.32% (216,529,920B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->66.32% (216,529,920B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->66.32% (216,529,920B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->66.32% (216,529,920B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->66.32% (216,529,920B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->66.32% (216,529,920B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->66.32% (216,529,920B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->66.32% (216,529,920B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->66.32% (216,529,920B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->66.32% (216,529,920B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->66.32% (216,529,920B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->66.32% (216,529,920B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->66.32% (216,529,920B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->66.32% (216,529,920B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->66.32% (216,529,920B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->66.32% (216,529,920B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->66.32% (216,529,920B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->66.32% (216,529,920B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->66.32% (216,529,920B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.15% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->06.27% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->06.27% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->06.27% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->06.27% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->06.27% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->06.27% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->06.27% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.11% (6,884,264B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->02.09% (6,819,840B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.09% (6,819,840B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.09% (6,819,840B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.09% (6,819,840B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.09% (6,819,840B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->02.09% (6,819,840B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->02.09% (6,819,840B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->02.09% (6,819,840B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.09% (6,819,840B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.09% (6,819,840B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.09% (6,819,840B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.09% (6,819,840B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.09% (6,819,840B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->02.09% (6,819,840B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.09% (6,819,840B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.09% (6,819,840B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.09% (6,819,840B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.09% (6,819,840B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.09% (6,819,840B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.09% (6,819,840B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.09% (6,819,840B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.09% (6,819,840B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->02.09% (6,819,840B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->02.09% (6,819,840B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.09% (6,819,840B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.09% (6,819,840B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.09% (6,819,840B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.09% (6,819,840B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (64,424B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.44% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.44% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.44% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.44% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.44% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.44% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.31% (4,262,320B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.31% (4,262,320B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.31% (4,262,320B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.31% (4,262,320B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.31% (4,262,320B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.31% (4,262,320B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.31% (4,262,320B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.31% (4,262,320B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.31% (4,262,320B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.31% (4,262,320B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.31% (4,262,320B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.31% (4,262,320B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.31% (4,262,320B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.31% (4,262,320B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.31% (4,262,320B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.31% (4,262,320B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.31% (4,262,320B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.31% (4,262,320B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.31% (4,262,320B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.31% (4,262,320B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.31% (4,262,320B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.31% (4,262,320B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.31% (4,262,320B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.31% (4,262,320B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.31% (4,262,320B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.31% (4,262,320B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.31% (4,262,320B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.31% (4,262,320B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.31% (4,262,320B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.17% (547,810B) in 1+ places, all below ms_print's threshold (01.00%) | ->11.85% (38,706,824B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->11.85% (38,706,824B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->10.28% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->10.28% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->10.28% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->10.28% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->10.28% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->10.28% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->10.28% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->10.28% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->10.28% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.58% (5,151,760B) in 79 places, all below massif's threshold (01.00%) | ->04.57% (14,918,400B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.57% (14,918,400B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.57% (14,918,400B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.57% (14,918,400B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.57% (14,918,400B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.57% (14,918,400B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.57% (14,918,400B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.57% (14,918,400B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.57% (14,918,400B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.57% (14,918,400B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.57% (14,918,400B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.57% (14,918,400B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.57% (14,918,400B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.57% (14,918,400B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.57% (14,918,400B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.57% (14,918,400B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.57% (14,918,400B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.57% (14,918,400B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.57% (14,918,400B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.57% (14,918,400B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.57% (14,918,400B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.57% (14,918,400B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.57% (14,918,400B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.57% (14,918,400B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.57% (14,918,400B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.57% (14,918,400B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.57% (14,918,400B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.57% (14,918,400B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.57% (14,918,400B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.57% (14,918,400B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.57% (14,918,193B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.41% (7,857,280B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.41% (7,857,280B) in 19 places, all below massif's threshold (01.00%) | | | ->01.09% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.09% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.07% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->00.06% (184,957B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 47 294,537,247,337 333,073,648 329,090,023 3,983,625 0 98.80% (329,090,023B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->78.05% (259,965,169B) 0x7D2670: my_malloc (my_malloc.c:38) | ->66.88% (222,774,608B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->66.74% (222,284,544B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->66.74% (222,284,544B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->66.74% (222,284,544B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->66.74% (222,284,544B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->66.74% (222,284,544B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->66.74% (222,284,544B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->66.74% (222,284,544B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->66.74% (222,284,544B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->66.74% (222,284,544B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->66.74% (222,284,544B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->66.74% (222,284,544B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->66.74% (222,284,544B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->66.74% (222,284,544B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->66.74% (222,284,544B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->66.74% (222,284,544B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->66.74% (222,284,544B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->66.74% (222,284,544B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->66.74% (222,284,544B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->66.74% (222,284,544B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->66.74% (222,284,544B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->66.74% (222,284,544B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->66.74% (222,284,544B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->66.74% (222,284,544B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->66.74% (222,284,544B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->66.74% (222,284,544B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->66.74% (222,284,544B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->66.74% (222,284,544B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->66.74% (222,284,544B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.15% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->06.14% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->06.14% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->06.14% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->06.14% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->06.14% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->06.14% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->06.14% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.12% (7,066,280B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->02.10% (7,001,088B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.10% (7,001,088B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.10% (7,001,088B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.10% (7,001,088B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.10% (7,001,088B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->02.10% (7,001,088B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->02.10% (7,001,088B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->02.10% (7,001,088B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.10% (7,001,088B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.10% (7,001,088B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.10% (7,001,088B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.10% (7,001,088B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.10% (7,001,088B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->02.10% (7,001,088B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.10% (7,001,088B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.10% (7,001,088B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.10% (7,001,088B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.10% (7,001,088B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.10% (7,001,088B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.10% (7,001,088B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.10% (7,001,088B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.10% (7,001,088B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->02.10% (7,001,088B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->02.10% (7,001,088B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.10% (7,001,088B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.10% (7,001,088B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.10% (7,001,088B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.10% (7,001,088B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (65,192B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.41% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.41% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.41% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.41% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.41% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.41% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.31% (4,375,600B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.31% (4,375,600B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.31% (4,375,600B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.31% (4,375,600B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.31% (4,375,600B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.31% (4,375,600B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.31% (4,375,600B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.31% (4,375,600B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.31% (4,375,600B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.31% (4,375,600B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.31% (4,375,600B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.31% (4,375,600B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.31% (4,375,600B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.31% (4,375,600B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.31% (4,375,600B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.31% (4,375,600B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.31% (4,375,600B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.31% (4,375,600B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.31% (4,375,600B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.31% (4,375,600B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.31% (4,375,600B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.31% (4,375,600B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.31% (4,375,600B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.31% (4,375,600B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.31% (4,375,600B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.31% (4,375,600B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.31% (4,375,600B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.31% (4,375,600B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.31% (4,375,600B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.18% (583,097B) in 1+ places, all below ms_print's threshold (01.00%) | ->11.62% (38,706,824B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->11.62% (38,706,824B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->10.07% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->10.07% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->10.07% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->10.07% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->10.07% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->10.07% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->10.07% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->10.07% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->10.07% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.55% (5,151,760B) in 79 places, all below massif's threshold (01.00%) | ->04.60% (15,314,880B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.60% (15,314,880B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.60% (15,314,880B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.60% (15,314,880B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.60% (15,314,880B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.60% (15,314,880B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.60% (15,314,880B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.60% (15,314,880B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.60% (15,314,880B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.60% (15,314,880B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.60% (15,314,880B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.60% (15,314,880B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.60% (15,314,880B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.60% (15,314,880B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.60% (15,314,880B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.60% (15,314,880B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.60% (15,314,880B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.60% (15,314,880B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.60% (15,314,880B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.60% (15,314,880B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.60% (15,314,880B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.60% (15,314,880B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.60% (15,314,880B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.60% (15,314,880B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.60% (15,314,880B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.60% (15,314,880B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.60% (15,314,880B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.60% (15,314,880B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.60% (15,314,880B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.60% (15,314,880B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.48% (14,918,193B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.36% (7,857,280B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.36% (7,857,280B) in 19 places, all below massif's threshold (01.00%) | | | ->01.07% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.07% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.05% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->00.06% (184,957B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 48 299,430,859,707 336,423,848 332,396,263 4,027,585 0 98.80% (332,396,263B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->78.20% (263,068,985B) 0x7D2670: my_malloc (my_malloc.c:38) | ->67.09% (225,708,888B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->66.94% (225,218,752B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->66.94% (225,218,752B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->66.94% (225,218,752B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->66.94% (225,218,752B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->66.94% (225,218,752B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->66.94% (225,218,752B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->66.94% (225,218,752B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->66.94% (225,218,752B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->66.94% (225,218,752B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->66.94% (225,218,752B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->66.94% (225,218,752B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->66.94% (225,218,752B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->66.94% (225,218,752B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->66.94% (225,218,752B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->66.94% (225,218,752B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->66.94% (225,218,752B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->66.94% (225,218,752B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->66.94% (225,218,752B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->66.94% (225,218,752B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->66.94% (225,218,752B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->66.94% (225,218,752B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->66.94% (225,218,752B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->66.94% (225,218,752B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->66.94% (225,218,752B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->66.94% (225,218,752B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->66.94% (225,218,752B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->66.94% (225,218,752B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->66.94% (225,218,752B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.15% (490,136B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->06.08% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->06.08% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->06.08% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->06.08% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->06.08% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->06.08% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->06.08% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.13% (7,158,696B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->02.11% (7,093,504B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.11% (7,093,504B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.11% (7,093,504B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.11% (7,093,504B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.11% (7,093,504B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->02.11% (7,093,504B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->02.11% (7,093,504B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->02.11% (7,093,504B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.11% (7,093,504B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.11% (7,093,504B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.11% (7,093,504B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.11% (7,093,504B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.11% (7,093,504B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->02.11% (7,093,504B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.11% (7,093,504B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.11% (7,093,504B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.11% (7,093,504B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.11% (7,093,504B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.11% (7,093,504B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.11% (7,093,504B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.11% (7,093,504B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.11% (7,093,504B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->02.11% (7,093,504B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->02.11% (7,093,504B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.11% (7,093,504B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.11% (7,093,504B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.11% (7,093,504B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.11% (7,093,504B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (65,192B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.40% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.40% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.40% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.40% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.40% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.40% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.32% (4,433,440B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.32% (4,433,440B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.32% (4,433,440B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.32% (4,433,440B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.32% (4,433,440B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.32% (4,433,440B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.32% (4,433,440B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.32% (4,433,440B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.32% (4,433,440B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.32% (4,433,440B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.32% (4,433,440B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.32% (4,433,440B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.32% (4,433,440B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.32% (4,433,440B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.32% (4,433,440B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.32% (4,433,440B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.32% (4,433,440B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.32% (4,433,440B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.32% (4,433,440B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.32% (4,433,440B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.32% (4,433,440B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.32% (4,433,440B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.32% (4,433,440B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.32% (4,433,440B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.32% (4,433,440B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.32% (4,433,440B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.32% (4,433,440B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.32% (4,433,440B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.32% (4,433,440B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.18% (602,377B) in 1+ places, all below ms_print's threshold (01.00%) | ->11.51% (38,707,088B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->11.51% (38,707,088B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->09.97% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->09.97% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->09.97% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->09.97% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->09.97% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->09.97% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->09.97% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->09.97% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->09.97% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.53% (5,152,024B) in 79 places, all below massif's threshold (01.00%) | ->04.61% (15,517,040B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.61% (15,517,040B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.61% (15,517,040B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.61% (15,517,040B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.61% (15,517,040B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.61% (15,517,040B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.61% (15,517,040B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.61% (15,517,040B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.61% (15,517,040B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.61% (15,517,040B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.61% (15,517,040B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.61% (15,517,040B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.61% (15,517,040B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.61% (15,517,040B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.61% (15,517,040B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.61% (15,517,040B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.61% (15,517,040B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.61% (15,517,040B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.61% (15,517,040B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.61% (15,517,040B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.61% (15,517,040B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.61% (15,517,040B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.61% (15,517,040B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.61% (15,517,040B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.61% (15,517,040B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.61% (15,517,040B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.61% (15,517,040B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.61% (15,517,040B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.61% (15,517,040B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.61% (15,517,040B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.43% (14,918,193B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.34% (7,857,280B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.34% (7,857,280B) in 19 places, all below massif's threshold (01.00%) | | | ->01.06% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.06% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.04% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->00.05% (184,957B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 49 301,601,058,171 338,389,160 334,335,870 4,053,290 0 50 302,929,301,866 339,788,368 335,715,948 4,072,420 0 98.80% (335,715,948B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->78.34% (266,182,014B) 0x7D2670: my_malloc (my_malloc.c:38) | ->67.31% (228,712,112B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->67.17% (228,222,048B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->67.17% (228,222,048B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->67.17% (228,222,048B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->67.17% (228,222,048B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->67.17% (228,222,048B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->67.17% (228,222,048B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->67.17% (228,222,048B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->67.17% (228,222,048B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->67.17% (228,222,048B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->67.17% (228,222,048B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->67.17% (228,222,048B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->67.17% (228,222,048B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->67.17% (228,222,048B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->67.17% (228,222,048B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->67.17% (228,222,048B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->67.17% (228,222,048B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->67.17% (228,222,048B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->67.17% (228,222,048B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->67.17% (228,222,048B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->67.17% (228,222,048B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->67.17% (228,222,048B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->67.17% (228,222,048B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->67.17% (228,222,048B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->67.17% (228,222,048B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->67.17% (228,222,048B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->67.17% (228,222,048B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->67.17% (228,222,048B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->67.17% (228,222,048B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.14% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->06.02% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->06.02% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->06.02% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->06.02% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->06.02% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->06.02% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->06.02% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.13% (7,252,520B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->02.12% (7,188,096B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.12% (7,188,096B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.12% (7,188,096B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.12% (7,188,096B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.12% (7,188,096B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->02.12% (7,188,096B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->02.12% (7,188,096B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->02.12% (7,188,096B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.12% (7,188,096B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.12% (7,188,096B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.12% (7,188,096B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.12% (7,188,096B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.12% (7,188,096B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->02.12% (7,188,096B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.12% (7,188,096B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.12% (7,188,096B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.12% (7,188,096B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.12% (7,188,096B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.12% (7,188,096B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.12% (7,188,096B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.12% (7,188,096B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.12% (7,188,096B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->02.12% (7,188,096B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->02.12% (7,188,096B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.12% (7,188,096B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.12% (7,188,096B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.12% (7,188,096B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.12% (7,188,096B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (64,424B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.39% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.39% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.39% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.39% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.39% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.39% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.32% (4,492,480B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.32% (4,492,480B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.32% (4,492,480B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.32% (4,492,480B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.32% (4,492,480B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.32% (4,492,480B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.32% (4,492,480B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.32% (4,492,480B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.32% (4,492,480B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.32% (4,492,480B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.32% (4,492,480B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.32% (4,492,480B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.32% (4,492,480B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.32% (4,492,480B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.32% (4,492,480B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.32% (4,492,480B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.32% (4,492,480B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.32% (4,492,480B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.32% (4,492,480B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.32% (4,492,480B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.32% (4,492,480B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.32% (4,492,480B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.32% (4,492,480B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.32% (4,492,480B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.32% (4,492,480B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.32% (4,492,480B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.32% (4,492,480B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.32% (4,492,480B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.32% (4,492,480B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.16% (559,318B) in 1+ places, all below ms_print's threshold (01.00%) | ->11.39% (38,706,824B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->11.39% (38,706,824B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->09.88% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->09.88% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->09.88% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->09.88% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->09.88% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->09.88% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->09.88% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->09.88% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->09.88% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.52% (5,151,760B) in 79 places, all below massif's threshold (01.00%) | ->04.63% (15,723,960B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.63% (15,723,960B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.63% (15,723,960B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.63% (15,723,960B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.63% (15,723,960B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.63% (15,723,960B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.63% (15,723,960B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.63% (15,723,960B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.63% (15,723,960B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.63% (15,723,960B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.63% (15,723,960B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.63% (15,723,960B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.63% (15,723,960B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.63% (15,723,960B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.63% (15,723,960B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.63% (15,723,960B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.63% (15,723,960B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.63% (15,723,960B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.63% (15,723,960B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.63% (15,723,960B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.63% (15,723,960B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.63% (15,723,960B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.63% (15,723,960B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.63% (15,723,960B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.63% (15,723,960B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.63% (15,723,960B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.63% (15,723,960B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.63% (15,723,960B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.63% (15,723,960B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.63% (15,723,960B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.39% (14,918,193B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.31% (7,857,280B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.31% (7,857,280B) in 19 places, all below massif's threshold (01.00%) | | | ->01.05% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.05% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.03% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->00.05% (184,957B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 51 306,372,847,650 343,221,400 339,104,893 4,116,507 0 98.80% (339,104,893B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->78.48% (269,367,959B) 0x7D2670: my_malloc (my_malloc.c:38) | ->67.49% (231,654,776B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->67.35% (231,168,448B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->67.35% (231,168,448B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->67.35% (231,168,448B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->67.35% (231,168,448B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->67.35% (231,168,448B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->67.35% (231,168,448B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->67.35% (231,168,448B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->67.35% (231,168,448B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->67.35% (231,168,448B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->67.35% (231,168,448B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->67.35% (231,168,448B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->67.35% (231,168,448B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->67.35% (231,168,448B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->67.35% (231,168,448B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->67.35% (231,168,448B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->67.35% (231,168,448B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->67.35% (231,168,448B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->67.35% (231,168,448B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->67.35% (231,168,448B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->67.35% (231,168,448B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->67.35% (231,168,448B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->67.35% (231,168,448B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->67.35% (231,168,448B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->67.35% (231,168,448B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->67.35% (231,168,448B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->67.35% (231,168,448B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->67.35% (231,168,448B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->67.35% (231,168,448B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.14% (486,328B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->05.96% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->05.96% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->05.96% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->05.96% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->05.96% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->05.96% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->05.96% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.14% (7,346,856B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->02.12% (7,280,896B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.12% (7,280,896B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.12% (7,280,896B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.12% (7,280,896B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.12% (7,280,896B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->02.12% (7,280,896B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->02.12% (7,280,896B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->02.12% (7,280,896B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.12% (7,280,896B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.12% (7,280,896B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.12% (7,280,896B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.12% (7,280,896B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.12% (7,280,896B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->02.12% (7,280,896B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.12% (7,280,896B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.12% (7,280,896B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.12% (7,280,896B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.12% (7,280,896B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.12% (7,280,896B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.12% (7,280,896B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.12% (7,280,896B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.12% (7,280,896B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->02.12% (7,280,896B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->02.12% (7,280,896B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.12% (7,280,896B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.12% (7,280,896B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.12% (7,280,896B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.12% (7,280,896B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (65,960B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.37% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.37% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.37% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.37% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.37% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.37% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.33% (4,550,560B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.33% (4,550,560B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.33% (4,550,560B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.33% (4,550,560B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.33% (4,550,560B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.33% (4,550,560B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.33% (4,550,560B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.33% (4,550,560B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.33% (4,550,560B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.33% (4,550,560B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.33% (4,550,560B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.33% (4,550,560B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.33% (4,550,560B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.33% (4,550,560B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.33% (4,550,560B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.33% (4,550,560B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.33% (4,550,560B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.33% (4,550,560B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.33% (4,550,560B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.33% (4,550,560B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.33% (4,550,560B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.33% (4,550,560B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.33% (4,550,560B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.33% (4,550,560B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.33% (4,550,560B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.33% (4,550,560B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.33% (4,550,560B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.33% (4,550,560B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.33% (4,550,560B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.19% (650,183B) in 1+ places, all below ms_print's threshold (01.00%) | ->11.28% (38,706,824B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->11.28% (38,706,824B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->09.78% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->09.78% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->09.78% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->09.78% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->09.78% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->09.78% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->09.78% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->09.78% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->09.78% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.50% (5,151,760B) in 79 places, all below massif's threshold (01.00%) | ->04.64% (15,926,960B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.64% (15,926,960B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.64% (15,926,960B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.64% (15,926,960B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.64% (15,926,960B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.64% (15,926,960B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.64% (15,926,960B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.64% (15,926,960B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.64% (15,926,960B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.64% (15,926,960B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.64% (15,926,960B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.64% (15,926,960B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.64% (15,926,960B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.64% (15,926,960B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.64% (15,926,960B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.64% (15,926,960B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.64% (15,926,960B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.64% (15,926,960B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.64% (15,926,960B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.64% (15,926,960B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.64% (15,926,960B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.64% (15,926,960B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.64% (15,926,960B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.64% (15,926,960B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.64% (15,926,960B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.64% (15,926,960B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.64% (15,926,960B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.64% (15,926,960B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.64% (15,926,960B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.64% (15,926,960B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.35% (14,918,193B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.29% (7,857,280B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.29% (7,857,280B) in 19 places, all below massif's threshold (01.00%) | | | ->01.04% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.04% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.02% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->00.05% (184,957B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 52 310,452,132,179 345,471,408 341,324,464 4,146,944 0 53 311,381,554,207 346,666,600 342,504,789 4,161,811 0 98.80% (342,504,789B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->78.62% (272,558,151B) 0x7D2670: my_malloc (my_malloc.c:38) | ->67.70% (234,698,712B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->67.56% (234,208,320B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->67.56% (234,208,320B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->67.56% (234,208,320B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->67.56% (234,208,320B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->67.56% (234,208,320B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->67.56% (234,208,320B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->67.56% (234,208,320B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->67.56% (234,208,320B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->67.56% (234,208,320B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->67.56% (234,208,320B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->67.56% (234,208,320B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->67.56% (234,208,320B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->67.56% (234,208,320B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->67.56% (234,208,320B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->67.56% (234,208,320B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->67.56% (234,208,320B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->67.56% (234,208,320B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->67.56% (234,208,320B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->67.56% (234,208,320B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->67.56% (234,208,320B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->67.56% (234,208,320B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->67.56% (234,208,320B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->67.56% (234,208,320B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->67.56% (234,208,320B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->67.56% (234,208,320B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->67.56% (234,208,320B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->67.56% (234,208,320B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->67.56% (234,208,320B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.14% (490,392B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->05.90% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->05.90% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->05.90% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->05.90% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->05.90% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->05.90% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->05.90% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.15% (7,442,600B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->02.13% (7,376,640B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.13% (7,376,640B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.13% (7,376,640B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.13% (7,376,640B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.13% (7,376,640B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->02.13% (7,376,640B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->02.13% (7,376,640B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->02.13% (7,376,640B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.13% (7,376,640B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.13% (7,376,640B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.13% (7,376,640B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.13% (7,376,640B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.13% (7,376,640B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->02.13% (7,376,640B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.13% (7,376,640B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.13% (7,376,640B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.13% (7,376,640B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.13% (7,376,640B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.13% (7,376,640B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.13% (7,376,640B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.13% (7,376,640B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.13% (7,376,640B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->02.13% (7,376,640B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->02.13% (7,376,640B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.13% (7,376,640B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.13% (7,376,640B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.13% (7,376,640B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.13% (7,376,640B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (65,960B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.36% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.36% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.36% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.36% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.36% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.36% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.33% (4,610,400B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.33% (4,610,400B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.33% (4,610,400B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.33% (4,610,400B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.33% (4,610,400B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.33% (4,610,400B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.33% (4,610,400B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.33% (4,610,400B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.33% (4,610,400B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.33% (4,610,400B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.33% (4,610,400B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.33% (4,610,400B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.33% (4,610,400B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.33% (4,610,400B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.33% (4,610,400B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.33% (4,610,400B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.33% (4,610,400B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.33% (4,610,400B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.33% (4,610,400B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.33% (4,610,400B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.33% (4,610,400B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.33% (4,610,400B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.33% (4,610,400B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.33% (4,610,400B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.33% (4,610,400B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.33% (4,610,400B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.33% (4,610,400B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.33% (4,610,400B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.33% (4,610,400B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.18% (640,855B) in 1+ places, all below ms_print's threshold (01.00%) | ->11.17% (38,707,088B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->11.17% (38,707,088B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->09.68% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->09.68% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->09.68% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->09.68% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->09.68% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->09.68% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->09.68% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->09.68% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->09.68% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.49% (5,152,024B) in 79 places, all below massif's threshold (01.00%) | ->04.65% (16,136,400B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.65% (16,136,400B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.65% (16,136,400B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.65% (16,136,400B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.65% (16,136,400B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.65% (16,136,400B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.65% (16,136,400B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.65% (16,136,400B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.65% (16,136,400B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.65% (16,136,400B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.65% (16,136,400B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.65% (16,136,400B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.65% (16,136,400B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.65% (16,136,400B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.65% (16,136,400B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.65% (16,136,400B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.65% (16,136,400B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.65% (16,136,400B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.65% (16,136,400B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.65% (16,136,400B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.65% (16,136,400B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.65% (16,136,400B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.65% (16,136,400B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.65% (16,136,400B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.65% (16,136,400B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.65% (16,136,400B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.65% (16,136,400B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.65% (16,136,400B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.65% (16,136,400B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.65% (16,136,400B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.30% (14,918,193B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.27% (7,857,280B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.27% (7,857,280B) in 19 places, all below massif's threshold (01.00%) | | | ->01.03% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.03% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.01% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->00.05% (184,957B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 54 315,011,456,070 350,133,848 345,925,944 4,207,904 0 98.80% (345,925,944B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->78.76% (275,764,530B) 0x7D2670: my_malloc (my_malloc.c:38) | ->67.92% (237,819,536B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->67.78% (237,329,472B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->67.78% (237,329,472B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->67.78% (237,329,472B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->67.78% (237,329,472B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->67.78% (237,329,472B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->67.78% (237,329,472B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->67.78% (237,329,472B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->67.78% (237,329,472B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->67.78% (237,329,472B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->67.78% (237,329,472B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->67.78% (237,329,472B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->67.78% (237,329,472B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->67.78% (237,329,472B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->67.78% (237,329,472B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->67.78% (237,329,472B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->67.78% (237,329,472B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->67.78% (237,329,472B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->67.78% (237,329,472B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->67.78% (237,329,472B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->67.78% (237,329,472B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->67.78% (237,329,472B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->67.78% (237,329,472B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->67.78% (237,329,472B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->67.78% (237,329,472B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->67.78% (237,329,472B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->67.78% (237,329,472B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->67.78% (237,329,472B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->67.78% (237,329,472B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.14% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->05.84% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->05.84% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->05.84% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->05.84% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->05.84% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->05.84% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->05.84% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.15% (7,539,368B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->02.13% (7,474,944B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.13% (7,474,944B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.13% (7,474,944B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.13% (7,474,944B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.13% (7,474,944B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->02.13% (7,474,944B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->02.13% (7,474,944B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->02.13% (7,474,944B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.13% (7,474,944B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.13% (7,474,944B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.13% (7,474,944B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.13% (7,474,944B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.13% (7,474,944B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->02.13% (7,474,944B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.13% (7,474,944B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.13% (7,474,944B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.13% (7,474,944B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.13% (7,474,944B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.13% (7,474,944B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.13% (7,474,944B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.13% (7,474,944B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.13% (7,474,944B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->02.13% (7,474,944B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->02.13% (7,474,944B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.13% (7,474,944B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.13% (7,474,944B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.13% (7,474,944B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.13% (7,474,944B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (64,424B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.34% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.34% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.34% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.34% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.34% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.34% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.33% (4,671,760B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.33% (4,671,760B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.33% (4,671,760B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.33% (4,671,760B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.33% (4,671,760B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.33% (4,671,760B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.33% (4,671,760B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.33% (4,671,760B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.33% (4,671,760B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.33% (4,671,760B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.33% (4,671,760B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.33% (4,671,760B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.33% (4,671,760B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.33% (4,671,760B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.33% (4,671,760B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.33% (4,671,760B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.33% (4,671,760B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.33% (4,671,760B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.33% (4,671,760B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.33% (4,671,760B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.33% (4,671,760B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.33% (4,671,760B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.33% (4,671,760B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.33% (4,671,760B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.33% (4,671,760B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.33% (4,671,760B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.33% (4,671,760B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.33% (4,671,760B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.33% (4,671,760B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.16% (568,282B) in 1+ places, all below ms_print's threshold (01.00%) | ->11.05% (38,706,824B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->11.05% (38,706,824B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->09.58% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->09.58% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->09.58% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->09.58% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->09.58% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->09.58% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->09.58% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->09.58% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->09.58% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.47% (5,151,760B) in 79 places, all below massif's threshold (01.00%) | ->04.67% (16,351,440B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.67% (16,351,440B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.67% (16,351,440B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.67% (16,351,440B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.67% (16,351,440B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.67% (16,351,440B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.67% (16,351,440B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.67% (16,351,440B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.67% (16,351,440B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.67% (16,351,440B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.67% (16,351,440B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.67% (16,351,440B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.67% (16,351,440B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.67% (16,351,440B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.67% (16,351,440B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.67% (16,351,440B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.67% (16,351,440B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.67% (16,351,440B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.67% (16,351,440B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.67% (16,351,440B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.67% (16,351,440B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.67% (16,351,440B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.67% (16,351,440B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.67% (16,351,440B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.67% (16,351,440B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.67% (16,351,440B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.67% (16,351,440B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.67% (16,351,440B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.67% (16,351,440B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.67% (16,351,440B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.26% (14,918,193B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.24% (7,857,280B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.24% (7,857,280B) in 19 places, all below massif's threshold (01.00%) | | | ->01.02% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.02% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.00% (3,496,473B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.05% (184,957B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 55 318,589,397,023 353,635,920 349,382,447 4,253,473 0 98.80% (349,382,447B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->78.90% (279,010,473B) 0x7D2670: my_malloc (my_malloc.c:38) | ->68.11% (240,875,664B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->67.98% (240,385,600B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->67.98% (240,385,600B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->67.98% (240,385,600B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->67.98% (240,385,600B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->67.98% (240,385,600B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->67.98% (240,385,600B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->67.98% (240,385,600B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->67.98% (240,385,600B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->67.98% (240,385,600B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->67.98% (240,385,600B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->67.98% (240,385,600B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->67.98% (240,385,600B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->67.98% (240,385,600B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->67.98% (240,385,600B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->67.98% (240,385,600B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->67.98% (240,385,600B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->67.98% (240,385,600B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->67.98% (240,385,600B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->67.98% (240,385,600B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->67.98% (240,385,600B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->67.98% (240,385,600B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->67.98% (240,385,600B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->67.98% (240,385,600B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->67.98% (240,385,600B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->67.98% (240,385,600B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->67.98% (240,385,600B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->67.98% (240,385,600B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->67.98% (240,385,600B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.14% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->05.79% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->05.79% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->05.79% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->05.79% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->05.79% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->05.79% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->05.79% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.16% (7,636,392B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->02.14% (7,571,200B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.14% (7,571,200B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.14% (7,571,200B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.14% (7,571,200B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.14% (7,571,200B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->02.14% (7,571,200B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->02.14% (7,571,200B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->02.14% (7,571,200B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.14% (7,571,200B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.14% (7,571,200B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.14% (7,571,200B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.14% (7,571,200B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.14% (7,571,200B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->02.14% (7,571,200B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.14% (7,571,200B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.14% (7,571,200B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.14% (7,571,200B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.14% (7,571,200B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.14% (7,571,200B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.14% (7,571,200B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.14% (7,571,200B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.14% (7,571,200B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->02.14% (7,571,200B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->02.14% (7,571,200B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.14% (7,571,200B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.14% (7,571,200B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.14% (7,571,200B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.14% (7,571,200B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (65,192B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.34% (4,731,920B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.34% (4,731,920B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.34% (4,731,920B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.34% (4,731,920B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.34% (4,731,920B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.34% (4,731,920B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.34% (4,731,920B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.34% (4,731,920B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.34% (4,731,920B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.34% (4,731,920B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.34% (4,731,920B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.34% (4,731,920B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.34% (4,731,920B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.34% (4,731,920B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.34% (4,731,920B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.34% (4,731,920B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.34% (4,731,920B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.34% (4,731,920B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.34% (4,731,920B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.34% (4,731,920B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.34% (4,731,920B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.34% (4,731,920B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.34% (4,731,920B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.34% (4,731,920B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.34% (4,731,920B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.34% (4,731,920B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.34% (4,731,920B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.34% (4,731,920B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.34% (4,731,920B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->01.33% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.33% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.33% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.33% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.33% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.33% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->00.17% (600,913B) in 1+ places, all below ms_print's threshold (01.00%) | ->10.95% (38,706,824B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->10.95% (38,706,824B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->09.49% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->09.49% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->09.49% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->09.49% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->09.49% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->09.49% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->09.49% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->09.49% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->09.49% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.46% (5,151,760B) in 79 places, all below massif's threshold (01.00%) | ->04.68% (16,562,000B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.68% (16,562,000B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.68% (16,562,000B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.68% (16,562,000B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.68% (16,562,000B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.68% (16,562,000B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.68% (16,562,000B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.68% (16,562,000B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.68% (16,562,000B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.68% (16,562,000B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.68% (16,562,000B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.68% (16,562,000B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.68% (16,562,000B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.68% (16,562,000B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.68% (16,562,000B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.68% (16,562,000B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.68% (16,562,000B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.68% (16,562,000B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.68% (16,562,000B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.68% (16,562,000B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.68% (16,562,000B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.68% (16,562,000B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.68% (16,562,000B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.68% (16,562,000B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.68% (16,562,000B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.68% (16,562,000B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.68% (16,562,000B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.68% (16,562,000B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.68% (16,562,000B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.68% (16,562,000B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.22% (14,918,193B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.22% (7,857,280B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.22% (7,857,280B) in 19 places, all below massif's threshold (01.00%) | | | ->01.01% (3,564,440B) 0x8A5E99: hash0_create (hash0hash.c:114) | | ->01.01% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->00.99% (3,496,473B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.05% (184,957B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 56 320,396,405,966 357,256,272 352,983,367 4,272,905 0 98.80% (352,983,367B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->79.08% (282,505,969B) 0x7D2670: my_malloc (my_malloc.c:38) | ->67.79% (242,194,840B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->67.65% (241,677,952B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->67.65% (241,677,952B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->67.65% (241,677,952B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->67.65% (241,677,952B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->67.65% (241,677,952B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->67.65% (241,677,952B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->67.65% (241,677,952B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->67.65% (241,677,952B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->67.65% (241,677,952B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->67.65% (241,677,952B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->67.65% (241,677,952B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->67.65% (241,677,952B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->67.65% (241,677,952B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->67.65% (241,677,952B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->67.65% (241,677,952B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->67.65% (241,677,952B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->67.65% (241,677,952B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->67.65% (241,677,952B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->67.65% (241,677,952B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->67.65% (241,677,952B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->67.65% (241,677,952B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->67.65% (241,677,952B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->67.65% (241,677,952B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->67.65% (241,677,952B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->67.65% (241,677,952B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->67.65% (241,677,952B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->67.65% (241,677,952B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->67.65% (241,677,952B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.14% (516,888B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->05.73% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->05.73% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->05.73% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->05.73% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->05.73% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->05.73% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->05.73% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.15% (7,677,096B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->02.13% (7,611,904B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.13% (7,611,904B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.13% (7,611,904B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.13% (7,611,904B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.13% (7,611,904B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->02.13% (7,611,904B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->02.13% (7,611,904B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->02.13% (7,611,904B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.13% (7,611,904B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.13% (7,611,904B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.13% (7,611,904B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.13% (7,611,904B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.13% (7,611,904B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->02.13% (7,611,904B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.13% (7,611,904B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.13% (7,611,904B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.13% (7,611,904B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.13% (7,611,904B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.13% (7,611,904B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.13% (7,611,904B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.13% (7,611,904B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.13% (7,611,904B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->02.13% (7,611,904B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->02.13% (7,611,904B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.13% (7,611,904B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.13% (7,611,904B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.13% (7,611,904B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.13% (7,611,904B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (65,192B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.33% (4,757,440B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.33% (4,757,440B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.33% (4,757,440B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.33% (4,757,440B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.33% (4,757,440B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.33% (4,757,440B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.33% (4,757,440B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.33% (4,757,440B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.33% (4,757,440B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.33% (4,757,440B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.33% (4,757,440B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.33% (4,757,440B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.33% (4,757,440B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.33% (4,757,440B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.33% (4,757,440B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.33% (4,757,440B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.33% (4,757,440B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.33% (4,757,440B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.33% (4,757,440B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.33% (4,757,440B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.33% (4,757,440B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.33% (4,757,440B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.33% (4,757,440B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.33% (4,757,440B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.33% (4,757,440B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.33% (4,757,440B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.33% (4,757,440B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.33% (4,757,440B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.33% (4,757,440B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->01.32% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.32% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.32% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.32% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.32% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.32% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->00.76% (2,711,009B) in 1+ places, all below ms_print's threshold (01.00%) | ->10.83% (38,706,824B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->10.83% (38,706,824B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->09.39% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->09.39% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->09.39% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->09.39% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->09.39% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->09.39% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->09.39% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->09.39% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->09.39% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.44% (5,151,760B) in 79 places, all below massif's threshold (01.00%) | ->04.66% (16,651,040B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.66% (16,651,040B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.66% (16,651,040B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.66% (16,651,040B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.66% (16,651,040B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.66% (16,651,040B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.66% (16,651,040B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.66% (16,651,040B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.66% (16,651,040B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.66% (16,651,040B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.66% (16,651,040B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.66% (16,651,040B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.66% (16,651,040B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.66% (16,651,040B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.66% (16,651,040B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.66% (16,651,040B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.66% (16,651,040B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.66% (16,651,040B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.66% (16,651,040B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.66% (16,651,040B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.66% (16,651,040B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.66% (16,651,040B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.66% (16,651,040B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.66% (16,651,040B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.66% (16,651,040B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.66% (16,651,040B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.66% (16,651,040B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.66% (16,651,040B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.66% (16,651,040B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.66% (16,651,040B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.18% (14,918,193B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.20% (7,857,280B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.20% (7,857,280B) in 19 places, all below massif's threshold (01.00%) | | | ->01.98% (7,060,913B) in 23 places, all below massif's threshold (01.00%) | ->00.06% (201,341B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 57 324,476,567,870 357,889,568 353,580,104 4,309,464 0 58 327,412,252,529 360,829,792 356,482,406 4,347,386 0 98.80% (356,482,406B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->79.17% (285,675,872B) 0x7D2670: my_malloc (my_malloc.c:38) | ->68.50% (247,183,320B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->68.37% (246,692,928B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->68.37% (246,692,928B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->68.37% (246,692,928B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->68.37% (246,692,928B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->68.37% (246,692,928B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->68.37% (246,692,928B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->68.37% (246,692,928B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->68.37% (246,692,928B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->68.37% (246,692,928B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->68.37% (246,692,928B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->68.37% (246,692,928B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->68.37% (246,692,928B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->68.37% (246,692,928B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->68.37% (246,692,928B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->68.37% (246,692,928B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->68.37% (246,692,928B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->68.37% (246,692,928B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->68.37% (246,692,928B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->68.37% (246,692,928B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->68.37% (246,692,928B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->68.37% (246,692,928B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->68.37% (246,692,928B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->68.37% (246,692,928B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->68.37% (246,692,928B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->68.37% (246,692,928B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->68.37% (246,692,928B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->68.37% (246,692,928B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->68.37% (246,692,928B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.14% (490,392B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->05.67% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->05.67% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->05.67% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->05.67% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->05.67% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->05.67% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->05.67% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.17% (7,835,048B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->02.15% (7,769,856B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.15% (7,769,856B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.15% (7,769,856B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.15% (7,769,856B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.15% (7,769,856B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->02.15% (7,769,856B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->02.15% (7,769,856B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->02.15% (7,769,856B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.15% (7,769,856B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.15% (7,769,856B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.15% (7,769,856B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.15% (7,769,856B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.15% (7,769,856B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->02.15% (7,769,856B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.15% (7,769,856B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.15% (7,769,856B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.15% (7,769,856B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.15% (7,769,856B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.15% (7,769,856B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.15% (7,769,856B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.15% (7,769,856B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.15% (7,769,856B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->02.15% (7,769,856B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->02.15% (7,769,856B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.15% (7,769,856B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.15% (7,769,856B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.15% (7,769,856B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.15% (7,769,856B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (65,192B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.35% (4,856,080B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.35% (4,856,080B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.35% (4,856,080B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.35% (4,856,080B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.35% (4,856,080B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.35% (4,856,080B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.35% (4,856,080B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.35% (4,856,080B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.35% (4,856,080B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.35% (4,856,080B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.35% (4,856,080B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.35% (4,856,080B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.35% (4,856,080B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.35% (4,856,080B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.35% (4,856,080B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.35% (4,856,080B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.35% (4,856,080B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.35% (4,856,080B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.35% (4,856,080B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.35% (4,856,080B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.35% (4,856,080B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.35% (4,856,080B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.35% (4,856,080B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.35% (4,856,080B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.35% (4,856,080B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.35% (4,856,080B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.35% (4,856,080B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.35% (4,856,080B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.35% (4,856,080B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->01.30% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.30% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.30% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.30% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.30% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.30% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->00.18% (635,840B) in 1+ places, all below ms_print's threshold (01.00%) | ->10.73% (38,706,824B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->10.73% (38,706,824B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->09.30% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->09.30% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->09.30% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->09.30% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->09.30% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->09.30% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->09.30% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->09.30% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->09.30% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.43% (5,151,760B) in 79 places, all below massif's threshold (01.00%) | ->04.71% (16,996,560B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.71% (16,996,560B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.71% (16,996,560B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.71% (16,996,560B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.71% (16,996,560B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.71% (16,996,560B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.71% (16,996,560B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.71% (16,996,560B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.71% (16,996,560B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.71% (16,996,560B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.71% (16,996,560B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.71% (16,996,560B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.71% (16,996,560B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.71% (16,996,560B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.71% (16,996,560B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.71% (16,996,560B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.71% (16,996,560B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.71% (16,996,560B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.71% (16,996,560B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.71% (16,996,560B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.71% (16,996,560B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.71% (16,996,560B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.71% (16,996,560B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.71% (16,996,560B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.71% (16,996,560B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.71% (16,996,560B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.71% (16,996,560B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.71% (16,996,560B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.71% (16,996,560B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.71% (16,996,560B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.13% (14,918,193B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.18% (7,857,280B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.18% (7,857,280B) in 19 places, all below massif's threshold (01.00%) | | | ->01.96% (7,060,913B) in 23 places, all below massif's threshold (01.00%) | ->00.05% (184,957B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 59 331,274,040,730 364,441,520 360,045,851 4,395,669 0 98.79% (360,045,851B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->79.31% (289,033,461B) 0x7D2670: my_malloc (my_malloc.c:38) | ->68.72% (250,442,320B) 0x7CCBDC: alloc_root (my_alloc.c:217) | | ->68.59% (249,952,256B) 0x76759E: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->68.59% (249,952,256B) 0x767C7A: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->68.59% (249,952,256B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->68.59% (249,952,256B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->68.59% (249,952,256B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->68.59% (249,952,256B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->68.59% (249,952,256B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->68.59% (249,952,256B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->68.59% (249,952,256B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->68.59% (249,952,256B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->68.59% (249,952,256B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->68.59% (249,952,256B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->68.59% (249,952,256B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->68.59% (249,952,256B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->68.59% (249,952,256B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->68.59% (249,952,256B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->68.59% (249,952,256B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->68.59% (249,952,256B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->68.59% (249,952,256B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->68.59% (249,952,256B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->68.59% (249,952,256B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->68.59% (249,952,256B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->68.59% (249,952,256B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->68.59% (249,952,256B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->68.59% (249,952,256B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->68.59% (249,952,256B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->68.59% (249,952,256B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->68.59% (249,952,256B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.13% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->05.61% (20,458,496B) 0x7DF567: my_large_malloc (my_largepage.c:64) | | ->05.61% (20,458,496B) 0x7C4E4C: init_key_cache (mf_keycache.c:430) | | ->05.61% (20,458,496B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->05.61% (20,458,496B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->05.61% (20,458,496B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->05.61% (20,458,496B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->05.61% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.18% (7,936,936B) 0x7BADC4: init_dynamic_array2 (array.c:70) | | ->02.16% (7,872,512B) 0x75FF0B: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.16% (7,872,512B) 0x767D14: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.16% (7,872,512B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.16% (7,872,512B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.16% (7,872,512B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | | | ->02.16% (7,872,512B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | | | ->02.16% (7,872,512B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | | | ->02.16% (7,872,512B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.16% (7,872,512B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.16% (7,872,512B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.16% (7,872,512B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.16% (7,872,512B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.16% (7,872,512B) 0x69F950: Item::val_bool() (item.cc:200) | | | | ->02.16% (7,872,512B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.16% (7,872,512B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.16% (7,872,512B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.16% (7,872,512B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.16% (7,872,512B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.16% (7,872,512B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.16% (7,872,512B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.16% (7,872,512B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.16% (7,872,512B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | | | ->02.16% (7,872,512B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | | | ->02.16% (7,872,512B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.16% (7,872,512B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.16% (7,872,512B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.16% (7,872,512B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.16% (7,872,512B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (64,424B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.35% (4,920,240B) 0x762AD8: QUICK_RANGE_SELECT::reset() (opt_range.cc:8624) | | ->01.35% (4,920,240B) 0x597923: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.35% (4,920,240B) 0x5A96D4: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.35% (4,920,240B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.35% (4,920,240B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.35% (4,920,240B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.35% (4,920,240B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.35% (4,920,240B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.35% (4,920,240B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.35% (4,920,240B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.35% (4,920,240B) 0x69F950: Item::val_bool() (item.cc:200) | | ->01.35% (4,920,240B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.35% (4,920,240B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.35% (4,920,240B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.35% (4,920,240B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.35% (4,920,240B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.35% (4,920,240B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.35% (4,920,240B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.35% (4,920,240B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.35% (4,920,240B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->01.35% (4,920,240B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->01.35% (4,920,240B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.35% (4,920,240B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.35% (4,920,240B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.35% (4,920,240B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.35% (4,920,240B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.35% (4,920,240B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->01.35% (4,920,240B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.35% (4,920,240B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->01.29% (4,707,088B) 0x7C4E62: init_key_cache (mf_keycache.c:438) | | ->01.29% (4,707,088B) 0x696E0E: ha_init_key_cache (handler.cc:4170) | | ->01.29% (4,707,088B) 0x50A816: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.29% (4,707,088B) 0x50682B: init_server_components() (mysqld.cc:3892) | | ->01.29% (4,707,088B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->01.29% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->00.16% (568,381B) in 1+ places, all below ms_print's threshold (01.00%) | ->10.62% (38,704,632B) 0x8CD927: mem_area_alloc (mem0pool.c:381) | ->10.62% (38,704,632B) 0x8CC450: mem_heap_create_block (mem0mem.c:333) | ->09.21% (33,555,064B) 0x8C3DAC: log_init (mem0mem.ic:439) | | ->09.21% (33,555,064B) 0x81BF6B: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->09.21% (33,555,064B) 0x7E60B7: innobase_init(void*) (ha_innodb.cc:2513) | | ->09.21% (33,555,064B) 0x691B24: ha_initialize_handlerton(st_plugin_int*) (handler.cc:543) | | ->09.21% (33,555,064B) 0x58566A: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->09.21% (33,555,064B) 0x589324: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->09.21% (33,555,064B) 0x506881: init_server_components() (mysqld.cc:3902) | | ->09.21% (33,555,064B) 0x5079E3: mysqld_main(int, char**) (mysqld.cc:4483) | | ->09.21% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.41% (5,149,568B) in 79 places, all below massif's threshold (01.00%) | ->04.73% (17,221,120B) 0x767CED: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.73% (17,221,120B) 0x7733D9: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.73% (17,221,120B) 0x76FF4A: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.73% (17,221,120B) 0x5AAFD4: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13944) | | ->04.73% (17,221,120B) 0x5AB65B: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14166) | | ->04.73% (17,221,120B) 0x5B93AF: JOIN::exec() (sql_select.cc:2348) | | ->04.73% (17,221,120B) 0x710E0C: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.73% (17,221,120B) 0x70FF1B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.73% (17,221,120B) 0x710233: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.73% (17,221,120B) 0x6B4FA6: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.73% (17,221,120B) 0x6BE3EC: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.73% (17,221,120B) 0x69F950: Item::val_bool() (item.cc:200) | | ->04.73% (17,221,120B) 0x6B8FDA: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.73% (17,221,120B) 0x5A9547: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.73% (17,221,120B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.73% (17,221,120B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.73% (17,221,120B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.73% (17,221,120B) 0x5A95FC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.73% (17,221,120B) 0x5A96EB: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.73% (17,221,120B) 0x5A994A: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.73% (17,221,120B) 0x5B9E9A: JOIN::exec() (sql_select.cc:2385) | | ->04.73% (17,221,120B) 0x5BB367: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2604) | | ->04.73% (17,221,120B) 0x5BBC5B: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.73% (17,221,120B) 0x579283: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.73% (17,221,120B) 0x57CA68: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.73% (17,221,120B) 0x57FA69: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.73% (17,221,120B) 0x580FEA: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.73% (17,221,120B) 0x581362: do_command(THD*) (sql_parse.cc:773) | | ->04.73% (17,221,120B) 0x61D0CD: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.73% (17,221,120B) 0x61D1C2: handle_one_connection (sql_connect.cc:772) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.09% (14,918,065B) 0x83B1D1: ut_malloc_low (ut0mem.c:102) | ->02.16% (7,857,152B) 0x8D6F44: os_event_create (os0sync.c:389) | | ->02.16% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.94% (7,060,913B) in 23 places, all below massif's threshold (01.00%) | ->00.05% (168,573B) in 1+ places, all below ms_print's threshold (01.00%)