[root@devrasdb2 valgrind-3.8.1]# /root/bin/ms_print /tmp/massif.out -------------------------------------------------------------------------------- Command: //root/percona/mysql-5.5.31-linux2.6-x86_64/bin/mysqld --defaults-file=/etc/my.cnf --basedir=/root/percona/mysql-5.5.31-linux2.6-x86_64 --datadir=/var/lib/mysql --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 300.3^ # | @:@@# | @@@@@@:@@# | @@@@@@@@@@@:@@# | @::@:@@@@@@@@@@@:@@# | @@@@@::@:@@@@@@@@@@@:@@# | @@:::@@ @@::@:@@@@@@@@@@@:@@# | @@@::@ :::@@ @@::@:@@@@@@@@@@@:@@# | @:@@@@ @: @ :::@@ @@::@:@@@@@@@@@@@:@@# | @:@::@:@@@@ @: @ :::@@ @@::@:@@@@@@@@@@@:@@# | :::@@:@::@:@@@@ @: @ :::@@ @@::@:@@@@@@@@@@@:@@# | :::::: :@@:@::@:@@@@ @: @ :::@@ @@::@:@@@@@@@@@@@:@@# | :::@@:: ::: :@@:@::@:@@@@ @: @ :::@@ @@::@:@@@@@@@@@@@:@@# | :::@:::::@ :: ::: :@@:@::@:@@@@ @: @ :::@@ @@::@:@@@@@@@@@@@:@@# | :::: :@: :::@ :: ::: :@@:@::@:@@@@ @: @ :::@@ @@::@:@@@@@@@@@@@:@@# |::::::::: :@: :::@ :: ::: :@@:@::@:@@@@ @: @ :::@@ @@::@:@@@@@@@@@@@:@@# |: :: :::: :@: :::@ :: ::: :@@:@::@:@@@@ @: @ :::@@ @@::@:@@@@@@@@@@@:@@# |: :: :::: :@: :::@ :: ::: :@@:@::@:@@@@ @: @ :::@@ @@::@:@@@@@@@@@@@:@@# |: :: :::: :@: :::@ :: ::: :@@:@::@:@@@@ @: @ :::@@ @@::@:@@@@@@@@@@@:@@# |: :: :::: :@: :::@ :: ::: :@@:@::@:@@@@ @: @ :::@@ @@::@:@@@@@@@@@@@:@@# 0 +----------------------------------------------------------------------->Gi 0 260.6 Number of snapshots: 86 Detailed snapshots: [10, 15, 22, 23, 25, 28, 30, 31, 32, 33, 34, 36, 37, 41, 42, 43, 44, 47, 49, 51, 53, 55, 57, 59, 62, 64, 66, 68, 71, 73, 75, 78, 80, 82, 85 (peak)] -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 0 0 0 0 0 0 1 3,338,548,235 83,474,088 82,750,104 723,984 0 2 9,428,264,615 89,373,336 88,572,672 800,664 0 3 13,424,887,925 91,847,512 91,014,688 832,824 0 4 19,724,011,970 97,797,536 96,887,372 910,164 0 5 24,873,061,610 101,250,304 100,295,260 955,044 0 6 28,231,029,995 104,463,056 103,466,236 996,820 0 7 31,954,967,338 108,068,152 107,024,472 1,043,680 0 8 34,940,724,296 110,551,560 109,475,600 1,075,960 0 9 39,839,406,045 114,078,184 112,956,384 1,121,800 0 10 45,968,450,410 120,109,240 118,909,705 1,199,535 0 99.00% (118,909,705B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->52.22% (62,721,459B) 0x79D850: my_malloc (my_malloc.c:38) | ->29.39% (35,294,488B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->28.98% (34,804,096B) 0x7318F4: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->28.98% (34,804,096B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->28.98% (34,804,096B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->28.98% (34,804,096B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->28.98% (34,804,096B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->28.98% (34,804,096B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->28.98% (34,804,096B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->28.98% (34,804,096B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->28.98% (34,804,096B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->28.98% (34,804,096B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->28.98% (34,804,096B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->28.98% (34,804,096B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->28.98% (34,804,096B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->28.98% (34,804,096B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->28.98% (34,804,096B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->28.98% (34,804,096B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->28.98% (34,804,096B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->28.98% (34,804,096B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->28.98% (34,804,096B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->28.98% (34,804,096B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->28.98% (34,804,096B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->28.98% (34,804,096B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->28.98% (34,804,096B) 0x5B0CA1: 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) | | | | ->28.98% (34,804,096B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->28.98% (34,804,096B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->28.98% (34,804,096B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->28.98% (34,804,096B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->28.98% (34,804,096B) 0x57DF3F: 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.41% (490,392B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->17.03% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->17.03% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->17.03% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->17.03% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->17.03% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->17.03% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->17.03% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->03.92% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->03.92% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->03.92% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->03.92% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->03.92% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->03.92% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.88% (2,261,387B) in 56 places, all below massif's threshold (01.00%) | ->31.42% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->27.94% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->27.94% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->27.94% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->27.94% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->27.94% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->27.94% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->27.94% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->27.94% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->27.94% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->03.49% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->12.42% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->06.54% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->01.22% (1,465,984B) 0x8037DF: rw_lock_create_func (sync0rw.c:295) | | | ->01.22% (1,465,984B) in 9 places, all below massif's threshold (01.00%) | | | | | ->01.22% (1,465,984B) 0x8037EA: rw_lock_create_func (sync0rw.c:296) | | | ->01.22% (1,465,984B) in 9 places, all below massif's threshold (01.00%) | | | | | ->01.07% (1,280,000B) 0x7FA1F6: srv_init (srv0srv.c:1033) | | | ->01.07% (1,280,000B) 0x7FA6D5: srv_boot (srv0srv.c:1480) | | | ->01.07% (1,280,000B) 0x7FFADB: innobase_start_or_create_for_mysql (srv0start.c:1293) | | | ->01.07% (1,280,000B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | | ->01.07% (1,280,000B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | | ->01.07% (1,280,000B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | | ->01.07% (1,280,000B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | | ->01.07% (1,280,000B) 0x507A79: init_server_components() (mysqld.cc:3917) | | | ->01.07% (1,280,000B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | | ->01.07% (1,280,000B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | | | ->01.07% (1,280,000B) 0x7FA2CB: srv_init (srv0srv.c:1041) | | | ->01.07% (1,280,000B) 0x7FA6D5: srv_boot (srv0srv.c:1480) | | | ->01.07% (1,280,000B) 0x7FFADB: innobase_start_or_create_for_mysql (srv0start.c:1293) | | | ->01.07% (1,280,000B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | | ->01.07% (1,280,000B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | | ->01.07% (1,280,000B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | | ->01.07% (1,280,000B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | | ->01.07% (1,280,000B) 0x507A79: init_server_components() (mysqld.cc:3917) | | | ->01.07% (1,280,000B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | | ->01.07% (1,280,000B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | | | ->01.07% (1,280,000B) 0x7FA467: srv_init (srv0srv.c:1082) | | | ->01.07% (1,280,000B) 0x7FA6D5: srv_boot (srv0srv.c:1480) | | | ->01.07% (1,280,000B) 0x7FFADB: innobase_start_or_create_for_mysql (srv0start.c:1293) | | | ->01.07% (1,280,000B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | | ->01.07% (1,280,000B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | | ->01.07% (1,280,000B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | | ->01.07% (1,280,000B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | | ->01.07% (1,280,000B) 0x507A79: init_server_components() (mysqld.cc:3917) | | | ->01.07% (1,280,000B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | | ->01.07% (1,280,000B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | | | ->00.90% (1,085,184B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->02.97% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.84% (2,213,368B) 0x883A77: ha_create_func (ha0ha.c:58) | | | ->01.84% (2,213,368B) 0x839864: btr_search_sys_create (btr0sea.c:182) | | | ->01.84% (2,213,368B) 0x8448F7: buf_pool_init (buf0buf.c:1318) | | | ->01.84% (2,213,368B) 0x800097: innobase_start_or_create_for_mysql (srv0start.c:1398) | | | ->01.84% (2,213,368B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | | ->01.84% (2,213,368B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | | ->01.84% (2,213,368B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | | ->01.84% (2,213,368B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | | ->01.84% (2,213,368B) 0x507A79: init_server_components() (mysqld.cc:3917) | | | ->01.84% (2,213,368B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | | ->01.84% (2,213,368B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | | | ->01.12% (1,351,072B) in 12 places, all below massif's threshold (01.00%) | | | ->01.76% (2,113,536B) 0x814879: trx_doublewrite_init (trx0sys.c:204) | | ->01.76% (2,113,536B) 0x814AA3: trx_sys_doublewrite_init_or_restore_pages (trx0sys.c:455) | | ->01.76% (2,113,536B) 0x8A82FD: recv_recovery_from_checkpoint_start_func (log0recv.c:3154) | | ->01.76% (2,113,536B) 0x80120E: innobase_start_or_create_for_mysql (srv0start.c:1720) | | ->01.76% (2,113,536B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->01.76% (2,113,536B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->01.76% (2,113,536B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->01.76% (2,113,536B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->01.76% (2,113,536B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->01.76% (2,113,536B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.76% (2,113,536B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.15% (1,382,937B) in 21 places, all below massif's threshold (01.00%) | ->02.00% (2,397,920B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->02.00% (2,397,920B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->02.00% (2,397,920B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->02.00% (2,397,920B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->02.00% (2,397,920B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->02.00% (2,397,920B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->02.00% (2,397,920B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->02.00% (2,397,920B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->02.00% (2,397,920B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->02.00% (2,397,920B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->02.00% (2,397,920B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->02.00% (2,397,920B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->02.00% (2,397,920B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->02.00% (2,397,920B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->02.00% (2,397,920B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->02.00% (2,397,920B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->02.00% (2,397,920B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->02.00% (2,397,920B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->02.00% (2,397,920B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->02.00% (2,397,920B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->02.00% (2,397,920B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->02.00% (2,397,920B) 0x5B0CA1: 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.00% (2,397,920B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->02.00% (2,397,920B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->02.00% (2,397,920B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->02.00% (2,397,920B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->02.00% (2,397,920B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->02.00% (2,397,920B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->02.00% (2,397,920B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->02.00% (2,397,920B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.94% (1,129,541B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 11 50,424,235,391 122,955,936 121,718,044 1,237,892 0 12 55,726,506,529 128,961,416 127,659,263 1,302,153 0 13 61,735,104,508 132,755,304 131,393,932 1,361,372 0 14 65,199,343,830 135,505,408 134,101,988 1,403,420 0 15 69,052,481,866 139,216,584 137,764,932 1,451,652 0 98.96% (137,764,932B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->57.76% (80,411,974B) 0x79D850: my_malloc (my_malloc.c:38) | ->37.49% (52,192,272B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->37.14% (51,702,208B) 0x7318F4: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->37.14% (51,702,208B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->37.14% (51,702,208B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->37.14% (51,702,208B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->37.14% (51,702,208B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->37.14% (51,702,208B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->37.14% (51,702,208B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->37.14% (51,702,208B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->37.14% (51,702,208B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->37.14% (51,702,208B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->37.14% (51,702,208B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->37.14% (51,702,208B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->37.14% (51,702,208B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->37.14% (51,702,208B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->37.14% (51,702,208B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->37.14% (51,702,208B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->37.14% (51,702,208B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->37.14% (51,702,208B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->37.14% (51,702,208B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->37.14% (51,702,208B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->37.14% (51,702,208B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->37.14% (51,702,208B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->37.14% (51,702,208B) 0x5B0CA1: 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) | | | | ->37.14% (51,702,208B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->37.14% (51,702,208B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->37.14% (51,702,208B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->37.14% (51,702,208B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->37.14% (51,702,208B) 0x57DF3F: 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.35% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->14.70% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->14.70% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->14.70% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->14.70% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->14.70% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->14.70% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->14.70% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->03.38% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->03.38% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->03.38% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->03.38% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->03.38% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->03.38% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.22% (1,692,072B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.17% (1,628,416B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.17% (1,628,416B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.17% (1,628,416B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.17% (1,628,416B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.17% (1,628,416B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.17% (1,628,416B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.17% (1,628,416B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.17% (1,628,416B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.17% (1,628,416B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.17% (1,628,416B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.17% (1,628,416B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.17% (1,628,416B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.17% (1,628,416B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.17% (1,628,416B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.17% (1,628,416B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.17% (1,628,416B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.17% (1,628,416B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.17% (1,628,416B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.17% (1,628,416B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.17% (1,628,416B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.17% (1,628,416B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.17% (1,628,416B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.17% (1,628,416B) 0x5B0CA1: 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% (1,628,416B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.17% (1,628,416B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.17% (1,628,416B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.17% (1,628,416B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.17% (1,628,416B) 0x57DF3F: 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% (63,656B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.98% (1,362,046B) in 1+ places, all below ms_print's threshold (01.00%) | ->27.11% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->24.10% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->24.10% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->24.10% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->24.10% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->24.10% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->24.10% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->24.10% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->24.10% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->24.10% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->03.01% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->10.72% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->05.64% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->03.54% (4,925,184B) in 17 places, all below massif's threshold (01.00%) | | | | | ->01.05% (1,465,984B) 0x8037DF: rw_lock_create_func (sync0rw.c:295) | | | ->01.05% (1,465,984B) in 9 places, all below massif's threshold (01.00%) | | | | | ->01.05% (1,465,984B) 0x8037EA: rw_lock_create_func (sync0rw.c:296) | | ->01.05% (1,465,984B) in 9 places, all below massif's threshold (01.00%) | | | ->02.56% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.59% (2,213,368B) 0x883A77: ha_create_func (ha0ha.c:58) | | | ->01.59% (2,213,368B) 0x839864: btr_search_sys_create (btr0sea.c:182) | | | ->01.59% (2,213,368B) 0x8448F7: buf_pool_init (buf0buf.c:1318) | | | ->01.59% (2,213,368B) 0x800097: innobase_start_or_create_for_mysql (srv0start.c:1398) | | | ->01.59% (2,213,368B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | | ->01.59% (2,213,368B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | | ->01.59% (2,213,368B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | | ->01.59% (2,213,368B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | | ->01.59% (2,213,368B) 0x507A79: init_server_components() (mysqld.cc:3917) | | | ->01.59% (2,213,368B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | | ->01.59% (2,213,368B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | | | ->00.97% (1,351,072B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.52% (2,113,536B) 0x814879: trx_doublewrite_init (trx0sys.c:204) | | ->01.52% (2,113,536B) 0x814AA3: trx_sys_doublewrite_init_or_restore_pages (trx0sys.c:455) | | ->01.52% (2,113,536B) 0x8A82FD: recv_recovery_from_checkpoint_start_func (log0recv.c:3154) | | ->01.52% (2,113,536B) 0x80120E: innobase_start_or_create_for_mysql (srv0start.c:1720) | | ->01.52% (2,113,536B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->01.52% (2,113,536B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->01.52% (2,113,536B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->01.52% (2,113,536B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->01.52% (2,113,536B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->01.52% (2,113,536B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.52% (2,113,536B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->00.99% (1,382,937B) in 1+ places, all below ms_print's threshold (01.00%) | ->02.56% (3,562,160B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->02.56% (3,562,160B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->02.56% (3,562,160B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->02.56% (3,562,160B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->02.56% (3,562,160B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->02.56% (3,562,160B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->02.56% (3,562,160B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->02.56% (3,562,160B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->02.56% (3,562,160B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->02.56% (3,562,160B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->02.56% (3,562,160B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->02.56% (3,562,160B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->02.56% (3,562,160B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->02.56% (3,562,160B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->02.56% (3,562,160B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->02.56% (3,562,160B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->02.56% (3,562,160B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->02.56% (3,562,160B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->02.56% (3,562,160B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->02.56% (3,562,160B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->02.56% (3,562,160B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->02.56% (3,562,160B) 0x5B0CA1: 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.56% (3,562,160B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->02.56% (3,562,160B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->02.56% (3,562,160B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->02.56% (3,562,160B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->02.56% (3,562,160B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->02.56% (3,562,160B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->02.56% (3,562,160B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->02.56% (3,562,160B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.81% (1,130,013B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 16 74,538,286,607 143,061,912 141,560,160 1,501,752 0 17 80,683,810,891 148,859,608 147,282,496 1,577,112 0 18 85,504,538,425 151,924,632 150,307,680 1,616,952 0 19 89,989,911,268 156,388,304 154,713,332 1,674,972 0 20 96,543,808,020 161,758,040 160,013,255 1,744,785 0 21 101,826,260,744 166,254,024 164,449,504 1,804,520 0 22 106,086,390,517 170,330,040 168,472,372 1,857,668 0 98.91% (168,472,372B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->64.13% (109,232,214B) 0x79D850: my_malloc (my_malloc.c:38) | ->46.72% (79,583,632B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->46.44% (79,093,568B) 0x7318F4: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->46.44% (79,093,568B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->46.44% (79,093,568B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->46.44% (79,093,568B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->46.44% (79,093,568B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->46.44% (79,093,568B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->46.44% (79,093,568B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->46.44% (79,093,568B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->46.44% (79,093,568B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->46.44% (79,093,568B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->46.44% (79,093,568B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->46.44% (79,093,568B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->46.44% (79,093,568B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->46.44% (79,093,568B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->46.44% (79,093,568B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->46.44% (79,093,568B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->46.44% (79,093,568B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->46.44% (79,093,568B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->46.44% (79,093,568B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->46.44% (79,093,568B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->46.44% (79,093,568B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->46.44% (79,093,568B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->46.44% (79,093,568B) 0x5B0CA1: 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) | | | | ->46.44% (79,093,568B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->46.44% (79,093,568B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->46.44% (79,093,568B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->46.44% (79,093,568B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->46.44% (79,093,568B) 0x57DF3F: 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.29% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->12.01% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->12.01% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->12.01% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->12.01% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->12.01% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->12.01% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->12.01% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.76% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->02.76% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->02.76% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->02.76% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->02.76% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->02.76% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.50% (2,554,792B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.46% (2,491,136B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.46% (2,491,136B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.46% (2,491,136B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.46% (2,491,136B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.46% (2,491,136B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.46% (2,491,136B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.46% (2,491,136B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.46% (2,491,136B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.46% (2,491,136B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.46% (2,491,136B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.46% (2,491,136B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.46% (2,491,136B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.46% (2,491,136B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.46% (2,491,136B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.46% (2,491,136B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.46% (2,491,136B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.46% (2,491,136B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.46% (2,491,136B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.46% (2,491,136B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.46% (2,491,136B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.46% (2,491,136B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.46% (2,491,136B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.46% (2,491,136B) 0x5B0CA1: 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.46% (2,491,136B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.46% (2,491,136B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.46% (2,491,136B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.46% (2,491,136B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.46% (2,491,136B) 0x57DF3F: 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.13% (1,928,206B) in 57 places, all below massif's threshold (01.00%) | ->22.16% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->19.70% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->19.70% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->19.70% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->19.70% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->19.70% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->19.70% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->19.70% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->19.70% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->19.70% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.46% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->08.76% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->04.61% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->04.61% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->02.09% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.30% (2,213,368B) 0x883A77: ha_create_func (ha0ha.c:58) | | | ->01.30% (2,213,368B) 0x839864: btr_search_sys_create (btr0sea.c:182) | | | ->01.30% (2,213,368B) 0x8448F7: buf_pool_init (buf0buf.c:1318) | | | ->01.30% (2,213,368B) 0x800097: innobase_start_or_create_for_mysql (srv0start.c:1398) | | | ->01.30% (2,213,368B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | | ->01.30% (2,213,368B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | | ->01.30% (2,213,368B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | | ->01.30% (2,213,368B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | | ->01.30% (2,213,368B) 0x507A79: init_server_components() (mysqld.cc:3917) | | | ->01.30% (2,213,368B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | | ->01.30% (2,213,368B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | | | ->00.79% (1,351,072B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.24% (2,113,536B) 0x814879: trx_doublewrite_init (trx0sys.c:204) | | ->01.24% (2,113,536B) 0x814AA3: trx_sys_doublewrite_init_or_restore_pages (trx0sys.c:455) | | ->01.24% (2,113,536B) 0x8A82FD: recv_recovery_from_checkpoint_start_func (log0recv.c:3154) | | ->01.24% (2,113,536B) 0x80120E: innobase_start_or_create_for_mysql (srv0start.c:1720) | | ->01.24% (2,113,536B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->01.24% (2,113,536B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->01.24% (2,113,536B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->01.24% (2,113,536B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->01.24% (2,113,536B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->01.24% (2,113,536B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.24% (2,113,536B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->00.81% (1,382,937B) in 1+ places, all below ms_print's threshold (01.00%) | ->03.20% (5,449,360B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->03.20% (5,449,360B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->03.20% (5,449,360B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->03.20% (5,449,360B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->03.20% (5,449,360B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->03.20% (5,449,360B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->03.20% (5,449,360B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->03.20% (5,449,360B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->03.20% (5,449,360B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->03.20% (5,449,360B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->03.20% (5,449,360B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->03.20% (5,449,360B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->03.20% (5,449,360B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->03.20% (5,449,360B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->03.20% (5,449,360B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.20% (5,449,360B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.20% (5,449,360B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.20% (5,449,360B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.20% (5,449,360B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.20% (5,449,360B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->03.20% (5,449,360B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->03.20% (5,449,360B) 0x5B0CA1: 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.20% (5,449,360B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->03.20% (5,449,360B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->03.20% (5,449,360B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->03.20% (5,449,360B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->03.20% (5,449,360B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->03.20% (5,449,360B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->03.20% (5,449,360B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->03.20% (5,449,360B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.66% (1,130,013B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 23 111,115,400,389 173,755,512 171,852,924 1,902,588 0 98.91% (171,852,924B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->64.69% (112,405,006B) 0x79D850: my_malloc (my_malloc.c:38) | ->47.54% (82,599,120B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->47.26% (82,109,056B) 0x7318F4: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->47.26% (82,109,056B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->47.26% (82,109,056B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->47.26% (82,109,056B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->47.26% (82,109,056B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->47.26% (82,109,056B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->47.26% (82,109,056B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->47.26% (82,109,056B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->47.26% (82,109,056B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->47.26% (82,109,056B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->47.26% (82,109,056B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->47.26% (82,109,056B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->47.26% (82,109,056B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->47.26% (82,109,056B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->47.26% (82,109,056B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->47.26% (82,109,056B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->47.26% (82,109,056B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->47.26% (82,109,056B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->47.26% (82,109,056B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->47.26% (82,109,056B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->47.26% (82,109,056B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->47.26% (82,109,056B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->47.26% (82,109,056B) 0x5B0CA1: 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) | | | | ->47.26% (82,109,056B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->47.26% (82,109,056B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->47.26% (82,109,056B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->47.26% (82,109,056B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->47.26% (82,109,056B) 0x57DF3F: 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.28% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->11.77% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->11.77% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->11.77% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->11.77% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->11.77% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->11.77% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->11.77% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.71% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->02.71% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->02.71% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->02.71% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->02.71% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->02.71% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.52% (2,649,768B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.49% (2,586,112B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.49% (2,586,112B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.49% (2,586,112B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.49% (2,586,112B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.49% (2,586,112B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.49% (2,586,112B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.49% (2,586,112B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.49% (2,586,112B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.49% (2,586,112B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.49% (2,586,112B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.49% (2,586,112B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.49% (2,586,112B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.49% (2,586,112B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.49% (2,586,112B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.49% (2,586,112B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.49% (2,586,112B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.49% (2,586,112B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.49% (2,586,112B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.49% (2,586,112B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.49% (2,586,112B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.49% (2,586,112B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.49% (2,586,112B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.49% (2,586,112B) 0x5B0CA1: 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.49% (2,586,112B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.49% (2,586,112B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.49% (2,586,112B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.49% (2,586,112B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.49% (2,586,112B) 0x57DF3F: 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.15% (1,990,534B) in 57 places, all below massif's threshold (01.00%) | ->21.72% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->19.31% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->19.31% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->19.31% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->19.31% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->19.31% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->19.31% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->19.31% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->19.31% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->19.31% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.41% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->08.59% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->04.52% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->04.52% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->02.05% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.27% (2,213,368B) 0x883A77: ha_create_func (ha0ha.c:58) | | | ->01.27% (2,213,368B) 0x839864: btr_search_sys_create (btr0sea.c:182) | | | ->01.27% (2,213,368B) 0x8448F7: buf_pool_init (buf0buf.c:1318) | | | ->01.27% (2,213,368B) 0x800097: innobase_start_or_create_for_mysql (srv0start.c:1398) | | | ->01.27% (2,213,368B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | | ->01.27% (2,213,368B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | | ->01.27% (2,213,368B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | | ->01.27% (2,213,368B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | | ->01.27% (2,213,368B) 0x507A79: init_server_components() (mysqld.cc:3917) | | | ->01.27% (2,213,368B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | | ->01.27% (2,213,368B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | | | ->00.78% (1,351,072B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.22% (2,113,536B) 0x814879: trx_doublewrite_init (trx0sys.c:204) | | ->01.22% (2,113,536B) 0x814AA3: trx_sys_doublewrite_init_or_restore_pages (trx0sys.c:455) | | ->01.22% (2,113,536B) 0x8A82FD: recv_recovery_from_checkpoint_start_func (log0recv.c:3154) | | ->01.22% (2,113,536B) 0x80120E: innobase_start_or_create_for_mysql (srv0start.c:1720) | | ->01.22% (2,113,536B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->01.22% (2,113,536B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->01.22% (2,113,536B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->01.22% (2,113,536B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->01.22% (2,113,536B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->01.22% (2,113,536B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.22% (2,113,536B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->00.80% (1,382,937B) in 1+ places, all below ms_print's threshold (01.00%) | ->03.26% (5,657,120B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->03.26% (5,657,120B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->03.26% (5,657,120B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->03.26% (5,657,120B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->03.26% (5,657,120B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->03.26% (5,657,120B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->03.26% (5,657,120B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->03.26% (5,657,120B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->03.26% (5,657,120B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->03.26% (5,657,120B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->03.26% (5,657,120B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->03.26% (5,657,120B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->03.26% (5,657,120B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->03.26% (5,657,120B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->03.26% (5,657,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.26% (5,657,120B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.26% (5,657,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.26% (5,657,120B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.26% (5,657,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.26% (5,657,120B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->03.26% (5,657,120B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->03.26% (5,657,120B) 0x5B0CA1: 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.26% (5,657,120B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->03.26% (5,657,120B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->03.26% (5,657,120B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->03.26% (5,657,120B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->03.26% (5,657,120B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->03.26% (5,657,120B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->03.26% (5,657,120B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->03.26% (5,657,120B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.65% (1,130,013B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 24 114,498,556,603 176,968,720 175,023,980 1,944,740 0 25 118,562,131,065 180,835,672 178,840,671 1,995,001 0 98.90% (178,840,671B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->65.79% (118,964,929B) 0x79D850: my_malloc (my_malloc.c:38) | ->49.11% (88,804,848B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->48.84% (88,314,784B) 0x7318F4: 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.84% (88,314,784B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->48.84% (88,314,784B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->48.84% (88,314,784B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->48.84% (88,314,784B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->48.84% (88,314,784B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->48.84% (88,314,784B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->48.84% (88,314,784B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->48.84% (88,314,784B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->48.84% (88,314,784B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->48.84% (88,314,784B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->48.84% (88,314,784B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->48.84% (88,314,784B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->48.84% (88,314,784B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->48.84% (88,314,784B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->48.84% (88,314,784B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->48.84% (88,314,784B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->48.84% (88,314,784B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->48.84% (88,314,784B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->48.84% (88,314,784B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->48.84% (88,314,784B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->48.84% (88,314,784B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->48.84% (88,314,784B) 0x5B0CA1: 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.84% (88,314,784B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->48.84% (88,314,784B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->48.84% (88,314,784B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->48.84% (88,314,784B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->48.84% (88,314,784B) 0x57DF3F: 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.31% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->11.31% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->11.31% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->11.31% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->11.31% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->11.31% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->11.31% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.60% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->02.60% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->02.60% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->02.60% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->02.60% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->02.60% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.57% (2,845,992B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.54% (2,781,568B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.54% (2,781,568B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.54% (2,781,568B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.54% (2,781,568B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.54% (2,781,568B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.54% (2,781,568B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.54% (2,781,568B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.54% (2,781,568B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.54% (2,781,568B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.54% (2,781,568B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.54% (2,781,568B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.54% (2,781,568B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.54% (2,781,568B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.54% (2,781,568B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.54% (2,781,568B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.54% (2,781,568B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.54% (2,781,568B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.54% (2,781,568B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.54% (2,781,568B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.54% (2,781,568B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.54% (2,781,568B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.54% (2,781,568B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.54% (2,781,568B) 0x5B0CA1: 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.54% (2,781,568B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.54% (2,781,568B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.54% (2,781,568B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.54% (2,781,568B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.54% (2,781,568B) 0x57DF3F: 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% (64,424B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.19% (2,148,505B) in 57 places, all below massif's threshold (01.00%) | ->20.87% (37,742,984B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->18.56% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->18.56% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->18.56% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->18.56% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->18.56% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->18.56% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->18.56% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->18.56% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->18.56% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.32% (4,187,920B) in 75 places, all below massif's threshold (01.00%) | ->08.25% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->04.34% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->04.34% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.97% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.22% (2,213,368B) 0x883A77: ha_create_func (ha0ha.c:58) | | | ->01.22% (2,213,368B) 0x839864: btr_search_sys_create (btr0sea.c:182) | | | ->01.22% (2,213,368B) 0x8448F7: buf_pool_init (buf0buf.c:1318) | | | ->01.22% (2,213,368B) 0x800097: innobase_start_or_create_for_mysql (srv0start.c:1398) | | | ->01.22% (2,213,368B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | | ->01.22% (2,213,368B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | | ->01.22% (2,213,368B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | | ->01.22% (2,213,368B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | | ->01.22% (2,213,368B) 0x507A79: init_server_components() (mysqld.cc:3917) | | | ->01.22% (2,213,368B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | | ->01.22% (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) 0x814879: trx_doublewrite_init (trx0sys.c:204) | | ->01.17% (2,113,536B) 0x814AA3: trx_sys_doublewrite_init_or_restore_pages (trx0sys.c:455) | | ->01.17% (2,113,536B) 0x8A82FD: recv_recovery_from_checkpoint_start_func (log0recv.c:3154) | | ->01.17% (2,113,536B) 0x80120E: innobase_start_or_create_for_mysql (srv0start.c:1720) | | ->01.17% (2,113,536B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->01.17% (2,113,536B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->01.17% (2,113,536B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->01.17% (2,113,536B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->01.17% (2,113,536B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->01.17% (2,113,536B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.17% (2,113,536B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->00.76% (1,382,937B) in 1+ places, all below ms_print's threshold (01.00%) | ->03.36% (6,084,680B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->03.36% (6,084,680B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->03.36% (6,084,680B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->03.36% (6,084,680B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->03.36% (6,084,680B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->03.36% (6,084,680B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->03.36% (6,084,680B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->03.36% (6,084,680B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->03.36% (6,084,680B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->03.36% (6,084,680B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->03.36% (6,084,680B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->03.36% (6,084,680B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->03.36% (6,084,680B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->03.36% (6,084,680B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->03.36% (6,084,680B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.36% (6,084,680B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.36% (6,084,680B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.36% (6,084,680B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.36% (6,084,680B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.36% (6,084,680B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->03.36% (6,084,680B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->03.36% (6,084,680B) 0x5B0CA1: 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,084,680B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->03.36% (6,084,680B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->03.36% (6,084,680B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->03.36% (6,084,680B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->03.36% (6,084,680B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->03.36% (6,084,680B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->03.36% (6,084,680B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->03.36% (6,084,680B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.62% (1,130,013B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 26 123,424,478,843 184,091,736 182,053,888 2,037,848 0 27 127,175,143,656 187,641,680 185,557,452 2,084,228 0 28 131,929,334,819 191,971,880 189,830,900 2,140,980 0 98.88% (189,830,900B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->67.34% (129,278,102B) 0x79D850: my_malloc (my_malloc.c:38) | ->51.38% (98,635,664B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->51.12% (98,145,600B) 0x7318F4: 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.12% (98,145,600B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->51.12% (98,145,600B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->51.12% (98,145,600B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->51.12% (98,145,600B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->51.12% (98,145,600B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->51.12% (98,145,600B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->51.12% (98,145,600B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->51.12% (98,145,600B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->51.12% (98,145,600B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->51.12% (98,145,600B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->51.12% (98,145,600B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->51.12% (98,145,600B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->51.12% (98,145,600B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->51.12% (98,145,600B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->51.12% (98,145,600B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->51.12% (98,145,600B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->51.12% (98,145,600B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->51.12% (98,145,600B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->51.12% (98,145,600B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->51.12% (98,145,600B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->51.12% (98,145,600B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->51.12% (98,145,600B) 0x5B0CA1: 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.12% (98,145,600B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->51.12% (98,145,600B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->51.12% (98,145,600B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->51.12% (98,145,600B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->51.12% (98,145,600B) 0x57DF3F: 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.26% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->10.66% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->10.66% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->10.66% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->10.66% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->10.66% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->10.66% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->10.66% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.45% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->02.45% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->02.45% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->02.45% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->02.45% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->02.45% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.64% (3,154,856B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.61% (3,091,200B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.61% (3,091,200B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.61% (3,091,200B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.61% (3,091,200B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.61% (3,091,200B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.61% (3,091,200B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.61% (3,091,200B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.61% (3,091,200B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.61% (3,091,200B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.61% (3,091,200B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.61% (3,091,200B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.61% (3,091,200B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.61% (3,091,200B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.61% (3,091,200B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.61% (3,091,200B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.61% (3,091,200B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.61% (3,091,200B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.61% (3,091,200B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.61% (3,091,200B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.61% (3,091,200B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.61% (3,091,200B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.61% (3,091,200B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.61% (3,091,200B) 0x5B0CA1: 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.61% (3,091,200B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.61% (3,091,200B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.61% (3,091,200B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.61% (3,091,200B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.61% (3,091,200B) 0x57DF3F: 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,931,920B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.01% (1,931,920B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.01% (1,931,920B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.01% (1,931,920B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.01% (1,931,920B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.01% (1,931,920B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.01% (1,931,920B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.01% (1,931,920B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.01% (1,931,920B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.01% (1,931,920B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.01% (1,931,920B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.01% (1,931,920B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.01% (1,931,920B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.01% (1,931,920B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.01% (1,931,920B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.01% (1,931,920B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.01% (1,931,920B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.01% (1,931,920B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.01% (1,931,920B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.01% (1,931,920B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.01% (1,931,920B) 0x5B0CA1: 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,931,920B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.01% (1,931,920B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.01% (1,931,920B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.01% (1,931,920B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.01% (1,931,920B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.01% (1,931,920B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.01% (1,931,920B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.01% (1,931,920B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.20% (390,078B) in 1+ places, all below ms_print's threshold (01.00%) | ->19.66% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->17.48% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->17.48% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->17.48% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->17.48% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->17.48% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->17.48% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->17.48% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->17.48% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->17.48% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.18% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->07.77% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->04.09% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->04.09% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.86% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.15% (2,213,368B) 0x883A77: ha_create_func (ha0ha.c:58) | | | ->01.15% (2,213,368B) 0x839864: btr_search_sys_create (btr0sea.c:182) | | | ->01.15% (2,213,368B) 0x8448F7: buf_pool_init (buf0buf.c:1318) | | | ->01.15% (2,213,368B) 0x800097: innobase_start_or_create_for_mysql (srv0start.c:1398) | | | ->01.15% (2,213,368B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | | ->01.15% (2,213,368B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | | ->01.15% (2,213,368B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | | ->01.15% (2,213,368B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | | ->01.15% (2,213,368B) 0x507A79: init_server_components() (mysqld.cc:3917) | | | ->01.15% (2,213,368B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | | ->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.10% (2,113,536B) 0x814879: trx_doublewrite_init (trx0sys.c:204) | | ->01.10% (2,113,536B) 0x814AA3: trx_sys_doublewrite_init_or_restore_pages (trx0sys.c:455) | | ->01.10% (2,113,536B) 0x8A82FD: recv_recovery_from_checkpoint_start_func (log0recv.c:3154) | | ->01.10% (2,113,536B) 0x80120E: innobase_start_or_create_for_mysql (srv0start.c:1720) | | ->01.10% (2,113,536B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->01.10% (2,113,536B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->01.10% (2,113,536B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->01.10% (2,113,536B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->01.10% (2,113,536B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->01.10% (2,113,536B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.10% (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.52% (6,762,000B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->03.52% (6,762,000B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->03.52% (6,762,000B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->03.52% (6,762,000B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->03.52% (6,762,000B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->03.52% (6,762,000B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->03.52% (6,762,000B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->03.52% (6,762,000B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->03.52% (6,762,000B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->03.52% (6,762,000B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->03.52% (6,762,000B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->03.52% (6,762,000B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->03.52% (6,762,000B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->03.52% (6,762,000B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->03.52% (6,762,000B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.52% (6,762,000B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.52% (6,762,000B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.52% (6,762,000B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.52% (6,762,000B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.52% (6,762,000B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->03.52% (6,762,000B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->03.52% (6,762,000B) 0x5B0CA1: 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.52% (6,762,000B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->03.52% (6,762,000B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->03.52% (6,762,000B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->03.52% (6,762,000B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->03.52% (6,762,000B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->03.52% (6,762,000B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->03.52% (6,762,000B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->03.52% (6,762,000B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.59% (1,130,013B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 29 134,634,779,990 193,320,096 191,161,332 2,158,764 0 30 139,210,527,743 197,792,976 195,576,226 2,216,750 0 98.88% (195,576,226B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->68.09% (134,673,988B) 0x79D850: my_malloc (my_malloc.c:38) | ->52.43% (103,707,864B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->52.18% (103,217,472B) 0x7318F4: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->52.18% (103,217,472B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->52.18% (103,217,472B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->52.18% (103,217,472B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->52.18% (103,217,472B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->52.18% (103,217,472B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->52.18% (103,217,472B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->52.18% (103,217,472B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->52.18% (103,217,472B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->52.18% (103,217,472B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->52.18% (103,217,472B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->52.18% (103,217,472B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->52.18% (103,217,472B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->52.18% (103,217,472B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->52.18% (103,217,472B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->52.18% (103,217,472B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->52.18% (103,217,472B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->52.18% (103,217,472B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->52.18% (103,217,472B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->52.18% (103,217,472B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->52.18% (103,217,472B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->52.18% (103,217,472B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->52.18% (103,217,472B) 0x5B0CA1: 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) | | | | ->52.18% (103,217,472B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->52.18% (103,217,472B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->52.18% (103,217,472B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->52.18% (103,217,472B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->52.18% (103,217,472B) 0x57DF3F: 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,392B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->10.34% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->10.34% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->10.34% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->10.34% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->10.34% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->10.34% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->10.34% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.38% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->02.38% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->02.38% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->02.38% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->02.38% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->02.38% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.68% (3,315,368B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.64% (3,250,944B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.64% (3,250,944B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.64% (3,250,944B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.64% (3,250,944B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.64% (3,250,944B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.64% (3,250,944B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.64% (3,250,944B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.64% (3,250,944B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.64% (3,250,944B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.64% (3,250,944B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.64% (3,250,944B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.64% (3,250,944B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.64% (3,250,944B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.64% (3,250,944B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.64% (3,250,944B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.64% (3,250,944B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.64% (3,250,944B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.64% (3,250,944B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.64% (3,250,944B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.64% (3,250,944B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.64% (3,250,944B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.64% (3,250,944B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.64% (3,250,944B) 0x5B0CA1: 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.64% (3,250,944B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.64% (3,250,944B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.64% (3,250,944B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.64% (3,250,944B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.64% (3,250,944B) 0x57DF3F: 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.03% (2,031,760B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.03% (2,031,760B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.03% (2,031,760B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.03% (2,031,760B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.03% (2,031,760B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.03% (2,031,760B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.03% (2,031,760B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.03% (2,031,760B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.03% (2,031,760B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.03% (2,031,760B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.03% (2,031,760B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.03% (2,031,760B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.03% (2,031,760B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.03% (2,031,760B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.03% (2,031,760B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.03% (2,031,760B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.03% (2,031,760B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.03% (2,031,760B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.03% (2,031,760B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.03% (2,031,760B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.03% (2,031,760B) 0x5B0CA1: 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.03% (2,031,760B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.03% (2,031,760B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.03% (2,031,760B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.03% (2,031,760B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.03% (2,031,760B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.03% (2,031,760B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.03% (2,031,760B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.03% (2,031,760B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.23% (453,412B) in 1+ places, all below ms_print's threshold (01.00%) | ->19.08% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->16.96% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->16.96% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->16.96% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->16.96% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->16.96% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->16.96% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->16.96% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->16.96% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->16.96% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.12% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->07.54% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->03.97% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->03.97% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.80% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.12% (2,213,368B) 0x883A77: ha_create_func (ha0ha.c:58) | | | ->01.12% (2,213,368B) 0x839864: btr_search_sys_create (btr0sea.c:182) | | | ->01.12% (2,213,368B) 0x8448F7: buf_pool_init (buf0buf.c:1318) | | | ->01.12% (2,213,368B) 0x800097: innobase_start_or_create_for_mysql (srv0start.c:1398) | | | ->01.12% (2,213,368B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | | ->01.12% (2,213,368B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | | ->01.12% (2,213,368B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | | ->01.12% (2,213,368B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | | ->01.12% (2,213,368B) 0x507A79: init_server_components() (mysqld.cc:3917) | | | ->01.12% (2,213,368B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | | ->01.12% (2,213,368B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | | | ->00.68% (1,351,072B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.07% (2,113,536B) 0x814879: trx_doublewrite_init (trx0sys.c:204) | | ->01.07% (2,113,536B) 0x814AA3: trx_sys_doublewrite_init_or_restore_pages (trx0sys.c:455) | | ->01.07% (2,113,536B) 0x8A82FD: recv_recovery_from_checkpoint_start_func (log0recv.c:3154) | | ->01.07% (2,113,536B) 0x80120E: innobase_start_or_create_for_mysql (srv0start.c:1720) | | ->01.07% (2,113,536B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->01.07% (2,113,536B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->01.07% (2,113,536B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->01.07% (2,113,536B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->01.07% (2,113,536B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->01.07% (2,113,536B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.07% (2,113,536B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->00.70% (1,382,937B) in 1+ places, all below ms_print's threshold (01.00%) | ->03.60% (7,111,440B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->03.60% (7,111,440B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->03.60% (7,111,440B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->03.60% (7,111,440B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->03.60% (7,111,440B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->03.60% (7,111,440B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->03.60% (7,111,440B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->03.60% (7,111,440B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->03.60% (7,111,440B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->03.60% (7,111,440B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->03.60% (7,111,440B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->03.60% (7,111,440B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->03.60% (7,111,440B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->03.60% (7,111,440B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->03.60% (7,111,440B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.60% (7,111,440B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.60% (7,111,440B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.60% (7,111,440B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.60% (7,111,440B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.60% (7,111,440B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->03.60% (7,111,440B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->03.60% (7,111,440B) 0x5B0CA1: 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.60% (7,111,440B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->03.60% (7,111,440B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->03.60% (7,111,440B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->03.60% (7,111,440B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->03.60% (7,111,440B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->03.60% (7,111,440B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->03.60% (7,111,440B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->03.60% (7,111,440B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.57% (1,130,013B) 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 141,403,063,922 199,773,912 197,530,540 2,243,372 0 98.88% (197,530,540B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->68.33% (136,504,542B) 0x79D850: my_malloc (my_malloc.c:38) | ->52.81% (105,503,824B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->52.57% (105,013,760B) 0x7318F4: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->52.57% (105,013,760B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->52.57% (105,013,760B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->52.57% (105,013,760B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->52.57% (105,013,760B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->52.57% (105,013,760B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->52.57% (105,013,760B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->52.57% (105,013,760B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->52.57% (105,013,760B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->52.57% (105,013,760B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->52.57% (105,013,760B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->52.57% (105,013,760B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->52.57% (105,013,760B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->52.57% (105,013,760B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->52.57% (105,013,760B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->52.57% (105,013,760B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->52.57% (105,013,760B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->52.57% (105,013,760B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->52.57% (105,013,760B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->52.57% (105,013,760B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->52.57% (105,013,760B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->52.57% (105,013,760B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->52.57% (105,013,760B) 0x5B0CA1: 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) | | | | ->52.57% (105,013,760B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->52.57% (105,013,760B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->52.57% (105,013,760B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->52.57% (105,013,760B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->52.57% (105,013,760B) 0x57DF3F: 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.24% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->10.24% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->10.24% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->10.24% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->10.24% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->10.24% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->10.24% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.36% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->02.36% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->02.36% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->02.36% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->02.36% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->02.36% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.69% (3,371,176B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.66% (3,307,520B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.66% (3,307,520B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.66% (3,307,520B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.66% (3,307,520B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.66% (3,307,520B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.66% (3,307,520B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.66% (3,307,520B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.66% (3,307,520B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.66% (3,307,520B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.66% (3,307,520B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.66% (3,307,520B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.66% (3,307,520B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.66% (3,307,520B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.66% (3,307,520B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.66% (3,307,520B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.66% (3,307,520B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.66% (3,307,520B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.66% (3,307,520B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.66% (3,307,520B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.66% (3,307,520B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.66% (3,307,520B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.66% (3,307,520B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.66% (3,307,520B) 0x5B0CA1: 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.66% (3,307,520B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.66% (3,307,520B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.66% (3,307,520B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.66% (3,307,520B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.66% (3,307,520B) 0x57DF3F: 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.03% (2,067,120B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.03% (2,067,120B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.03% (2,067,120B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.03% (2,067,120B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.03% (2,067,120B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.03% (2,067,120B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.03% (2,067,120B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.03% (2,067,120B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.03% (2,067,120B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.03% (2,067,120B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.03% (2,067,120B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.03% (2,067,120B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.03% (2,067,120B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.03% (2,067,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.03% (2,067,120B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.03% (2,067,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.03% (2,067,120B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.03% (2,067,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.03% (2,067,120B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.03% (2,067,120B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.03% (2,067,120B) 0x5B0CA1: 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.03% (2,067,120B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.03% (2,067,120B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.03% (2,067,120B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.03% (2,067,120B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.03% (2,067,120B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.03% (2,067,120B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.03% (2,067,120B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.03% (2,067,120B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.20% (396,838B) in 1+ places, all below ms_print's threshold (01.00%) | ->18.89% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->16.80% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->16.80% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->16.80% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->16.80% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->16.80% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->16.80% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->16.80% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->16.80% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->16.80% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.10% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->07.47% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->03.93% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->03.93% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.78% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.11% (2,213,368B) 0x883A77: ha_create_func (ha0ha.c:58) | | | ->01.11% (2,213,368B) 0x839864: btr_search_sys_create (btr0sea.c:182) | | | ->01.11% (2,213,368B) 0x8448F7: buf_pool_init (buf0buf.c:1318) | | | ->01.11% (2,213,368B) 0x800097: innobase_start_or_create_for_mysql (srv0start.c:1398) | | | ->01.11% (2,213,368B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | | ->01.11% (2,213,368B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | | ->01.11% (2,213,368B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | | ->01.11% (2,213,368B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | | ->01.11% (2,213,368B) 0x507A79: init_server_components() (mysqld.cc:3917) | | | ->01.11% (2,213,368B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | | ->01.11% (2,213,368B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | | | ->00.68% (1,351,072B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.06% (2,113,536B) 0x814879: trx_doublewrite_init (trx0sys.c:204) | | ->01.06% (2,113,536B) 0x814AA3: trx_sys_doublewrite_init_or_restore_pages (trx0sys.c:455) | | ->01.06% (2,113,536B) 0x8A82FD: recv_recovery_from_checkpoint_start_func (log0recv.c:3154) | | ->01.06% (2,113,536B) 0x80120E: innobase_start_or_create_for_mysql (srv0start.c:1720) | | ->01.06% (2,113,536B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->01.06% (2,113,536B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->01.06% (2,113,536B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->01.06% (2,113,536B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->01.06% (2,113,536B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->01.06% (2,113,536B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.06% (2,113,536B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->00.69% (1,382,937B) in 1+ places, all below ms_print's threshold (01.00%) | ->03.62% (7,235,200B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->03.62% (7,235,200B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->03.62% (7,235,200B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->03.62% (7,235,200B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->03.62% (7,235,200B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->03.62% (7,235,200B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->03.62% (7,235,200B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->03.62% (7,235,200B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->03.62% (7,235,200B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->03.62% (7,235,200B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->03.62% (7,235,200B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->03.62% (7,235,200B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->03.62% (7,235,200B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->03.62% (7,235,200B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->03.62% (7,235,200B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.62% (7,235,200B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.62% (7,235,200B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.62% (7,235,200B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.62% (7,235,200B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.62% (7,235,200B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->03.62% (7,235,200B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->03.62% (7,235,200B) 0x5B0CA1: 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.62% (7,235,200B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->03.62% (7,235,200B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->03.62% (7,235,200B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->03.62% (7,235,200B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->03.62% (7,235,200B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->03.62% (7,235,200B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->03.62% (7,235,200B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->03.62% (7,235,200B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.57% (1,130,013B) 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 147,054,697,427 203,808,600 201,512,484 2,296,116 0 98.87% (201,512,484B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->68.81% (140,241,766B) 0x79D850: my_malloc (my_malloc.c:38) | ->53.51% (109,055,760B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->53.27% (108,565,696B) 0x7318F4: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->53.27% (108,565,696B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->53.27% (108,565,696B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->53.27% (108,565,696B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->53.27% (108,565,696B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->53.27% (108,565,696B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->53.27% (108,565,696B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->53.27% (108,565,696B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->53.27% (108,565,696B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->53.27% (108,565,696B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->53.27% (108,565,696B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->53.27% (108,565,696B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->53.27% (108,565,696B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->53.27% (108,565,696B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->53.27% (108,565,696B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->53.27% (108,565,696B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->53.27% (108,565,696B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->53.27% (108,565,696B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->53.27% (108,565,696B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->53.27% (108,565,696B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->53.27% (108,565,696B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->53.27% (108,565,696B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->53.27% (108,565,696B) 0x5B0CA1: 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) | | | | ->53.27% (108,565,696B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->53.27% (108,565,696B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->53.27% (108,565,696B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->53.27% (108,565,696B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->53.27% (108,565,696B) 0x57DF3F: 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.24% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->10.04% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->10.04% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->10.04% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->10.04% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->10.04% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->10.04% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->10.04% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.31% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->02.31% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->02.31% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->02.31% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->02.31% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->02.31% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.71% (3,483,048B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.68% (3,419,392B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.68% (3,419,392B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.68% (3,419,392B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.68% (3,419,392B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.68% (3,419,392B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.68% (3,419,392B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.68% (3,419,392B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.68% (3,419,392B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.68% (3,419,392B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.68% (3,419,392B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.68% (3,419,392B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.68% (3,419,392B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.68% (3,419,392B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.68% (3,419,392B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.68% (3,419,392B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.68% (3,419,392B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.68% (3,419,392B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.68% (3,419,392B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.68% (3,419,392B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.68% (3,419,392B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.68% (3,419,392B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.68% (3,419,392B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.68% (3,419,392B) 0x5B0CA1: 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.68% (3,419,392B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.68% (3,419,392B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.68% (3,419,392B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.68% (3,419,392B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.68% (3,419,392B) 0x57DF3F: 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.05% (2,137,040B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.05% (2,137,040B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.05% (2,137,040B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.05% (2,137,040B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.05% (2,137,040B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.05% (2,137,040B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.05% (2,137,040B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.05% (2,137,040B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.05% (2,137,040B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.05% (2,137,040B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.05% (2,137,040B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.05% (2,137,040B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.05% (2,137,040B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.05% (2,137,040B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.05% (2,137,040B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.05% (2,137,040B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.05% (2,137,040B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.05% (2,137,040B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.05% (2,137,040B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.05% (2,137,040B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.05% (2,137,040B) 0x5B0CA1: 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.05% (2,137,040B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.05% (2,137,040B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.05% (2,137,040B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.05% (2,137,040B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.05% (2,137,040B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.05% (2,137,040B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.05% (2,137,040B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.05% (2,137,040B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.20% (400,334B) in 1+ places, all below ms_print's threshold (01.00%) | ->18.52% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->16.46% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->16.46% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->16.46% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->16.46% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->16.46% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->16.46% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->16.46% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->16.46% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->16.46% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.05% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->07.32% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->03.86% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->03.86% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.75% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.09% (2,213,368B) 0x883A77: ha_create_func (ha0ha.c:58) | | | ->01.09% (2,213,368B) 0x839864: btr_search_sys_create (btr0sea.c:182) | | | ->01.09% (2,213,368B) 0x8448F7: buf_pool_init (buf0buf.c:1318) | | | ->01.09% (2,213,368B) 0x800097: innobase_start_or_create_for_mysql (srv0start.c:1398) | | | ->01.09% (2,213,368B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | | ->01.09% (2,213,368B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | | ->01.09% (2,213,368B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | | ->01.09% (2,213,368B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | | ->01.09% (2,213,368B) 0x507A79: init_server_components() (mysqld.cc:3917) | | | ->01.09% (2,213,368B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | | ->01.09% (2,213,368B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | | | ->00.66% (1,351,072B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.04% (2,113,536B) 0x814879: trx_doublewrite_init (trx0sys.c:204) | | ->01.04% (2,113,536B) 0x814AA3: trx_sys_doublewrite_init_or_restore_pages (trx0sys.c:455) | | ->01.04% (2,113,536B) 0x8A82FD: recv_recovery_from_checkpoint_start_func (log0recv.c:3154) | | ->01.04% (2,113,536B) 0x80120E: innobase_start_or_create_for_mysql (srv0start.c:1720) | | ->01.04% (2,113,536B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->01.04% (2,113,536B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->01.04% (2,113,536B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->01.04% (2,113,536B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->01.04% (2,113,536B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->01.04% (2,113,536B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.04% (2,113,536B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->00.68% (1,382,937B) in 1+ places, all below ms_print's threshold (01.00%) | ->03.67% (7,479,920B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->03.67% (7,479,920B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->03.67% (7,479,920B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->03.67% (7,479,920B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->03.67% (7,479,920B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->03.67% (7,479,920B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->03.67% (7,479,920B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->03.67% (7,479,920B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->03.67% (7,479,920B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->03.67% (7,479,920B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->03.67% (7,479,920B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->03.67% (7,479,920B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->03.67% (7,479,920B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->03.67% (7,479,920B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->03.67% (7,479,920B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.67% (7,479,920B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.67% (7,479,920B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.67% (7,479,920B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.67% (7,479,920B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.67% (7,479,920B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->03.67% (7,479,920B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->03.67% (7,479,920B) 0x5B0CA1: 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.67% (7,479,920B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->03.67% (7,479,920B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->03.67% (7,479,920B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->03.67% (7,479,920B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->03.67% (7,479,920B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->03.67% (7,479,920B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->03.67% (7,479,920B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->03.67% (7,479,920B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.55% (1,130,013B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 33 151,349,923,140 207,908,584 205,558,556 2,350,028 0 98.87% (205,558,556B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->69.28% (144,038,934B) 0x79D850: my_malloc (my_malloc.c:38) | ->54.19% (112,664,592B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->53.95% (112,174,528B) 0x7318F4: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->53.95% (112,174,528B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->53.95% (112,174,528B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->53.95% (112,174,528B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->53.95% (112,174,528B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->53.95% (112,174,528B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->53.95% (112,174,528B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->53.95% (112,174,528B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->53.95% (112,174,528B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->53.95% (112,174,528B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->53.95% (112,174,528B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->53.95% (112,174,528B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->53.95% (112,174,528B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->53.95% (112,174,528B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->53.95% (112,174,528B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->53.95% (112,174,528B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->53.95% (112,174,528B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->53.95% (112,174,528B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->53.95% (112,174,528B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->53.95% (112,174,528B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->53.95% (112,174,528B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->53.95% (112,174,528B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->53.95% (112,174,528B) 0x5B0CA1: 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) | | | | ->53.95% (112,174,528B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->53.95% (112,174,528B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->53.95% (112,174,528B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->53.95% (112,174,528B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->53.95% (112,174,528B) 0x57DF3F: 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.24% (490,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->09.84% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->09.84% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->09.84% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->09.84% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->09.84% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->09.84% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->09.84% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.26% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->02.26% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->02.26% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->02.26% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->02.26% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->02.26% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.73% (3,596,712B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.70% (3,533,056B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.70% (3,533,056B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.70% (3,533,056B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.70% (3,533,056B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.70% (3,533,056B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.70% (3,533,056B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.70% (3,533,056B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.70% (3,533,056B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.70% (3,533,056B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.70% (3,533,056B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.70% (3,533,056B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.70% (3,533,056B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.70% (3,533,056B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.70% (3,533,056B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.70% (3,533,056B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.70% (3,533,056B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.70% (3,533,056B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.70% (3,533,056B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.70% (3,533,056B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.70% (3,533,056B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.70% (3,533,056B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.70% (3,533,056B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.70% (3,533,056B) 0x5B0CA1: 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.70% (3,533,056B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.70% (3,533,056B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.70% (3,533,056B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.70% (3,533,056B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.70% (3,533,056B) 0x57DF3F: 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.06% (2,208,160B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.06% (2,208,160B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.06% (2,208,160B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.06% (2,208,160B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.06% (2,208,160B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.06% (2,208,160B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.06% (2,208,160B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.06% (2,208,160B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.06% (2,208,160B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.06% (2,208,160B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.06% (2,208,160B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.06% (2,208,160B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.06% (2,208,160B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.06% (2,208,160B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.06% (2,208,160B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.06% (2,208,160B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.06% (2,208,160B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.06% (2,208,160B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.06% (2,208,160B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.06% (2,208,160B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.06% (2,208,160B) 0x5B0CA1: 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.06% (2,208,160B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.06% (2,208,160B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.06% (2,208,160B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.06% (2,208,160B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.06% (2,208,160B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.06% (2,208,160B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.06% (2,208,160B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.06% (2,208,160B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.19% (403,886B) in 1+ places, all below ms_print's threshold (01.00%) | ->18.15% (37,742,984B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->16.14% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->16.14% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->16.14% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->16.14% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->16.14% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->16.14% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->16.14% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->16.14% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->16.14% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.01% (4,187,920B) in 75 places, all below massif's threshold (01.00%) | ->07.18% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->03.78% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->03.78% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.71% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.06% (2,213,368B) 0x883A77: ha_create_func (ha0ha.c:58) | | | ->01.06% (2,213,368B) 0x839864: btr_search_sys_create (btr0sea.c:182) | | | ->01.06% (2,213,368B) 0x8448F7: buf_pool_init (buf0buf.c:1318) | | | ->01.06% (2,213,368B) 0x800097: innobase_start_or_create_for_mysql (srv0start.c:1398) | | | ->01.06% (2,213,368B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | | ->01.06% (2,213,368B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | | ->01.06% (2,213,368B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | | ->01.06% (2,213,368B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | | ->01.06% (2,213,368B) 0x507A79: init_server_components() (mysqld.cc:3917) | | | ->01.06% (2,213,368B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | | ->01.06% (2,213,368B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | | | ->00.65% (1,351,072B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.02% (2,113,536B) 0x814879: trx_doublewrite_init (trx0sys.c:204) | | ->01.02% (2,113,536B) 0x814AA3: trx_sys_doublewrite_init_or_restore_pages (trx0sys.c:455) | | ->01.02% (2,113,536B) 0x8A82FD: recv_recovery_from_checkpoint_start_func (log0recv.c:3154) | | ->01.02% (2,113,536B) 0x80120E: innobase_start_or_create_for_mysql (srv0start.c:1720) | | ->01.02% (2,113,536B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->01.02% (2,113,536B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->01.02% (2,113,536B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->01.02% (2,113,536B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->01.02% (2,113,536B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->01.02% (2,113,536B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.02% (2,113,536B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->00.67% (1,382,937B) in 1+ places, all below ms_print's threshold (01.00%) | ->03.72% (7,728,560B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->03.72% (7,728,560B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->03.72% (7,728,560B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->03.72% (7,728,560B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->03.72% (7,728,560B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->03.72% (7,728,560B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->03.72% (7,728,560B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->03.72% (7,728,560B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->03.72% (7,728,560B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->03.72% (7,728,560B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->03.72% (7,728,560B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->03.72% (7,728,560B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->03.72% (7,728,560B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->03.72% (7,728,560B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->03.72% (7,728,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.72% (7,728,560B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.72% (7,728,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.72% (7,728,560B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.72% (7,728,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.72% (7,728,560B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->03.72% (7,728,560B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->03.72% (7,728,560B) 0x5B0CA1: 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.72% (7,728,560B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->03.72% (7,728,560B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->03.72% (7,728,560B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->03.72% (7,728,560B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->03.72% (7,728,560B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->03.72% (7,728,560B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->03.72% (7,728,560B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->03.72% (7,728,560B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.54% (1,130,013B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 34 155,466,074,949 212,953,312 210,552,057 2,401,255 0 98.87% (210,552,057B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->69.87% (148,782,795B) 0x79D850: my_malloc (my_malloc.c:38) | ->54.51% (116,081,448B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->54.27% (115,563,904B) 0x7318F4: get_quick_keys(PARAM*, QUICK_RANGE_SELECT*, st_key_part*, SEL_ARG*, unsigned char*, unsigned int, unsigned char*, unsigned int) (sql_list.h:41) | | | ->54.27% (115,563,904B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->54.27% (115,563,904B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->54.27% (115,563,904B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->54.27% (115,563,904B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->54.27% (115,563,904B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->54.27% (115,563,904B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->54.27% (115,563,904B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->54.27% (115,563,904B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->54.27% (115,563,904B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->54.27% (115,563,904B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->54.27% (115,563,904B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->54.27% (115,563,904B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->54.27% (115,563,904B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->54.27% (115,563,904B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->54.27% (115,563,904B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->54.27% (115,563,904B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->54.27% (115,563,904B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->54.27% (115,563,904B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->54.27% (115,563,904B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->54.27% (115,563,904B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->54.27% (115,563,904B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->54.27% (115,563,904B) 0x5B0CA1: 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) | | | | ->54.27% (115,563,904B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->54.27% (115,563,904B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->54.27% (115,563,904B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->54.27% (115,563,904B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->54.27% (115,563,904B) 0x57DF3F: 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.24% (517,544B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->09.61% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->09.61% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->09.61% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->09.61% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->09.61% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->09.61% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->09.61% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.21% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->02.21% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->02.21% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->02.21% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->02.21% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->02.21% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.74% (3,705,000B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.71% (3,639,808B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.71% (3,639,808B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.71% (3,639,808B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.71% (3,639,808B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.71% (3,639,808B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.71% (3,639,808B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.71% (3,639,808B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.71% (3,639,808B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.71% (3,639,808B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.71% (3,639,808B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.71% (3,639,808B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.71% (3,639,808B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.71% (3,639,808B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.71% (3,639,808B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.71% (3,639,808B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.71% (3,639,808B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.71% (3,639,808B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.71% (3,639,808B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.71% (3,639,808B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.71% (3,639,808B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.71% (3,639,808B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.71% (3,639,808B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.71% (3,639,808B) 0x5B0CA1: 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.71% (3,639,808B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.71% (3,639,808B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.71% (3,639,808B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.71% (3,639,808B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.71% (3,639,808B) 0x57DF3F: 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.07% (2,274,880B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.07% (2,274,880B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.07% (2,274,880B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.07% (2,274,880B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.07% (2,274,880B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.07% (2,274,880B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.07% (2,274,880B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.07% (2,274,880B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.07% (2,274,880B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.07% (2,274,880B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.07% (2,274,880B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.07% (2,274,880B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.07% (2,274,880B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.07% (2,274,880B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.07% (2,274,880B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.07% (2,274,880B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.07% (2,274,880B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.07% (2,274,880B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.07% (2,274,880B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.07% (2,274,880B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.07% (2,274,880B) 0x5B0CA1: 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% (2,274,880B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.07% (2,274,880B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.07% (2,274,880B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.07% (2,274,880B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.07% (2,274,880B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.07% (2,274,880B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.07% (2,274,880B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.07% (2,274,880B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.73% (1,555,883B) in 1+ places, all below ms_print's threshold (01.00%) | ->17.72% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->15.76% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->15.76% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->15.76% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->15.76% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->15.76% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->15.76% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->15.76% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->15.76% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->15.76% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.97% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->07.01% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->03.69% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->03.69% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.67% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.04% (2,213,368B) 0x883A77: ha_create_func (ha0ha.c:58) | | | ->01.04% (2,213,368B) 0x839864: btr_search_sys_create (btr0sea.c:182) | | | ->01.04% (2,213,368B) 0x8448F7: buf_pool_init (buf0buf.c:1318) | | | ->01.04% (2,213,368B) 0x800097: innobase_start_or_create_for_mysql (srv0start.c:1398) | | | ->01.04% (2,213,368B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | | ->01.04% (2,213,368B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | | ->01.04% (2,213,368B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | | ->01.04% (2,213,368B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | | ->01.04% (2,213,368B) 0x507A79: init_server_components() (mysqld.cc:3917) | | | ->01.04% (2,213,368B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | | ->01.04% (2,213,368B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | | | ->00.63% (1,351,072B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.64% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->03.74% (7,962,080B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->03.74% (7,962,080B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->03.74% (7,962,080B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->03.74% (7,962,080B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->03.74% (7,962,080B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->03.74% (7,962,080B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->03.74% (7,962,080B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->03.74% (7,962,080B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->03.74% (7,962,080B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->03.74% (7,962,080B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->03.74% (7,962,080B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->03.74% (7,962,080B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->03.74% (7,962,080B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->03.74% (7,962,080B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->03.74% (7,962,080B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.74% (7,962,080B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.74% (7,962,080B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.74% (7,962,080B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.74% (7,962,080B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.74% (7,962,080B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->03.74% (7,962,080B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->03.74% (7,962,080B) 0x5B0CA1: 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.74% (7,962,080B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->03.74% (7,962,080B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->03.74% (7,962,080B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->03.74% (7,962,080B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->03.74% (7,962,080B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->03.74% (7,962,080B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->03.74% (7,962,080B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->03.74% (7,962,080B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.54% (1,146,397B) 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 162,160,339,710 216,813,608 214,347,026 2,466,582 0 36 167,215,766,056 221,610,248 219,080,420 2,529,828 0 98.86% (219,080,420B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->70.72% (156,730,022B) 0x79D850: my_malloc (my_malloc.c:38) | ->56.28% (124,726,544B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->56.06% (124,236,480B) 0x7318F4: 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.06% (124,236,480B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->56.06% (124,236,480B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->56.06% (124,236,480B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->56.06% (124,236,480B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->56.06% (124,236,480B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->56.06% (124,236,480B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->56.06% (124,236,480B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->56.06% (124,236,480B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->56.06% (124,236,480B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->56.06% (124,236,480B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->56.06% (124,236,480B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->56.06% (124,236,480B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->56.06% (124,236,480B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->56.06% (124,236,480B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->56.06% (124,236,480B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->56.06% (124,236,480B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->56.06% (124,236,480B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->56.06% (124,236,480B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->56.06% (124,236,480B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->56.06% (124,236,480B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->56.06% (124,236,480B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->56.06% (124,236,480B) 0x5B0CA1: 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.06% (124,236,480B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->56.06% (124,236,480B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->56.06% (124,236,480B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->56.06% (124,236,480B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->56.06% (124,236,480B) 0x57DF3F: 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.23% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->09.23% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->09.23% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->09.23% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->09.23% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->09.23% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->09.23% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.12% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->02.12% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->02.12% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->02.12% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->02.12% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->02.12% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.79% (3,976,616B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.77% (3,912,960B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.77% (3,912,960B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.77% (3,912,960B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.77% (3,912,960B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.77% (3,912,960B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.77% (3,912,960B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.77% (3,912,960B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.77% (3,912,960B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.77% (3,912,960B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.77% (3,912,960B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.77% (3,912,960B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.77% (3,912,960B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.77% (3,912,960B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.77% (3,912,960B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.77% (3,912,960B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.77% (3,912,960B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.77% (3,912,960B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.77% (3,912,960B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.77% (3,912,960B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.77% (3,912,960B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.77% (3,912,960B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.77% (3,912,960B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.77% (3,912,960B) 0x5B0CA1: 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.77% (3,912,960B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.77% (3,912,960B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.77% (3,912,960B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.77% (3,912,960B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.77% (3,912,960B) 0x57DF3F: 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.10% (2,445,520B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.10% (2,445,520B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.10% (2,445,520B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.10% (2,445,520B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.10% (2,445,520B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.10% (2,445,520B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.10% (2,445,520B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.10% (2,445,520B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.10% (2,445,520B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.10% (2,445,520B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.10% (2,445,520B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.10% (2,445,520B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.10% (2,445,520B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.10% (2,445,520B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.10% (2,445,520B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.10% (2,445,520B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.10% (2,445,520B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.10% (2,445,520B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.10% (2,445,520B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.10% (2,445,520B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.10% (2,445,520B) 0x5B0CA1: 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.10% (2,445,520B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.10% (2,445,520B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.10% (2,445,520B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.10% (2,445,520B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.10% (2,445,520B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.10% (2,445,520B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.10% (2,445,520B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.10% (2,445,520B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.19% (415,758B) in 1+ places, all below ms_print's threshold (01.00%) | ->17.03% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->15.14% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->15.14% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->15.14% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->15.14% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->15.14% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->15.14% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->15.14% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->15.14% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->15.14% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.89% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->06.73% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->03.55% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->03.55% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.61% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.61% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.58% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->03.86% (8,559,600B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->03.86% (8,559,600B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->03.86% (8,559,600B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->03.86% (8,559,600B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->03.86% (8,559,600B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->03.86% (8,559,600B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->03.86% (8,559,600B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->03.86% (8,559,600B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->03.86% (8,559,600B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->03.86% (8,559,600B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->03.86% (8,559,600B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->03.86% (8,559,600B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->03.86% (8,559,600B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->03.86% (8,559,600B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->03.86% (8,559,600B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.86% (8,559,600B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.86% (8,559,600B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.86% (8,559,600B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.86% (8,559,600B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.86% (8,559,600B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->03.86% (8,559,600B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->03.86% (8,559,600B) 0x5B0CA1: 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.86% (8,559,600B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->03.86% (8,559,600B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->03.86% (8,559,600B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->03.86% (8,559,600B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->03.86% (8,559,600B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->03.86% (8,559,600B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->03.86% (8,559,600B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->03.86% (8,559,600B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.51% (1,130,013B) 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 170,988,133,787 223,826,872 221,268,595 2,558,277 0 98.86% (221,268,595B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->70.94% (158,786,597B) 0x79D850: my_malloc (my_malloc.c:38) | ->56.58% (126,636,696B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->56.36% (126,146,560B) 0x7318F4: 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.36% (126,146,560B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->56.36% (126,146,560B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->56.36% (126,146,560B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->56.36% (126,146,560B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->56.36% (126,146,560B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->56.36% (126,146,560B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->56.36% (126,146,560B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->56.36% (126,146,560B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->56.36% (126,146,560B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->56.36% (126,146,560B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->56.36% (126,146,560B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->56.36% (126,146,560B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->56.36% (126,146,560B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->56.36% (126,146,560B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->56.36% (126,146,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->56.36% (126,146,560B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->56.36% (126,146,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->56.36% (126,146,560B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->56.36% (126,146,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->56.36% (126,146,560B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->56.36% (126,146,560B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->56.36% (126,146,560B) 0x5B0CA1: 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.36% (126,146,560B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->56.36% (126,146,560B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->56.36% (126,146,560B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->56.36% (126,146,560B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->56.36% (126,146,560B) 0x57DF3F: 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,136B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->09.14% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->09.14% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->09.14% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->09.14% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->09.14% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->09.14% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->09.14% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.10% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->02.10% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->02.10% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->02.10% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->02.10% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->02.10% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.80% (4,037,544B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.78% (3,973,120B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.78% (3,973,120B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.78% (3,973,120B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.78% (3,973,120B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.78% (3,973,120B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.78% (3,973,120B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.78% (3,973,120B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.78% (3,973,120B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.78% (3,973,120B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.78% (3,973,120B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.78% (3,973,120B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.78% (3,973,120B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.78% (3,973,120B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.78% (3,973,120B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.78% (3,973,120B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.78% (3,973,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.78% (3,973,120B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.78% (3,973,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.78% (3,973,120B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.78% (3,973,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.78% (3,973,120B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.78% (3,973,120B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.78% (3,973,120B) 0x5B0CA1: 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.78% (3,973,120B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.78% (3,973,120B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.78% (3,973,120B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.78% (3,973,120B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.78% (3,973,120B) 0x57DF3F: 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.11% (2,483,120B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.11% (2,483,120B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.11% (2,483,120B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.11% (2,483,120B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.11% (2,483,120B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.11% (2,483,120B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.11% (2,483,120B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.11% (2,483,120B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.11% (2,483,120B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.11% (2,483,120B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.11% (2,483,120B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.11% (2,483,120B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.11% (2,483,120B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.11% (2,483,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.11% (2,483,120B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.11% (2,483,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.11% (2,483,120B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.11% (2,483,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.11% (2,483,120B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.11% (2,483,120B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.11% (2,483,120B) 0x5B0CA1: 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.11% (2,483,120B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.11% (2,483,120B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.11% (2,483,120B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.11% (2,483,120B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.11% (2,483,120B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.11% (2,483,120B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.11% (2,483,120B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.11% (2,483,120B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.21% (463,653B) in 1+ places, all below ms_print's threshold (01.00%) | ->16.86% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->14.99% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->14.99% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->14.99% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->14.99% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->14.99% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->14.99% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->14.99% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->14.99% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->14.99% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.87% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->06.67% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->03.51% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->03.51% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.59% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.59% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.56% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->03.88% (8,691,200B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->03.88% (8,691,200B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->03.88% (8,691,200B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->03.88% (8,691,200B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->03.88% (8,691,200B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->03.88% (8,691,200B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->03.88% (8,691,200B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->03.88% (8,691,200B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->03.88% (8,691,200B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->03.88% (8,691,200B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->03.88% (8,691,200B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->03.88% (8,691,200B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->03.88% (8,691,200B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->03.88% (8,691,200B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->03.88% (8,691,200B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.88% (8,691,200B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.88% (8,691,200B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.88% (8,691,200B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->03.88% (8,691,200B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->03.88% (8,691,200B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->03.88% (8,691,200B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->03.88% (8,691,200B) 0x5B0CA1: 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.88% (8,691,200B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->03.88% (8,691,200B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->03.88% (8,691,200B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->03.88% (8,691,200B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->03.88% (8,691,200B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->03.88% (8,691,200B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->03.88% (8,691,200B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->03.88% (8,691,200B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.50% (1,130,013B) 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 175,285,819,945 228,008,160 225,395,326 2,612,834 0 39 179,934,518,511 232,269,640 229,600,304 2,669,336 0 40 183,049,786,471 233,862,368 231,172,124 2,690,244 0 41 186,920,228,945 237,629,128 234,889,740 2,739,388 0 98.85% (234,889,740B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->72.20% (171,567,742B) 0x79D850: my_malloc (my_malloc.c:38) | ->58.42% (138,828,624B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->58.22% (138,338,560B) 0x7318F4: 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.22% (138,338,560B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->58.22% (138,338,560B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->58.22% (138,338,560B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->58.22% (138,338,560B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->58.22% (138,338,560B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->58.22% (138,338,560B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->58.22% (138,338,560B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->58.22% (138,338,560B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->58.22% (138,338,560B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->58.22% (138,338,560B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->58.22% (138,338,560B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->58.22% (138,338,560B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->58.22% (138,338,560B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->58.22% (138,338,560B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->58.22% (138,338,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->58.22% (138,338,560B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->58.22% (138,338,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->58.22% (138,338,560B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->58.22% (138,338,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->58.22% (138,338,560B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->58.22% (138,338,560B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->58.22% (138,338,560B) 0x5B0CA1: 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.22% (138,338,560B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->58.22% (138,338,560B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->58.22% (138,338,560B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->58.22% (138,338,560B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->58.22% (138,338,560B) 0x57DF3F: 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.61% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->08.61% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->08.61% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->08.61% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->08.61% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->08.61% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->08.61% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.98% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.98% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.98% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.98% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.98% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.98% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.86% (4,420,776B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.83% (4,357,120B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.83% (4,357,120B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.83% (4,357,120B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.83% (4,357,120B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.83% (4,357,120B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.83% (4,357,120B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.83% (4,357,120B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.83% (4,357,120B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.83% (4,357,120B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.83% (4,357,120B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.83% (4,357,120B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.83% (4,357,120B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.83% (4,357,120B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.83% (4,357,120B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.83% (4,357,120B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.83% (4,357,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.83% (4,357,120B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.83% (4,357,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.83% (4,357,120B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.83% (4,357,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.83% (4,357,120B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.83% (4,357,120B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.83% (4,357,120B) 0x5B0CA1: 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.83% (4,357,120B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.83% (4,357,120B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.83% (4,357,120B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.83% (4,357,120B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.83% (4,357,120B) 0x57DF3F: 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.15% (2,723,120B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.15% (2,723,120B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.15% (2,723,120B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.15% (2,723,120B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.15% (2,723,120B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.15% (2,723,120B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.15% (2,723,120B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.15% (2,723,120B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.15% (2,723,120B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.15% (2,723,120B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.15% (2,723,120B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.15% (2,723,120B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.15% (2,723,120B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.15% (2,723,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.15% (2,723,120B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.15% (2,723,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.15% (2,723,120B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.15% (2,723,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.15% (2,723,120B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.15% (2,723,120B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.15% (2,723,120B) 0x5B0CA1: 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,723,120B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.15% (2,723,120B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.15% (2,723,120B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.15% (2,723,120B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.15% (2,723,120B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.15% (2,723,120B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.15% (2,723,120B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.15% (2,723,120B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.18% (429,638B) in 1+ places, all below ms_print's threshold (01.00%) | ->15.88% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->14.12% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->14.12% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->14.12% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->14.12% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->14.12% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->14.12% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->14.12% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->14.12% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->14.12% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.76% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->06.28% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->03.31% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->03.31% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.50% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.50% (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.01% (9,531,200B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.01% (9,531,200B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.01% (9,531,200B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.01% (9,531,200B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.01% (9,531,200B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.01% (9,531,200B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.01% (9,531,200B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.01% (9,531,200B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.01% (9,531,200B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.01% (9,531,200B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.01% (9,531,200B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.01% (9,531,200B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.01% (9,531,200B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.01% (9,531,200B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.01% (9,531,200B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.01% (9,531,200B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.01% (9,531,200B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.01% (9,531,200B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.01% (9,531,200B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.01% (9,531,200B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.01% (9,531,200B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.01% (9,531,200B) 0x5B0CA1: 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.01% (9,531,200B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.01% (9,531,200B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.01% (9,531,200B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.01% (9,531,200B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.01% (9,531,200B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.01% (9,531,200B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.01% (9,531,200B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.01% (9,531,200B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.48% (1,130,013B) 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 192,019,928,363 242,411,608 239,609,756 2,801,852 0 98.84% (239,609,756B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->72.60% (175,997,678B) 0x79D850: my_malloc (my_malloc.c:38) | ->59.01% (143,038,928B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->58.80% (142,548,864B) 0x7318F4: 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.80% (142,548,864B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->58.80% (142,548,864B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->58.80% (142,548,864B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->58.80% (142,548,864B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->58.80% (142,548,864B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->58.80% (142,548,864B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->58.80% (142,548,864B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->58.80% (142,548,864B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->58.80% (142,548,864B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->58.80% (142,548,864B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->58.80% (142,548,864B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->58.80% (142,548,864B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->58.80% (142,548,864B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->58.80% (142,548,864B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->58.80% (142,548,864B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->58.80% (142,548,864B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->58.80% (142,548,864B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->58.80% (142,548,864B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->58.80% (142,548,864B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->58.80% (142,548,864B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->58.80% (142,548,864B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->58.80% (142,548,864B) 0x5B0CA1: 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.80% (142,548,864B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->58.80% (142,548,864B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->58.80% (142,548,864B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->58.80% (142,548,864B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->58.80% (142,548,864B) 0x57DF3F: 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.44% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->08.44% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->08.44% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->08.44% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->08.44% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->08.44% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->08.44% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.94% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.94% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.94% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.94% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.94% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.94% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.88% (4,553,384B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.85% (4,489,728B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.85% (4,489,728B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.85% (4,489,728B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.85% (4,489,728B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.85% (4,489,728B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.85% (4,489,728B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.85% (4,489,728B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.85% (4,489,728B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.85% (4,489,728B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.85% (4,489,728B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.85% (4,489,728B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.85% (4,489,728B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.85% (4,489,728B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.85% (4,489,728B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.85% (4,489,728B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.85% (4,489,728B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.85% (4,489,728B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.85% (4,489,728B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.85% (4,489,728B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.85% (4,489,728B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.85% (4,489,728B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.85% (4,489,728B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.85% (4,489,728B) 0x5B0CA1: 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.85% (4,489,728B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.85% (4,489,728B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.85% (4,489,728B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.85% (4,489,728B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.85% (4,489,728B) 0x57DF3F: 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.16% (2,806,000B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.16% (2,806,000B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.16% (2,806,000B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.16% (2,806,000B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.16% (2,806,000B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.16% (2,806,000B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.16% (2,806,000B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.16% (2,806,000B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.16% (2,806,000B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.16% (2,806,000B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.16% (2,806,000B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.16% (2,806,000B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.16% (2,806,000B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.16% (2,806,000B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.16% (2,806,000B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.16% (2,806,000B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.16% (2,806,000B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.16% (2,806,000B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.16% (2,806,000B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.16% (2,806,000B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.16% (2,806,000B) 0x5B0CA1: 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,806,000B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.16% (2,806,000B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.16% (2,806,000B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.16% (2,806,000B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.16% (2,806,000B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.16% (2,806,000B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.16% (2,806,000B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.16% (2,806,000B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.18% (433,782B) in 1+ places, all below ms_print's threshold (01.00%) | ->15.57% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->13.84% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->13.84% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->13.84% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->13.84% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->13.84% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->13.84% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->13.84% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->13.84% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->13.84% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.73% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->06.15% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->03.24% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->03.24% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.47% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.47% (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.05% (9,821,280B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.05% (9,821,280B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.05% (9,821,280B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.05% (9,821,280B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.05% (9,821,280B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.05% (9,821,280B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.05% (9,821,280B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.05% (9,821,280B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.05% (9,821,280B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.05% (9,821,280B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.05% (9,821,280B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.05% (9,821,280B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.05% (9,821,280B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.05% (9,821,280B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.05% (9,821,280B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.05% (9,821,280B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.05% (9,821,280B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.05% (9,821,280B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.05% (9,821,280B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.05% (9,821,280B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.05% (9,821,280B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.05% (9,821,280B) 0x5B0CA1: 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.05% (9,821,280B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.05% (9,821,280B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.05% (9,821,280B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.05% (9,821,280B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.05% (9,821,280B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.05% (9,821,280B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.05% (9,821,280B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.05% (9,821,280B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.47% (1,130,013B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 43 198,578,372,239 247,291,408 244,425,448 2,865,960 0 98.84% (244,425,448B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->73.00% (180,517,410B) 0x79D850: my_malloc (my_malloc.c:38) | ->59.58% (147,334,576B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->59.38% (146,844,512B) 0x7318F4: 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.38% (146,844,512B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->59.38% (146,844,512B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->59.38% (146,844,512B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->59.38% (146,844,512B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->59.38% (146,844,512B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->59.38% (146,844,512B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->59.38% (146,844,512B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->59.38% (146,844,512B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->59.38% (146,844,512B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->59.38% (146,844,512B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->59.38% (146,844,512B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->59.38% (146,844,512B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->59.38% (146,844,512B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->59.38% (146,844,512B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->59.38% (146,844,512B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->59.38% (146,844,512B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->59.38% (146,844,512B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->59.38% (146,844,512B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->59.38% (146,844,512B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->59.38% (146,844,512B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->59.38% (146,844,512B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->59.38% (146,844,512B) 0x5B0CA1: 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.38% (146,844,512B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->59.38% (146,844,512B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->59.38% (146,844,512B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->59.38% (146,844,512B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->59.38% (146,844,512B) 0x57DF3F: 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.27% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->08.27% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->08.27% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->08.27% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->08.27% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->08.27% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->08.27% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.90% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.90% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.90% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.90% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.90% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.90% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.90% (4,688,680B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.87% (4,625,024B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.87% (4,625,024B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.87% (4,625,024B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.87% (4,625,024B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.87% (4,625,024B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.87% (4,625,024B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.87% (4,625,024B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.87% (4,625,024B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.87% (4,625,024B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.87% (4,625,024B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.87% (4,625,024B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.87% (4,625,024B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.87% (4,625,024B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.87% (4,625,024B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.87% (4,625,024B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.87% (4,625,024B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.87% (4,625,024B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.87% (4,625,024B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.87% (4,625,024B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.87% (4,625,024B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.87% (4,625,024B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.87% (4,625,024B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.87% (4,625,024B) 0x5B0CA1: 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,625,024B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.87% (4,625,024B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.87% (4,625,024B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.87% (4,625,024B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.87% (4,625,024B) 0x57DF3F: 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.17% (2,890,560B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.17% (2,890,560B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.17% (2,890,560B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.17% (2,890,560B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.17% (2,890,560B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.17% (2,890,560B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.17% (2,890,560B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.17% (2,890,560B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.17% (2,890,560B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.17% (2,890,560B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.17% (2,890,560B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.17% (2,890,560B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.17% (2,890,560B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.17% (2,890,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.17% (2,890,560B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.17% (2,890,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.17% (2,890,560B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.17% (2,890,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.17% (2,890,560B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.17% (2,890,560B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.17% (2,890,560B) 0x5B0CA1: 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,890,560B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.17% (2,890,560B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.17% (2,890,560B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.17% (2,890,560B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.17% (2,890,560B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.17% (2,890,560B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.17% (2,890,560B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.17% (2,890,560B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.18% (438,010B) in 1+ places, all below ms_print's threshold (01.00%) | ->15.26% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->13.57% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->13.57% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->13.57% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->13.57% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->13.57% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->13.57% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->13.57% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->13.57% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->13.57% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.69% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->06.03% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->03.18% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->03.18% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.44% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.44% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.41% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.09% (10,117,240B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.09% (10,117,240B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.09% (10,117,240B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.09% (10,117,240B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.09% (10,117,240B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.09% (10,117,240B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.09% (10,117,240B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.09% (10,117,240B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.09% (10,117,240B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.09% (10,117,240B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.09% (10,117,240B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.09% (10,117,240B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.09% (10,117,240B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.09% (10,117,240B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.09% (10,117,240B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.09% (10,117,240B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.09% (10,117,240B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.09% (10,117,240B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.09% (10,117,240B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.09% (10,117,240B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.09% (10,117,240B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.09% (10,117,240B) 0x5B0CA1: 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,117,240B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.09% (10,117,240B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.09% (10,117,240B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.09% (10,117,240B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.09% (10,117,240B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.09% (10,117,240B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.09% (10,117,240B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.09% (10,117,240B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.46% (1,130,013B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 44 203,747,545,840 252,292,392 249,361,235 2,931,157 0 98.84% (249,361,235B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->73.39% (185,152,493B) 0x79D850: my_malloc (my_malloc.c:38) | ->60.13% (151,695,320B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->59.93% (151,205,184B) 0x7318F4: 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.93% (151,205,184B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->59.93% (151,205,184B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->59.93% (151,205,184B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->59.93% (151,205,184B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->59.93% (151,205,184B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->59.93% (151,205,184B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->59.93% (151,205,184B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->59.93% (151,205,184B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->59.93% (151,205,184B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->59.93% (151,205,184B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->59.93% (151,205,184B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->59.93% (151,205,184B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->59.93% (151,205,184B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->59.93% (151,205,184B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->59.93% (151,205,184B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->59.93% (151,205,184B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->59.93% (151,205,184B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->59.93% (151,205,184B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->59.93% (151,205,184B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->59.93% (151,205,184B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->59.93% (151,205,184B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->59.93% (151,205,184B) 0x5B0CA1: 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.93% (151,205,184B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->59.93% (151,205,184B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->59.93% (151,205,184B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->59.93% (151,205,184B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->59.93% (151,205,184B) 0x57DF3F: 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,136B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->08.11% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->08.11% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->08.11% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->08.11% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->08.11% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->08.11% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->08.11% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.91% (4,826,792B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.89% (4,762,368B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.89% (4,762,368B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.89% (4,762,368B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.89% (4,762,368B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.89% (4,762,368B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.89% (4,762,368B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.89% (4,762,368B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.89% (4,762,368B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.89% (4,762,368B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.89% (4,762,368B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.89% (4,762,368B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.89% (4,762,368B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.89% (4,762,368B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.89% (4,762,368B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.89% (4,762,368B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.89% (4,762,368B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.89% (4,762,368B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.89% (4,762,368B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.89% (4,762,368B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.89% (4,762,368B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.89% (4,762,368B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.89% (4,762,368B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.89% (4,762,368B) 0x5B0CA1: 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.89% (4,762,368B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.89% (4,762,368B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.89% (4,762,368B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.89% (4,762,368B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.89% (4,762,368B) 0x57DF3F: 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.87% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.87% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.87% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.87% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.87% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.87% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.18% (2,976,480B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.18% (2,976,480B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.18% (2,976,480B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.18% (2,976,480B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.18% (2,976,480B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.18% (2,976,480B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.18% (2,976,480B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.18% (2,976,480B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.18% (2,976,480B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.18% (2,976,480B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.18% (2,976,480B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.18% (2,976,480B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.18% (2,976,480B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.18% (2,976,480B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.18% (2,976,480B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.18% (2,976,480B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.18% (2,976,480B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.18% (2,976,480B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.18% (2,976,480B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.18% (2,976,480B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.18% (2,976,480B) 0x5B0CA1: 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.18% (2,976,480B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.18% (2,976,480B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.18% (2,976,480B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.18% (2,976,480B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.18% (2,976,480B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.18% (2,976,480B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.18% (2,976,480B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.18% (2,976,480B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.19% (488,317B) in 1+ places, all below ms_print's threshold (01.00%) | ->14.96% (37,742,984B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->13.30% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->13.30% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->13.30% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->13.30% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->13.30% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->13.30% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->13.30% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->13.30% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->13.30% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.66% (4,187,920B) in 75 places, all below massif's threshold (01.00%) | ->05.91% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->03.11% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->03.11% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.41% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.41% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.39% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.13% (10,417,680B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.13% (10,417,680B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.13% (10,417,680B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.13% (10,417,680B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.13% (10,417,680B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.13% (10,417,680B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.13% (10,417,680B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.13% (10,417,680B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.13% (10,417,680B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.13% (10,417,680B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.13% (10,417,680B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.13% (10,417,680B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.13% (10,417,680B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.13% (10,417,680B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.13% (10,417,680B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.13% (10,417,680B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.13% (10,417,680B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.13% (10,417,680B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.13% (10,417,680B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.13% (10,417,680B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.13% (10,417,680B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.13% (10,417,680B) 0x5B0CA1: 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.13% (10,417,680B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.13% (10,417,680B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.13% (10,417,680B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.13% (10,417,680B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.13% (10,417,680B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.13% (10,417,680B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.13% (10,417,680B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.13% (10,417,680B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.45% (1,130,013B) 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 207,511,262,204 254,429,240 251,469,576 2,959,664 0 46 212,512,310,431 259,216,432 256,194,148 3,022,284 0 47 216,021,328,823 262,540,568 259,474,732 3,065,836 0 98.83% (259,474,732B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->74.14% (194,641,118B) 0x79D850: my_malloc (my_malloc.c:38) | ->61.23% (160,757,968B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->61.05% (160,267,904B) 0x7318F4: 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.05% (160,267,904B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->61.05% (160,267,904B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->61.05% (160,267,904B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->61.05% (160,267,904B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->61.05% (160,267,904B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->61.05% (160,267,904B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->61.05% (160,267,904B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->61.05% (160,267,904B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->61.05% (160,267,904B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->61.05% (160,267,904B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->61.05% (160,267,904B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->61.05% (160,267,904B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->61.05% (160,267,904B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->61.05% (160,267,904B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->61.05% (160,267,904B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->61.05% (160,267,904B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->61.05% (160,267,904B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->61.05% (160,267,904B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->61.05% (160,267,904B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->61.05% (160,267,904B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->61.05% (160,267,904B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->61.05% (160,267,904B) 0x5B0CA1: 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.05% (160,267,904B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->61.05% (160,267,904B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->61.05% (160,267,904B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->61.05% (160,267,904B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->61.05% (160,267,904B) 0x57DF3F: 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.79% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->07.79% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->07.79% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->07.79% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->07.79% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->07.79% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->07.79% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.95% (5,111,464B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.92% (5,047,808B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.92% (5,047,808B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.92% (5,047,808B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.92% (5,047,808B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.92% (5,047,808B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.92% (5,047,808B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.92% (5,047,808B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.92% (5,047,808B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.92% (5,047,808B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.92% (5,047,808B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.92% (5,047,808B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.92% (5,047,808B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.92% (5,047,808B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.92% (5,047,808B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.92% (5,047,808B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.92% (5,047,808B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.92% (5,047,808B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.92% (5,047,808B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.92% (5,047,808B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.92% (5,047,808B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.92% (5,047,808B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.92% (5,047,808B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.92% (5,047,808B) 0x5B0CA1: 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.92% (5,047,808B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.92% (5,047,808B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.92% (5,047,808B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.92% (5,047,808B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.92% (5,047,808B) 0x57DF3F: 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.79% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.79% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.79% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.79% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.79% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.79% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.20% (3,154,880B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.20% (3,154,880B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.20% (3,154,880B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.20% (3,154,880B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.20% (3,154,880B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.20% (3,154,880B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.20% (3,154,880B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.20% (3,154,880B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.20% (3,154,880B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.20% (3,154,880B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.20% (3,154,880B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.20% (3,154,880B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.20% (3,154,880B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.20% (3,154,880B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.20% (3,154,880B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.20% (3,154,880B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.20% (3,154,880B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.20% (3,154,880B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.20% (3,154,880B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.20% (3,154,880B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.20% (3,154,880B) 0x5B0CA1: 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,154,880B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.20% (3,154,880B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.20% (3,154,880B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.20% (3,154,880B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.20% (3,154,880B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.20% (3,154,880B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.20% (3,154,880B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.20% (3,154,880B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.17% (451,222B) in 1+ places, all below ms_print's threshold (01.00%) | ->14.38% (37,742,984B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->12.78% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->12.78% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->12.78% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->12.78% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->12.78% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->12.78% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->12.78% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->12.78% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->12.78% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.60% (4,187,920B) in 75 places, all below massif's threshold (01.00%) | ->05.68% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->02.99% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->02.99% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.36% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.36% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.33% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.21% (11,042,080B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.21% (11,042,080B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.21% (11,042,080B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.21% (11,042,080B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.21% (11,042,080B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.21% (11,042,080B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.21% (11,042,080B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.21% (11,042,080B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.21% (11,042,080B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.21% (11,042,080B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.21% (11,042,080B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.21% (11,042,080B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.21% (11,042,080B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.21% (11,042,080B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.21% (11,042,080B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.21% (11,042,080B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.21% (11,042,080B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.21% (11,042,080B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.21% (11,042,080B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.21% (11,042,080B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.21% (11,042,080B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.21% (11,042,080B) 0x5B0CA1: 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.21% (11,042,080B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.21% (11,042,080B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.21% (11,042,080B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.21% (11,042,080B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.21% (11,042,080B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.21% (11,042,080B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.21% (11,042,080B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.21% (11,042,080B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.43% (1,130,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) -------------------------------------------------------------------------------- 48 219,998,305,466 264,982,504 261,884,592 3,097,912 0 49 223,589,265,402 268,463,952 265,321,031 3,142,921 0 98.83% (265,321,031B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->74.55% (200,131,241B) 0x79D850: my_malloc (my_malloc.c:38) | ->61.81% (165,931,512B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->61.63% (165,441,376B) 0x7318F4: 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.63% (165,441,376B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->61.63% (165,441,376B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->61.63% (165,441,376B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->61.63% (165,441,376B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->61.63% (165,441,376B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->61.63% (165,441,376B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->61.63% (165,441,376B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->61.63% (165,441,376B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->61.63% (165,441,376B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->61.63% (165,441,376B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->61.63% (165,441,376B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->61.63% (165,441,376B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->61.63% (165,441,376B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->61.63% (165,441,376B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->61.63% (165,441,376B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->61.63% (165,441,376B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->61.63% (165,441,376B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->61.63% (165,441,376B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->61.63% (165,441,376B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->61.63% (165,441,376B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->61.63% (165,441,376B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->61.63% (165,441,376B) 0x5B0CA1: 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.63% (165,441,376B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->61.63% (165,441,376B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->61.63% (165,441,376B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->61.63% (165,441,376B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->61.63% (165,441,376B) 0x57DF3F: 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.62% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->07.62% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->07.62% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->07.62% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->07.62% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->07.62% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->07.62% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.96% (5,275,176B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.94% (5,210,752B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.94% (5,210,752B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.94% (5,210,752B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.94% (5,210,752B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.94% (5,210,752B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.94% (5,210,752B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.94% (5,210,752B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.94% (5,210,752B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.94% (5,210,752B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.94% (5,210,752B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.94% (5,210,752B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.94% (5,210,752B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.94% (5,210,752B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.94% (5,210,752B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.94% (5,210,752B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.94% (5,210,752B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.94% (5,210,752B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.94% (5,210,752B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.94% (5,210,752B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.94% (5,210,752B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.94% (5,210,752B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.94% (5,210,752B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.94% (5,210,752B) 0x5B0CA1: 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,210,752B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.94% (5,210,752B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.94% (5,210,752B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.94% (5,210,752B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.94% (5,210,752B) 0x57DF3F: 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.75% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.75% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.75% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.75% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.75% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.75% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.21% (3,256,640B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.21% (3,256,640B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.21% (3,256,640B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.21% (3,256,640B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.21% (3,256,640B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.21% (3,256,640B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.21% (3,256,640B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.21% (3,256,640B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.21% (3,256,640B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.21% (3,256,640B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.21% (3,256,640B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.21% (3,256,640B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.21% (3,256,640B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.21% (3,256,640B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.21% (3,256,640B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.21% (3,256,640B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.21% (3,256,640B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.21% (3,256,640B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.21% (3,256,640B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.21% (3,256,640B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.21% (3,256,640B) 0x5B0CA1: 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,256,640B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.21% (3,256,640B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.21% (3,256,640B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.21% (3,256,640B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.21% (3,256,640B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.21% (3,256,640B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.21% (3,256,640B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.21% (3,256,640B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.19% (502,329B) in 1+ places, all below ms_print's threshold (01.00%) | ->14.06% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->12.50% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->12.50% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->12.50% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->12.50% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->12.50% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->12.50% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->12.50% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->12.50% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->12.50% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.56% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->05.56% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->02.93% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->02.93% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.33% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.33% (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,398,520B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.25% (11,398,520B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.25% (11,398,520B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.25% (11,398,520B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.25% (11,398,520B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.25% (11,398,520B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.25% (11,398,520B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.25% (11,398,520B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.25% (11,398,520B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.25% (11,398,520B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.25% (11,398,520B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.25% (11,398,520B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.25% (11,398,520B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.25% (11,398,520B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.25% (11,398,520B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.25% (11,398,520B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.25% (11,398,520B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.25% (11,398,520B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.25% (11,398,520B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.25% (11,398,520B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.25% (11,398,520B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.25% (11,398,520B) 0x5B0CA1: 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,398,520B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.25% (11,398,520B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.25% (11,398,520B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.25% (11,398,520B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.25% (11,398,520B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.25% (11,398,520B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.25% (11,398,520B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.25% (11,398,520B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.42% (1,130,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) -------------------------------------------------------------------------------- 50 225,783,511,408 270,300,536 267,133,104 3,167,432 0 51 226,460,405,742 271,150,656 267,972,623 3,178,033 0 98.83% (267,972,623B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->74.73% (202,619,873B) 0x79D850: my_malloc (my_malloc.c:38) | ->62.07% (168,296,760B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->61.89% (167,806,624B) 0x7318F4: 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.89% (167,806,624B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->61.89% (167,806,624B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->61.89% (167,806,624B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->61.89% (167,806,624B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->61.89% (167,806,624B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->61.89% (167,806,624B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->61.89% (167,806,624B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->61.89% (167,806,624B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->61.89% (167,806,624B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->61.89% (167,806,624B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->61.89% (167,806,624B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->61.89% (167,806,624B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->61.89% (167,806,624B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->61.89% (167,806,624B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->61.89% (167,806,624B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->61.89% (167,806,624B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->61.89% (167,806,624B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->61.89% (167,806,624B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->61.89% (167,806,624B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->61.89% (167,806,624B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->61.89% (167,806,624B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->61.89% (167,806,624B) 0x5B0CA1: 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.89% (167,806,624B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->61.89% (167,806,624B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->61.89% (167,806,624B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->61.89% (167,806,624B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->61.89% (167,806,624B) 0x57DF3F: 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.55% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->07.55% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->07.55% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->07.55% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->07.55% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->07.55% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->07.55% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.97% (5,349,672B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.95% (5,285,248B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.95% (5,285,248B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.95% (5,285,248B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.95% (5,285,248B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.95% (5,285,248B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.95% (5,285,248B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.95% (5,285,248B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.95% (5,285,248B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.95% (5,285,248B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.95% (5,285,248B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.95% (5,285,248B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.95% (5,285,248B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.95% (5,285,248B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.95% (5,285,248B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.95% (5,285,248B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.95% (5,285,248B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.95% (5,285,248B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.95% (5,285,248B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.95% (5,285,248B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.95% (5,285,248B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.95% (5,285,248B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.95% (5,285,248B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.95% (5,285,248B) 0x5B0CA1: 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.95% (5,285,248B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.95% (5,285,248B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.95% (5,285,248B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.95% (5,285,248B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.95% (5,285,248B) 0x57DF3F: 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.74% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.74% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.74% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.74% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.74% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.74% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.22% (3,303,200B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.22% (3,303,200B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.22% (3,303,200B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.22% (3,303,200B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.22% (3,303,200B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.22% (3,303,200B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.22% (3,303,200B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.22% (3,303,200B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.22% (3,303,200B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.22% (3,303,200B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.22% (3,303,200B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.22% (3,303,200B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.22% (3,303,200B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.22% (3,303,200B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.22% (3,303,200B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.22% (3,303,200B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.22% (3,303,200B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.22% (3,303,200B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.22% (3,303,200B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.22% (3,303,200B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.22% (3,303,200B) 0x5B0CA1: 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.22% (3,303,200B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.22% (3,303,200B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.22% (3,303,200B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.22% (3,303,200B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.22% (3,303,200B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.22% (3,303,200B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.22% (3,303,200B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.22% (3,303,200B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.19% (504,657B) in 1+ places, all below ms_print's threshold (01.00%) | ->13.92% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->12.38% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->12.38% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->12.38% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->12.38% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->12.38% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->12.38% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->12.38% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->12.38% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->12.38% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.54% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->05.50% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->02.90% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->02.90% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.31% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.31% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.29% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.26% (11,561,480B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.26% (11,561,480B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.26% (11,561,480B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.26% (11,561,480B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.26% (11,561,480B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.26% (11,561,480B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.26% (11,561,480B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.26% (11,561,480B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.26% (11,561,480B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.26% (11,561,480B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.26% (11,561,480B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.26% (11,561,480B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.26% (11,561,480B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.26% (11,561,480B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.26% (11,561,480B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.26% (11,561,480B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.26% (11,561,480B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.26% (11,561,480B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.26% (11,561,480B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.26% (11,561,480B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.26% (11,561,480B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.26% (11,561,480B) 0x5B0CA1: 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.26% (11,561,480B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.26% (11,561,480B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.26% (11,561,480B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.26% (11,561,480B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.26% (11,561,480B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.26% (11,561,480B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.26% (11,561,480B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.26% (11,561,480B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.42% (1,130,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) -------------------------------------------------------------------------------- 52 228,657,636,781 273,121,168 269,916,820 3,204,348 0 53 230,304,343,864 273,865,472 270,651,895 3,213,577 0 98.83% (270,651,895B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->74.90% (205,134,241B) 0x79D850: my_malloc (my_malloc.c:38) | ->62.32% (170,686,392B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->62.15% (170,196,256B) 0x7318F4: 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.15% (170,196,256B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->62.15% (170,196,256B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->62.15% (170,196,256B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->62.15% (170,196,256B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->62.15% (170,196,256B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->62.15% (170,196,256B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->62.15% (170,196,256B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->62.15% (170,196,256B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->62.15% (170,196,256B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->62.15% (170,196,256B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->62.15% (170,196,256B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->62.15% (170,196,256B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->62.15% (170,196,256B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->62.15% (170,196,256B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->62.15% (170,196,256B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->62.15% (170,196,256B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->62.15% (170,196,256B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->62.15% (170,196,256B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->62.15% (170,196,256B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->62.15% (170,196,256B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->62.15% (170,196,256B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->62.15% (170,196,256B) 0x5B0CA1: 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.15% (170,196,256B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->62.15% (170,196,256B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->62.15% (170,196,256B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->62.15% (170,196,256B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->62.15% (170,196,256B) 0x57DF3F: 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.47% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->07.47% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->07.47% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->07.47% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->07.47% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->07.47% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->07.47% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.98% (5,424,936B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.96% (5,360,512B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.96% (5,360,512B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.96% (5,360,512B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.96% (5,360,512B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.96% (5,360,512B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.96% (5,360,512B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.96% (5,360,512B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.96% (5,360,512B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.96% (5,360,512B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.96% (5,360,512B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.96% (5,360,512B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.96% (5,360,512B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.96% (5,360,512B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.96% (5,360,512B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.96% (5,360,512B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.96% (5,360,512B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.96% (5,360,512B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.96% (5,360,512B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.96% (5,360,512B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.96% (5,360,512B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.96% (5,360,512B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.96% (5,360,512B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.96% (5,360,512B) 0x5B0CA1: 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,360,512B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.96% (5,360,512B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.96% (5,360,512B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.96% (5,360,512B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.96% (5,360,512B) 0x57DF3F: 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.72% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.72% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.72% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.72% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.72% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.72% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.22% (3,350,320B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.22% (3,350,320B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.22% (3,350,320B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.22% (3,350,320B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.22% (3,350,320B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.22% (3,350,320B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.22% (3,350,320B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.22% (3,350,320B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.22% (3,350,320B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.22% (3,350,320B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.22% (3,350,320B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.22% (3,350,320B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.22% (3,350,320B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.22% (3,350,320B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.22% (3,350,320B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.22% (3,350,320B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.22% (3,350,320B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.22% (3,350,320B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.22% (3,350,320B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.22% (3,350,320B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.22% (3,350,320B) 0x5B0CA1: 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.22% (3,350,320B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.22% (3,350,320B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.22% (3,350,320B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.22% (3,350,320B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.22% (3,350,320B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.22% (3,350,320B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.22% (3,350,320B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.22% (3,350,320B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.19% (507,009B) in 1+ places, all below ms_print's threshold (01.00%) | ->13.78% (37,742,984B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->12.25% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->12.25% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->12.25% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->12.25% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->12.25% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->12.25% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->12.25% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->12.25% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->12.25% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.53% (4,187,920B) in 75 places, all below massif's threshold (01.00%) | ->05.45% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->02.87% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->02.87% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.30% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.30% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.28% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.28% (11,726,120B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.28% (11,726,120B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.28% (11,726,120B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.28% (11,726,120B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.28% (11,726,120B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.28% (11,726,120B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.28% (11,726,120B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.28% (11,726,120B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.28% (11,726,120B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.28% (11,726,120B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.28% (11,726,120B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.28% (11,726,120B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.28% (11,726,120B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.28% (11,726,120B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.28% (11,726,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.28% (11,726,120B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.28% (11,726,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.28% (11,726,120B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.28% (11,726,120B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.28% (11,726,120B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.28% (11,726,120B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.28% (11,726,120B) 0x5B0CA1: 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.28% (11,726,120B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.28% (11,726,120B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.28% (11,726,120B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.28% (11,726,120B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.28% (11,726,120B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.28% (11,726,120B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.28% (11,726,120B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.28% (11,726,120B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.41% (1,130,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) -------------------------------------------------------------------------------- 54 232,497,535,576 275,526,296 272,290,496 3,235,800 0 55 233,704,370,058 276,606,480 273,356,520 3,249,960 0 98.83% (273,356,520B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->75.08% (207,670,010B) 0x79D850: my_malloc (my_malloc.c:38) | ->62.59% (173,140,976B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->62.42% (172,650,912B) 0x7318F4: 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.42% (172,650,912B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->62.42% (172,650,912B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->62.42% (172,650,912B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->62.42% (172,650,912B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->62.42% (172,650,912B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->62.42% (172,650,912B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->62.42% (172,650,912B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->62.42% (172,650,912B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->62.42% (172,650,912B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->62.42% (172,650,912B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->62.42% (172,650,912B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->62.42% (172,650,912B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->62.42% (172,650,912B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->62.42% (172,650,912B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->62.42% (172,650,912B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->62.42% (172,650,912B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->62.42% (172,650,912B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->62.42% (172,650,912B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->62.42% (172,650,912B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->62.42% (172,650,912B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->62.42% (172,650,912B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->62.42% (172,650,912B) 0x5B0CA1: 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.42% (172,650,912B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->62.42% (172,650,912B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->62.42% (172,650,912B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->62.42% (172,650,912B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->62.42% (172,650,912B) 0x57DF3F: 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.40% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->07.40% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->07.40% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->07.40% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->07.40% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->07.40% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->07.40% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.99% (5,501,480B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.97% (5,437,824B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.97% (5,437,824B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.97% (5,437,824B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.97% (5,437,824B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.97% (5,437,824B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.97% (5,437,824B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.97% (5,437,824B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.97% (5,437,824B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.97% (5,437,824B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.97% (5,437,824B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.97% (5,437,824B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.97% (5,437,824B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.97% (5,437,824B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.97% (5,437,824B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.97% (5,437,824B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.97% (5,437,824B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.97% (5,437,824B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.97% (5,437,824B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.97% (5,437,824B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.97% (5,437,824B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.97% (5,437,824B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.97% (5,437,824B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.97% (5,437,824B) 0x5B0CA1: 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.97% (5,437,824B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.97% (5,437,824B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.97% (5,437,824B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.97% (5,437,824B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.97% (5,437,824B) 0x57DF3F: 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.70% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.70% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.70% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.70% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.70% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.70% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.23% (3,398,560B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.23% (3,398,560B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.23% (3,398,560B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.23% (3,398,560B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.23% (3,398,560B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.23% (3,398,560B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.23% (3,398,560B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.23% (3,398,560B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.23% (3,398,560B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.23% (3,398,560B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.23% (3,398,560B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.23% (3,398,560B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.23% (3,398,560B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.23% (3,398,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.23% (3,398,560B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.23% (3,398,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.23% (3,398,560B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.23% (3,398,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.23% (3,398,560B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.23% (3,398,560B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.23% (3,398,560B) 0x5B0CA1: 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,398,560B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.23% (3,398,560B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.23% (3,398,560B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.23% (3,398,560B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.23% (3,398,560B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.23% (3,398,560B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.23% (3,398,560B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.23% (3,398,560B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.17% (463,410B) in 1+ places, all below ms_print's threshold (01.00%) | ->13.64% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->12.13% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->12.13% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->12.13% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->12.13% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->12.13% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->12.13% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->12.13% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->12.13% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->12.13% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.51% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->05.39% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->02.84% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->02.84% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.29% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.29% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.26% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.30% (11,895,240B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.30% (11,895,240B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.30% (11,895,240B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.30% (11,895,240B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.30% (11,895,240B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.30% (11,895,240B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.30% (11,895,240B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.30% (11,895,240B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.30% (11,895,240B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.30% (11,895,240B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.30% (11,895,240B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.30% (11,895,240B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.30% (11,895,240B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.30% (11,895,240B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.30% (11,895,240B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.30% (11,895,240B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.30% (11,895,240B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.30% (11,895,240B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.30% (11,895,240B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.30% (11,895,240B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.30% (11,895,240B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.30% (11,895,240B) 0x5B0CA1: 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.30% (11,895,240B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.30% (11,895,240B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.30% (11,895,240B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.30% (11,895,240B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.30% (11,895,240B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.30% (11,895,240B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.30% (11,895,240B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.30% (11,895,240B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.41% (1,130,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) -------------------------------------------------------------------------------- 56 235,899,159,638 278,762,368 275,484,252 3,278,116 0 57 236,559,243,994 279,376,272 276,090,120 3,286,152 0 98.82% (276,090,120B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->75.25% (210,235,610B) 0x79D850: my_malloc (my_malloc.c:38) | ->62.85% (175,579,376B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->62.67% (175,089,312B) 0x7318F4: 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.67% (175,089,312B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->62.67% (175,089,312B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->62.67% (175,089,312B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->62.67% (175,089,312B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->62.67% (175,089,312B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->62.67% (175,089,312B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->62.67% (175,089,312B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->62.67% (175,089,312B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->62.67% (175,089,312B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->62.67% (175,089,312B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->62.67% (175,089,312B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->62.67% (175,089,312B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->62.67% (175,089,312B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->62.67% (175,089,312B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->62.67% (175,089,312B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->62.67% (175,089,312B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->62.67% (175,089,312B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->62.67% (175,089,312B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->62.67% (175,089,312B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->62.67% (175,089,312B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->62.67% (175,089,312B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->62.67% (175,089,312B) 0x5B0CA1: 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.67% (175,089,312B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->62.67% (175,089,312B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->62.67% (175,089,312B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->62.67% (175,089,312B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->62.67% (175,089,312B) 0x57DF3F: 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.32% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->07.32% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->07.32% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->07.32% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->07.32% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->07.32% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->07.32% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.00% (5,578,280B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.97% (5,514,624B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.97% (5,514,624B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.97% (5,514,624B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.97% (5,514,624B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.97% (5,514,624B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.97% (5,514,624B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.97% (5,514,624B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.97% (5,514,624B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.97% (5,514,624B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.97% (5,514,624B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.97% (5,514,624B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.97% (5,514,624B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.97% (5,514,624B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.97% (5,514,624B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.97% (5,514,624B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.97% (5,514,624B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.97% (5,514,624B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.97% (5,514,624B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.97% (5,514,624B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.97% (5,514,624B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.97% (5,514,624B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.97% (5,514,624B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.97% (5,514,624B) 0x5B0CA1: 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.97% (5,514,624B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.97% (5,514,624B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.97% (5,514,624B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.97% (5,514,624B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.97% (5,514,624B) 0x57DF3F: 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.68% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.68% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.68% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.68% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.68% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.68% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.23% (3,446,560B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.23% (3,446,560B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.23% (3,446,560B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.23% (3,446,560B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.23% (3,446,560B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.23% (3,446,560B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.23% (3,446,560B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.23% (3,446,560B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.23% (3,446,560B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.23% (3,446,560B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.23% (3,446,560B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.23% (3,446,560B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.23% (3,446,560B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.23% (3,446,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.23% (3,446,560B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.23% (3,446,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.23% (3,446,560B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.23% (3,446,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.23% (3,446,560B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.23% (3,446,560B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.23% (3,446,560B) 0x5B0CA1: 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,446,560B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.23% (3,446,560B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.23% (3,446,560B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.23% (3,446,560B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.23% (3,446,560B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.23% (3,446,560B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.23% (3,446,560B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.23% (3,446,560B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.17% (465,810B) in 1+ places, all below ms_print's threshold (01.00%) | ->13.51% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->12.01% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->12.01% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->12.01% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->12.01% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->12.01% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->12.01% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->12.01% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->12.01% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->12.01% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.50% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->05.34% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->02.81% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->02.81% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.28% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.28% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.25% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.32% (12,063,240B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.32% (12,063,240B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.32% (12,063,240B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.32% (12,063,240B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.32% (12,063,240B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.32% (12,063,240B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.32% (12,063,240B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.32% (12,063,240B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.32% (12,063,240B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.32% (12,063,240B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.32% (12,063,240B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.32% (12,063,240B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.32% (12,063,240B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.32% (12,063,240B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.32% (12,063,240B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.32% (12,063,240B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.32% (12,063,240B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.32% (12,063,240B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.32% (12,063,240B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.32% (12,063,240B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.32% (12,063,240B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.32% (12,063,240B) 0x5B0CA1: 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.32% (12,063,240B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.32% (12,063,240B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.32% (12,063,240B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.32% (12,063,240B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.32% (12,063,240B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.32% (12,063,240B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.32% (12,063,240B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.32% (12,063,240B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.40% (1,130,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) -------------------------------------------------------------------------------- 58 238,752,640,382 281,491,480 278,178,143 3,313,337 0 59 239,475,614,036 282,173,824 278,851,056 3,322,768 0 98.82% (278,851,056B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->75.42% (212,826,866B) 0x79D850: my_malloc (my_malloc.c:38) | ->63.10% (178,042,160B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->62.92% (177,552,096B) 0x7318F4: 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.92% (177,552,096B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->62.92% (177,552,096B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->62.92% (177,552,096B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->62.92% (177,552,096B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->62.92% (177,552,096B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->62.92% (177,552,096B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->62.92% (177,552,096B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->62.92% (177,552,096B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->62.92% (177,552,096B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->62.92% (177,552,096B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->62.92% (177,552,096B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->62.92% (177,552,096B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->62.92% (177,552,096B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->62.92% (177,552,096B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->62.92% (177,552,096B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->62.92% (177,552,096B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->62.92% (177,552,096B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->62.92% (177,552,096B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->62.92% (177,552,096B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->62.92% (177,552,096B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->62.92% (177,552,096B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->62.92% (177,552,096B) 0x5B0CA1: 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.92% (177,552,096B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->62.92% (177,552,096B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->62.92% (177,552,096B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->62.92% (177,552,096B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->62.92% (177,552,096B) 0x57DF3F: 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.25% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->07.25% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->07.25% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->07.25% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->07.25% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->07.25% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->07.25% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.00% (5,655,848B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.98% (5,592,192B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.98% (5,592,192B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.98% (5,592,192B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.98% (5,592,192B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.98% (5,592,192B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.98% (5,592,192B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.98% (5,592,192B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.98% (5,592,192B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.98% (5,592,192B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.98% (5,592,192B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.98% (5,592,192B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.98% (5,592,192B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.98% (5,592,192B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.98% (5,592,192B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.98% (5,592,192B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.98% (5,592,192B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.98% (5,592,192B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.98% (5,592,192B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.98% (5,592,192B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.98% (5,592,192B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.98% (5,592,192B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.98% (5,592,192B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.98% (5,592,192B) 0x5B0CA1: 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,592,192B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.98% (5,592,192B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.98% (5,592,192B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.98% (5,592,192B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.98% (5,592,192B) 0x57DF3F: 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.67% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.67% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.67% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.67% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.67% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.67% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.24% (3,495,040B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.24% (3,495,040B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.24% (3,495,040B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.24% (3,495,040B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.24% (3,495,040B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.24% (3,495,040B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.24% (3,495,040B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.24% (3,495,040B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.24% (3,495,040B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.24% (3,495,040B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.24% (3,495,040B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.24% (3,495,040B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.24% (3,495,040B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.24% (3,495,040B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.24% (3,495,040B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.24% (3,495,040B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.24% (3,495,040B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.24% (3,495,040B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.24% (3,495,040B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.24% (3,495,040B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.24% (3,495,040B) 0x5B0CA1: 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,495,040B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.24% (3,495,040B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.24% (3,495,040B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.24% (3,495,040B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.24% (3,495,040B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.24% (3,495,040B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.24% (3,495,040B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.24% (3,495,040B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.17% (468,234B) in 1+ places, all below ms_print's threshold (01.00%) | ->13.38% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->11.89% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->11.89% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->11.89% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->11.89% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->11.89% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->11.89% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->11.89% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->11.89% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->11.89% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.48% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->05.29% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->02.78% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->02.78% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.26% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.26% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.24% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.34% (12,232,920B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.34% (12,232,920B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.34% (12,232,920B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.34% (12,232,920B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.34% (12,232,920B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.34% (12,232,920B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.34% (12,232,920B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.34% (12,232,920B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.34% (12,232,920B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.34% (12,232,920B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.34% (12,232,920B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.34% (12,232,920B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.34% (12,232,920B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.34% (12,232,920B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.34% (12,232,920B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.34% (12,232,920B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.34% (12,232,920B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.34% (12,232,920B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.34% (12,232,920B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.34% (12,232,920B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.34% (12,232,920B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.34% (12,232,920B) 0x5B0CA1: 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,232,920B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.34% (12,232,920B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.34% (12,232,920B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.34% (12,232,920B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.34% (12,232,920B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.34% (12,232,920B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.34% (12,232,920B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.34% (12,232,920B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.40% (1,130,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) -------------------------------------------------------------------------------- 60 241,676,473,049 283,811,448 280,467,539 3,343,909 0 61 243,872,434,874 284,892,992 281,534,620 3,358,372 0 62 243,961,160,419 284,999,072 281,639,328 3,359,744 0 98.82% (281,639,328B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->75.59% (215,443,778B) 0x79D850: my_malloc (my_malloc.c:38) | ->63.34% (180,529,328B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->63.17% (180,039,264B) 0x7318F4: 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.17% (180,039,264B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->63.17% (180,039,264B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->63.17% (180,039,264B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->63.17% (180,039,264B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->63.17% (180,039,264B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->63.17% (180,039,264B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->63.17% (180,039,264B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->63.17% (180,039,264B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->63.17% (180,039,264B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->63.17% (180,039,264B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->63.17% (180,039,264B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->63.17% (180,039,264B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->63.17% (180,039,264B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->63.17% (180,039,264B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->63.17% (180,039,264B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.17% (180,039,264B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->63.17% (180,039,264B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.17% (180,039,264B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->63.17% (180,039,264B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.17% (180,039,264B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->63.17% (180,039,264B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->63.17% (180,039,264B) 0x5B0CA1: 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.17% (180,039,264B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->63.17% (180,039,264B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->63.17% (180,039,264B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->63.17% (180,039,264B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->63.17% (180,039,264B) 0x57DF3F: 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.18% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->07.18% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->07.18% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->07.18% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->07.18% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->07.18% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->07.18% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.01% (5,734,184B) 0x784994: init_dynamic_array2 (array.c:70) | | ->01.99% (5,670,528B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->01.99% (5,670,528B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->01.99% (5,670,528B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->01.99% (5,670,528B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->01.99% (5,670,528B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->01.99% (5,670,528B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->01.99% (5,670,528B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->01.99% (5,670,528B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->01.99% (5,670,528B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->01.99% (5,670,528B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->01.99% (5,670,528B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->01.99% (5,670,528B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->01.99% (5,670,528B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->01.99% (5,670,528B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->01.99% (5,670,528B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->01.99% (5,670,528B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.99% (5,670,528B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.99% (5,670,528B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.99% (5,670,528B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->01.99% (5,670,528B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->01.99% (5,670,528B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->01.99% (5,670,528B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->01.99% (5,670,528B) 0x5B0CA1: 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,670,528B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->01.99% (5,670,528B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->01.99% (5,670,528B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->01.99% (5,670,528B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->01.99% (5,670,528B) 0x57DF3F: 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.65% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.65% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.65% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.65% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.65% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.65% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.24% (3,544,000B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.24% (3,544,000B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.24% (3,544,000B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.24% (3,544,000B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.24% (3,544,000B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.24% (3,544,000B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.24% (3,544,000B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.24% (3,544,000B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.24% (3,544,000B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.24% (3,544,000B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.24% (3,544,000B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.24% (3,544,000B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.24% (3,544,000B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.24% (3,544,000B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.24% (3,544,000B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.24% (3,544,000B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.24% (3,544,000B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.24% (3,544,000B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.24% (3,544,000B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.24% (3,544,000B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.24% (3,544,000B) 0x5B0CA1: 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,544,000B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.24% (3,544,000B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.24% (3,544,000B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.24% (3,544,000B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.24% (3,544,000B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.24% (3,544,000B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.24% (3,544,000B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.24% (3,544,000B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.17% (470,682B) in 1+ places, all below ms_print's threshold (01.00%) | ->13.24% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->11.77% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->11.77% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->11.77% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->11.77% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->11.77% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->11.77% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->11.77% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->11.77% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->11.77% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.47% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->05.23% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->02.76% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->02.76% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.25% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.25% (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.35% (12,404,280B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.35% (12,404,280B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.35% (12,404,280B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.35% (12,404,280B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.35% (12,404,280B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.35% (12,404,280B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.35% (12,404,280B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.35% (12,404,280B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.35% (12,404,280B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.35% (12,404,280B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.35% (12,404,280B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.35% (12,404,280B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.35% (12,404,280B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.35% (12,404,280B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.35% (12,404,280B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.35% (12,404,280B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.35% (12,404,280B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.35% (12,404,280B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.35% (12,404,280B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.35% (12,404,280B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.35% (12,404,280B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.35% (12,404,280B) 0x5B0CA1: 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.35% (12,404,280B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.35% (12,404,280B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.35% (12,404,280B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.35% (12,404,280B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.35% (12,404,280B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.35% (12,404,280B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.35% (12,404,280B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.35% (12,404,280B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.40% (1,130,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) -------------------------------------------------------------------------------- 63 246,158,609,962 287,082,048 283,695,459 3,386,589 0 64 247,013,707,386 287,852,128 284,454,936 3,397,192 0 98.82% (284,454,936B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->75.76% (218,086,346B) 0x79D850: my_malloc (my_malloc.c:38) | ->63.59% (183,040,880B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->63.42% (182,550,816B) 0x7318F4: 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.42% (182,550,816B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->63.42% (182,550,816B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->63.42% (182,550,816B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->63.42% (182,550,816B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->63.42% (182,550,816B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->63.42% (182,550,816B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->63.42% (182,550,816B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->63.42% (182,550,816B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->63.42% (182,550,816B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->63.42% (182,550,816B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->63.42% (182,550,816B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->63.42% (182,550,816B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->63.42% (182,550,816B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->63.42% (182,550,816B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->63.42% (182,550,816B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.42% (182,550,816B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->63.42% (182,550,816B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.42% (182,550,816B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->63.42% (182,550,816B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.42% (182,550,816B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->63.42% (182,550,816B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->63.42% (182,550,816B) 0x5B0CA1: 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.42% (182,550,816B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->63.42% (182,550,816B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->63.42% (182,550,816B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->63.42% (182,550,816B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->63.42% (182,550,816B) 0x57DF3F: 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.11% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->07.11% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->07.11% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->07.11% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->07.11% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->07.11% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->07.11% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.02% (5,813,288B) 0x784994: init_dynamic_array2 (array.c:70) | | ->02.00% (5,749,632B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.00% (5,749,632B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.00% (5,749,632B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.00% (5,749,632B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.00% (5,749,632B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->02.00% (5,749,632B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->02.00% (5,749,632B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->02.00% (5,749,632B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.00% (5,749,632B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.00% (5,749,632B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.00% (5,749,632B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.00% (5,749,632B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.00% (5,749,632B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->02.00% (5,749,632B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.00% (5,749,632B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.00% (5,749,632B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.00% (5,749,632B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.00% (5,749,632B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.00% (5,749,632B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.00% (5,749,632B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.00% (5,749,632B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.00% (5,749,632B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->02.00% (5,749,632B) 0x5B0CA1: 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.00% (5,749,632B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.00% (5,749,632B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.00% (5,749,632B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.00% (5,749,632B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.00% (5,749,632B) 0x57DF3F: 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.64% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.64% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.64% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.64% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.64% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.64% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.25% (3,593,440B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.25% (3,593,440B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.25% (3,593,440B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.25% (3,593,440B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.25% (3,593,440B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.25% (3,593,440B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.25% (3,593,440B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.25% (3,593,440B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.25% (3,593,440B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.25% (3,593,440B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.25% (3,593,440B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.25% (3,593,440B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.25% (3,593,440B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.25% (3,593,440B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.25% (3,593,440B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.25% (3,593,440B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.25% (3,593,440B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.25% (3,593,440B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.25% (3,593,440B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.25% (3,593,440B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.25% (3,593,440B) 0x5B0CA1: 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,593,440B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.25% (3,593,440B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.25% (3,593,440B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.25% (3,593,440B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.25% (3,593,440B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.25% (3,593,440B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.25% (3,593,440B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.25% (3,593,440B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.16% (473,154B) in 1+ places, all below ms_print's threshold (01.00%) | ->13.11% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->11.66% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->11.66% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->11.66% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->11.66% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->11.66% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->11.66% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->11.66% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->11.66% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->11.66% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.45% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->05.18% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->02.73% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->02.73% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.24% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.24% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.21% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.37% (12,577,320B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.37% (12,577,320B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.37% (12,577,320B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.37% (12,577,320B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.37% (12,577,320B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.37% (12,577,320B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.37% (12,577,320B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.37% (12,577,320B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.37% (12,577,320B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.37% (12,577,320B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.37% (12,577,320B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.37% (12,577,320B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.37% (12,577,320B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.37% (12,577,320B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.37% (12,577,320B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.37% (12,577,320B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.37% (12,577,320B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.37% (12,577,320B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.37% (12,577,320B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.37% (12,577,320B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.37% (12,577,320B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.37% (12,577,320B) 0x5B0CA1: 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.37% (12,577,320B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.37% (12,577,320B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.37% (12,577,320B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.37% (12,577,320B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.37% (12,577,320B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.37% (12,577,320B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.37% (12,577,320B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.37% (12,577,320B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.39% (1,130,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) -------------------------------------------------------------------------------- 65 249,209,867,684 290,036,936 286,611,562 3,425,374 0 66 250,084,920,489 290,733,632 287,299,175 3,434,457 0 98.82% (287,299,175B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->75.93% (220,758,665B) 0x79D850: my_malloc (my_malloc.c:38) | ->63.82% (185,536,248B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->63.65% (185,046,112B) 0x7318F4: 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.65% (185,046,112B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->63.65% (185,046,112B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->63.65% (185,046,112B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->63.65% (185,046,112B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->63.65% (185,046,112B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->63.65% (185,046,112B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->63.65% (185,046,112B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->63.65% (185,046,112B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->63.65% (185,046,112B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->63.65% (185,046,112B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->63.65% (185,046,112B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->63.65% (185,046,112B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->63.65% (185,046,112B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->63.65% (185,046,112B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->63.65% (185,046,112B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.65% (185,046,112B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->63.65% (185,046,112B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.65% (185,046,112B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->63.65% (185,046,112B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.65% (185,046,112B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->63.65% (185,046,112B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->63.65% (185,046,112B) 0x5B0CA1: 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.65% (185,046,112B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->63.65% (185,046,112B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->63.65% (185,046,112B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->63.65% (185,046,112B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->63.65% (185,046,112B) 0x57DF3F: 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,136B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->07.04% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->07.04% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->07.04% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->07.04% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->07.04% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->07.04% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->07.04% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.03% (5,892,648B) 0x784994: init_dynamic_array2 (array.c:70) | | ->02.00% (5,828,224B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.00% (5,828,224B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.00% (5,828,224B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.00% (5,828,224B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.00% (5,828,224B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->02.00% (5,828,224B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->02.00% (5,828,224B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->02.00% (5,828,224B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.00% (5,828,224B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.00% (5,828,224B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.00% (5,828,224B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.00% (5,828,224B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.00% (5,828,224B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->02.00% (5,828,224B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.00% (5,828,224B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.00% (5,828,224B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.00% (5,828,224B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.00% (5,828,224B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.00% (5,828,224B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.00% (5,828,224B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.00% (5,828,224B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.00% (5,828,224B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->02.00% (5,828,224B) 0x5B0CA1: 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.00% (5,828,224B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.00% (5,828,224B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.00% (5,828,224B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.00% (5,828,224B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.00% (5,828,224B) 0x57DF3F: 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.62% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.62% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.62% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.62% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.62% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.62% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.25% (3,642,560B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.25% (3,642,560B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.25% (3,642,560B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.25% (3,642,560B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.25% (3,642,560B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.25% (3,642,560B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.25% (3,642,560B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.25% (3,642,560B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.25% (3,642,560B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.25% (3,642,560B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.25% (3,642,560B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.25% (3,642,560B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.25% (3,642,560B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.25% (3,642,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.25% (3,642,560B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.25% (3,642,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.25% (3,642,560B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.25% (3,642,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.25% (3,642,560B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.25% (3,642,560B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.25% (3,642,560B) 0x5B0CA1: 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,642,560B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.25% (3,642,560B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.25% (3,642,560B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.25% (3,642,560B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.25% (3,642,560B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.25% (3,642,560B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.25% (3,642,560B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.25% (3,642,560B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.18% (521,625B) in 1+ places, all below ms_print's threshold (01.00%) | ->12.98% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->11.54% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->11.54% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->11.54% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->11.54% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->11.54% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->11.54% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->11.54% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->11.54% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->11.54% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.44% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->05.13% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->02.70% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->02.70% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.23% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.23% (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,749,240B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.39% (12,749,240B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.39% (12,749,240B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.39% (12,749,240B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.39% (12,749,240B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.39% (12,749,240B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.39% (12,749,240B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.39% (12,749,240B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.39% (12,749,240B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.39% (12,749,240B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.39% (12,749,240B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.39% (12,749,240B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.39% (12,749,240B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.39% (12,749,240B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.39% (12,749,240B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.39% (12,749,240B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.39% (12,749,240B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.39% (12,749,240B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.39% (12,749,240B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.39% (12,749,240B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.39% (12,749,240B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.39% (12,749,240B) 0x5B0CA1: 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,749,240B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.39% (12,749,240B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.39% (12,749,240B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.39% (12,749,240B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.39% (12,749,240B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.39% (12,749,240B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.39% (12,749,240B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.39% (12,749,240B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.39% (1,130,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) -------------------------------------------------------------------------------- 67 252,282,060,416 292,944,240 289,480,284 3,463,956 0 68 253,131,994,621 293,641,232 290,168,160 3,473,072 0 98.82% (290,168,160B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->76.10% (223,448,450B) 0x79D850: my_malloc (my_malloc.c:38) | ->64.07% (188,137,136B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->63.90% (187,647,072B) 0x7318F4: 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.90% (187,647,072B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->63.90% (187,647,072B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->63.90% (187,647,072B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->63.90% (187,647,072B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->63.90% (187,647,072B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->63.90% (187,647,072B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->63.90% (187,647,072B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->63.90% (187,647,072B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->63.90% (187,647,072B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->63.90% (187,647,072B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->63.90% (187,647,072B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->63.90% (187,647,072B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->63.90% (187,647,072B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->63.90% (187,647,072B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->63.90% (187,647,072B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.90% (187,647,072B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->63.90% (187,647,072B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.90% (187,647,072B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->63.90% (187,647,072B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->63.90% (187,647,072B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->63.90% (187,647,072B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->63.90% (187,647,072B) 0x5B0CA1: 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.90% (187,647,072B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->63.90% (187,647,072B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->63.90% (187,647,072B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->63.90% (187,647,072B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->63.90% (187,647,072B) 0x57DF3F: 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%) | | | ->06.97% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->06.97% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->06.97% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->06.97% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->06.97% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->06.97% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->06.97% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.03% (5,973,800B) 0x784994: init_dynamic_array2 (array.c:70) | | ->02.01% (5,910,144B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.01% (5,910,144B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.01% (5,910,144B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.01% (5,910,144B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.01% (5,910,144B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->02.01% (5,910,144B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->02.01% (5,910,144B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->02.01% (5,910,144B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.01% (5,910,144B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.01% (5,910,144B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.01% (5,910,144B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.01% (5,910,144B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.01% (5,910,144B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->02.01% (5,910,144B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.01% (5,910,144B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.01% (5,910,144B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.01% (5,910,144B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.01% (5,910,144B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.01% (5,910,144B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.01% (5,910,144B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.01% (5,910,144B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.01% (5,910,144B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->02.01% (5,910,144B) 0x5B0CA1: 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,910,144B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.01% (5,910,144B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.01% (5,910,144B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.01% (5,910,144B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.01% (5,910,144B) 0x57DF3F: 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.60% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.60% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.60% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.60% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.60% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.60% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.26% (3,693,760B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.26% (3,693,760B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.26% (3,693,760B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.26% (3,693,760B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.26% (3,693,760B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.26% (3,693,760B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.26% (3,693,760B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.26% (3,693,760B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.26% (3,693,760B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.26% (3,693,760B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.26% (3,693,760B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.26% (3,693,760B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.26% (3,693,760B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.26% (3,693,760B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.26% (3,693,760B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.26% (3,693,760B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.26% (3,693,760B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.26% (3,693,760B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.26% (3,693,760B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.26% (3,693,760B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.26% (3,693,760B) 0x5B0CA1: 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,693,760B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.26% (3,693,760B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.26% (3,693,760B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.26% (3,693,760B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.26% (3,693,760B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.26% (3,693,760B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.26% (3,693,760B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.26% (3,693,760B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.16% (478,170B) in 1+ places, all below ms_print's threshold (01.00%) | ->12.85% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->11.43% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->11.43% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->11.43% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->11.43% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->11.43% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->11.43% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->11.43% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->11.43% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->11.43% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.43% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->05.08% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->02.68% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->02.68% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.21% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.21% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.19% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.40% (12,928,440B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.40% (12,928,440B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.40% (12,928,440B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.40% (12,928,440B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.40% (12,928,440B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.40% (12,928,440B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.40% (12,928,440B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.40% (12,928,440B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.40% (12,928,440B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.40% (12,928,440B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.40% (12,928,440B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.40% (12,928,440B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.40% (12,928,440B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.40% (12,928,440B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.40% (12,928,440B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.40% (12,928,440B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.40% (12,928,440B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.40% (12,928,440B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.40% (12,928,440B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.40% (12,928,440B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.40% (12,928,440B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.40% (12,928,440B) 0x5B0CA1: 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.40% (12,928,440B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.40% (12,928,440B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.40% (12,928,440B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.40% (12,928,440B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.40% (12,928,440B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.40% (12,928,440B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.40% (12,928,440B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.40% (12,928,440B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.38% (1,130,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) -------------------------------------------------------------------------------- 69 255,327,042,388 294,398,632 290,915,424 3,483,208 0 70 257,520,794,894 296,573,072 293,061,300 3,511,772 0 71 257,526,113,904 296,577,968 293,066,120 3,511,848 0 98.82% (293,066,120B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->76.26% (226,168,066B) 0x79D850: my_malloc (my_malloc.c:38) | ->64.31% (190,721,840B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->64.14% (190,231,776B) 0x7318F4: 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.14% (190,231,776B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->64.14% (190,231,776B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->64.14% (190,231,776B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->64.14% (190,231,776B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->64.14% (190,231,776B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->64.14% (190,231,776B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->64.14% (190,231,776B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->64.14% (190,231,776B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->64.14% (190,231,776B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->64.14% (190,231,776B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->64.14% (190,231,776B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->64.14% (190,231,776B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->64.14% (190,231,776B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->64.14% (190,231,776B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->64.14% (190,231,776B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->64.14% (190,231,776B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->64.14% (190,231,776B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->64.14% (190,231,776B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->64.14% (190,231,776B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->64.14% (190,231,776B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->64.14% (190,231,776B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->64.14% (190,231,776B) 0x5B0CA1: 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.14% (190,231,776B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->64.14% (190,231,776B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->64.14% (190,231,776B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->64.14% (190,231,776B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->64.14% (190,231,776B) 0x57DF3F: 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%) | | | ->06.90% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->06.90% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->06.90% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->06.90% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->06.90% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->06.90% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->06.90% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.04% (6,055,208B) 0x784994: init_dynamic_array2 (array.c:70) | | ->02.02% (5,991,552B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.02% (5,991,552B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.02% (5,991,552B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.02% (5,991,552B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.02% (5,991,552B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->02.02% (5,991,552B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->02.02% (5,991,552B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->02.02% (5,991,552B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.02% (5,991,552B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.02% (5,991,552B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.02% (5,991,552B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.02% (5,991,552B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.02% (5,991,552B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->02.02% (5,991,552B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.02% (5,991,552B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.02% (5,991,552B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.02% (5,991,552B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.02% (5,991,552B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.02% (5,991,552B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.02% (5,991,552B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.02% (5,991,552B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.02% (5,991,552B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->02.02% (5,991,552B) 0x5B0CA1: 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% (5,991,552B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.02% (5,991,552B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.02% (5,991,552B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.02% (5,991,552B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.02% (5,991,552B) 0x57DF3F: 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.59% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.59% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.59% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.59% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.59% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.59% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.26% (3,744,720B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.26% (3,744,720B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.26% (3,744,720B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.26% (3,744,720B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.26% (3,744,720B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.26% (3,744,720B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.26% (3,744,720B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.26% (3,744,720B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.26% (3,744,720B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.26% (3,744,720B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.26% (3,744,720B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.26% (3,744,720B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.26% (3,744,720B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.26% (3,744,720B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.26% (3,744,720B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.26% (3,744,720B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.26% (3,744,720B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.26% (3,744,720B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.26% (3,744,720B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.26% (3,744,720B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.26% (3,744,720B) 0x5B0CA1: 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,744,720B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.26% (3,744,720B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.26% (3,744,720B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.26% (3,744,720B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.26% (3,744,720B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.26% (3,744,720B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.26% (3,744,720B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.26% (3,744,720B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.16% (480,714B) in 1+ places, all below ms_print's threshold (01.00%) | ->12.73% (37,742,984B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->11.31% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->11.31% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->11.31% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->11.31% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->11.31% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->11.31% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->11.31% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->11.31% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->11.31% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.41% (4,187,920B) in 75 places, all below massif's threshold (01.00%) | ->05.03% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->02.65% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->02.65% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.20% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.20% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.18% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.42% (13,106,520B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.42% (13,106,520B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.42% (13,106,520B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.42% (13,106,520B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.42% (13,106,520B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.42% (13,106,520B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.42% (13,106,520B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.42% (13,106,520B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.42% (13,106,520B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.42% (13,106,520B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.42% (13,106,520B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.42% (13,106,520B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.42% (13,106,520B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.42% (13,106,520B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.42% (13,106,520B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.42% (13,106,520B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.42% (13,106,520B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.42% (13,106,520B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.42% (13,106,520B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.42% (13,106,520B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.42% (13,106,520B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.42% (13,106,520B) 0x5B0CA1: 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,106,520B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.42% (13,106,520B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.42% (13,106,520B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.42% (13,106,520B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.42% (13,106,520B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.42% (13,106,520B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.42% (13,106,520B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.42% (13,106,520B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.38% (1,130,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) -------------------------------------------------------------------------------- 72 259,722,148,832 298,655,112 295,116,056 3,539,056 0 73 260,625,646,162 299,546,088 295,995,284 3,550,804 0 98.81% (295,995,284B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->76.42% (228,917,454B) 0x79D850: my_malloc (my_malloc.c:38) | ->64.54% (193,334,992B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->64.38% (192,844,928B) 0x7318F4: 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.38% (192,844,928B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->64.38% (192,844,928B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->64.38% (192,844,928B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->64.38% (192,844,928B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->64.38% (192,844,928B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->64.38% (192,844,928B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->64.38% (192,844,928B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->64.38% (192,844,928B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->64.38% (192,844,928B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->64.38% (192,844,928B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->64.38% (192,844,928B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->64.38% (192,844,928B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->64.38% (192,844,928B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->64.38% (192,844,928B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->64.38% (192,844,928B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->64.38% (192,844,928B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->64.38% (192,844,928B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->64.38% (192,844,928B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->64.38% (192,844,928B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->64.38% (192,844,928B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->64.38% (192,844,928B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->64.38% (192,844,928B) 0x5B0CA1: 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.38% (192,844,928B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->64.38% (192,844,928B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->64.38% (192,844,928B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->64.38% (192,844,928B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->64.38% (192,844,928B) 0x57DF3F: 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.83% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->06.83% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->06.83% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->06.83% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->06.83% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->06.83% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->06.83% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.05% (6,137,512B) 0x784994: init_dynamic_array2 (array.c:70) | | ->02.03% (6,073,856B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.03% (6,073,856B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.03% (6,073,856B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.03% (6,073,856B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.03% (6,073,856B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->02.03% (6,073,856B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->02.03% (6,073,856B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->02.03% (6,073,856B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.03% (6,073,856B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.03% (6,073,856B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.03% (6,073,856B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.03% (6,073,856B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.03% (6,073,856B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->02.03% (6,073,856B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.03% (6,073,856B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.03% (6,073,856B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.03% (6,073,856B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.03% (6,073,856B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.03% (6,073,856B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.03% (6,073,856B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.03% (6,073,856B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.03% (6,073,856B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->02.03% (6,073,856B) 0x5B0CA1: 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,073,856B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.03% (6,073,856B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.03% (6,073,856B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.03% (6,073,856B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.03% (6,073,856B) 0x57DF3F: 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.57% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.57% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.57% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.57% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.57% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.57% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.27% (3,796,080B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.27% (3,796,080B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.27% (3,796,080B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.27% (3,796,080B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.27% (3,796,080B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.27% (3,796,080B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.27% (3,796,080B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.27% (3,796,080B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.27% (3,796,080B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.27% (3,796,080B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.27% (3,796,080B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.27% (3,796,080B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.27% (3,796,080B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.27% (3,796,080B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.27% (3,796,080B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.27% (3,796,080B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.27% (3,796,080B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.27% (3,796,080B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.27% (3,796,080B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.27% (3,796,080B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.27% (3,796,080B) 0x5B0CA1: 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,796,080B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.27% (3,796,080B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.27% (3,796,080B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.27% (3,796,080B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.27% (3,796,080B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.27% (3,796,080B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.27% (3,796,080B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.27% (3,796,080B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.16% (483,286B) in 1+ places, all below ms_print's threshold (01.00%) | ->12.60% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->11.20% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->11.20% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->11.20% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->11.20% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->11.20% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->11.20% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->11.20% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->11.20% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->11.20% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.40% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->04.98% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->02.62% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->02.62% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.19% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.19% (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.44% (13,286,560B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.44% (13,286,560B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.44% (13,286,560B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.44% (13,286,560B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.44% (13,286,560B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.44% (13,286,560B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.44% (13,286,560B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.44% (13,286,560B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.44% (13,286,560B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.44% (13,286,560B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.44% (13,286,560B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.44% (13,286,560B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.44% (13,286,560B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.44% (13,286,560B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.44% (13,286,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.44% (13,286,560B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.44% (13,286,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.44% (13,286,560B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.44% (13,286,560B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.44% (13,286,560B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.44% (13,286,560B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.44% (13,286,560B) 0x5B0CA1: 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,286,560B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.44% (13,286,560B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.44% (13,286,560B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.44% (13,286,560B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.44% (13,286,560B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.44% (13,286,560B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.44% (13,286,560B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.44% (13,286,560B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.38% (1,130,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) -------------------------------------------------------------------------------- 74 262,819,071,890 301,577,504 298,000,004 3,577,500 0 75 263,763,958,547 302,542,304 298,952,128 3,590,176 0 98.81% (298,952,128B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->76.58% (231,692,578B) 0x79D850: my_malloc (my_malloc.c:38) | ->64.78% (195,972,528B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->64.61% (195,482,464B) 0x7318F4: 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.61% (195,482,464B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->64.61% (195,482,464B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->64.61% (195,482,464B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->64.61% (195,482,464B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->64.61% (195,482,464B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->64.61% (195,482,464B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->64.61% (195,482,464B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->64.61% (195,482,464B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->64.61% (195,482,464B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->64.61% (195,482,464B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->64.61% (195,482,464B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->64.61% (195,482,464B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->64.61% (195,482,464B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->64.61% (195,482,464B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->64.61% (195,482,464B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->64.61% (195,482,464B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->64.61% (195,482,464B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->64.61% (195,482,464B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->64.61% (195,482,464B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->64.61% (195,482,464B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->64.61% (195,482,464B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->64.61% (195,482,464B) 0x5B0CA1: 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.61% (195,482,464B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->64.61% (195,482,464B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->64.61% (195,482,464B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->64.61% (195,482,464B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->64.61% (195,482,464B) 0x57DF3F: 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.76% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->06.76% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->06.76% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->06.76% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->06.76% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->06.76% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->06.76% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.06% (6,220,584B) 0x784994: init_dynamic_array2 (array.c:70) | | ->02.04% (6,156,928B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.04% (6,156,928B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.04% (6,156,928B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.04% (6,156,928B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.04% (6,156,928B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->02.04% (6,156,928B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->02.04% (6,156,928B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->02.04% (6,156,928B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.04% (6,156,928B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.04% (6,156,928B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.04% (6,156,928B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.04% (6,156,928B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.04% (6,156,928B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->02.04% (6,156,928B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.04% (6,156,928B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.04% (6,156,928B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.04% (6,156,928B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.04% (6,156,928B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.04% (6,156,928B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.04% (6,156,928B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.04% (6,156,928B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.04% (6,156,928B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->02.04% (6,156,928B) 0x5B0CA1: 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.04% (6,156,928B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.04% (6,156,928B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.04% (6,156,928B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.04% (6,156,928B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.04% (6,156,928B) 0x57DF3F: 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.56% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.56% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.56% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.56% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.56% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.56% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.27% (3,848,000B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.27% (3,848,000B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.27% (3,848,000B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.27% (3,848,000B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.27% (3,848,000B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.27% (3,848,000B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.27% (3,848,000B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.27% (3,848,000B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.27% (3,848,000B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.27% (3,848,000B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.27% (3,848,000B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.27% (3,848,000B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.27% (3,848,000B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.27% (3,848,000B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.27% (3,848,000B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.27% (3,848,000B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.27% (3,848,000B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.27% (3,848,000B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.27% (3,848,000B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.27% (3,848,000B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.27% (3,848,000B) 0x5B0CA1: 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,848,000B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.27% (3,848,000B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.27% (3,848,000B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.27% (3,848,000B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.27% (3,848,000B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.27% (3,848,000B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.27% (3,848,000B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.27% (3,848,000B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.16% (485,882B) in 1+ places, all below ms_print's threshold (01.00%) | ->12.48% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->11.09% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->11.09% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->11.09% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->11.09% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->11.09% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->11.09% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->11.09% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->11.09% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->11.09% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.38% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->04.93% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->02.60% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->02.60% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.18% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.18% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.16% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.45% (13,468,280B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.45% (13,468,280B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.45% (13,468,280B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.45% (13,468,280B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.45% (13,468,280B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.45% (13,468,280B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.45% (13,468,280B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.45% (13,468,280B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.45% (13,468,280B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.45% (13,468,280B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.45% (13,468,280B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.45% (13,468,280B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.45% (13,468,280B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.45% (13,468,280B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.45% (13,468,280B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.45% (13,468,280B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.45% (13,468,280B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.45% (13,468,280B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.45% (13,468,280B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.45% (13,468,280B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.45% (13,468,280B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.45% (13,468,280B) 0x5B0CA1: 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.45% (13,468,280B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.45% (13,468,280B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.45% (13,468,280B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.45% (13,468,280B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.45% (13,468,280B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.45% (13,468,280B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.45% (13,468,280B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.45% (13,468,280B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.37% (1,130,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) -------------------------------------------------------------------------------- 76 265,959,523,851 304,158,168 300,546,808 3,611,360 0 77 268,154,143,158 305,346,536 301,720,553 3,625,983 0 78 268,433,723,078 305,570,720 301,940,864 3,629,856 0 98.81% (301,940,864B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->76.74% (234,497,634B) 0x79D850: my_malloc (my_malloc.c:38) | ->65.01% (198,638,512B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->64.85% (198,148,448B) 0x7318F4: 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.85% (198,148,448B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->64.85% (198,148,448B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->64.85% (198,148,448B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->64.85% (198,148,448B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->64.85% (198,148,448B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->64.85% (198,148,448B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->64.85% (198,148,448B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->64.85% (198,148,448B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->64.85% (198,148,448B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->64.85% (198,148,448B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->64.85% (198,148,448B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->64.85% (198,148,448B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->64.85% (198,148,448B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->64.85% (198,148,448B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->64.85% (198,148,448B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->64.85% (198,148,448B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->64.85% (198,148,448B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->64.85% (198,148,448B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->64.85% (198,148,448B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->64.85% (198,148,448B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->64.85% (198,148,448B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->64.85% (198,148,448B) 0x5B0CA1: 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.85% (198,148,448B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->64.85% (198,148,448B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->64.85% (198,148,448B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->64.85% (198,148,448B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->64.85% (198,148,448B) 0x57DF3F: 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.70% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->06.70% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->06.70% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->06.70% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->06.70% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->06.70% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->06.70% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.06% (6,304,552B) 0x784994: init_dynamic_array2 (array.c:70) | | ->02.04% (6,240,896B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.04% (6,240,896B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.04% (6,240,896B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.04% (6,240,896B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.04% (6,240,896B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->02.04% (6,240,896B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->02.04% (6,240,896B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->02.04% (6,240,896B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.04% (6,240,896B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.04% (6,240,896B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.04% (6,240,896B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.04% (6,240,896B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.04% (6,240,896B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->02.04% (6,240,896B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.04% (6,240,896B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.04% (6,240,896B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.04% (6,240,896B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.04% (6,240,896B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.04% (6,240,896B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.04% (6,240,896B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.04% (6,240,896B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.04% (6,240,896B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->02.04% (6,240,896B) 0x5B0CA1: 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.04% (6,240,896B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.04% (6,240,896B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.04% (6,240,896B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.04% (6,240,896B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.04% (6,240,896B) 0x57DF3F: 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.54% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.54% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.54% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.54% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.54% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.54% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.28% (3,900,480B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.28% (3,900,480B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.28% (3,900,480B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.28% (3,900,480B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.28% (3,900,480B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.28% (3,900,480B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.28% (3,900,480B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.28% (3,900,480B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.28% (3,900,480B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.28% (3,900,480B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.28% (3,900,480B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.28% (3,900,480B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.28% (3,900,480B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.28% (3,900,480B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.28% (3,900,480B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.28% (3,900,480B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.28% (3,900,480B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.28% (3,900,480B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.28% (3,900,480B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.28% (3,900,480B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.28% (3,900,480B) 0x5B0CA1: 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.28% (3,900,480B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.28% (3,900,480B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.28% (3,900,480B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.28% (3,900,480B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.28% (3,900,480B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.28% (3,900,480B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.28% (3,900,480B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.28% (3,900,480B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.16% (488,506B) in 1+ places, all below ms_print's threshold (01.00%) | ->12.35% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->10.98% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->10.98% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->10.98% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->10.98% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->10.98% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->10.98% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->10.98% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->10.98% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->10.98% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.37% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->04.88% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->02.57% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->02.57% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.17% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.17% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.14% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.47% (13,651,960B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.47% (13,651,960B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.47% (13,651,960B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.47% (13,651,960B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.47% (13,651,960B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.47% (13,651,960B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.47% (13,651,960B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.47% (13,651,960B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.47% (13,651,960B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.47% (13,651,960B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.47% (13,651,960B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.47% (13,651,960B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.47% (13,651,960B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.47% (13,651,960B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.47% (13,651,960B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.47% (13,651,960B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.47% (13,651,960B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.47% (13,651,960B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.47% (13,651,960B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.47% (13,651,960B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.47% (13,651,960B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.47% (13,651,960B) 0x5B0CA1: 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.47% (13,651,960B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.47% (13,651,960B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.47% (13,651,960B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.47% (13,651,960B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.47% (13,651,960B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.47% (13,651,960B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.47% (13,651,960B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.47% (13,651,960B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.37% (1,130,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) -------------------------------------------------------------------------------- 79 270,627,814,460 307,593,560 303,937,767 3,655,793 0 80 271,612,965,663 308,627,552 304,958,231 3,669,321 0 98.81% (304,958,231B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->76.90% (237,332,441B) 0x79D850: my_malloc (my_malloc.c:38) | ->65.22% (201,288,312B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->65.06% (200,798,176B) 0x7318F4: 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.06% (200,798,176B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->65.06% (200,798,176B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->65.06% (200,798,176B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->65.06% (200,798,176B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->65.06% (200,798,176B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->65.06% (200,798,176B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->65.06% (200,798,176B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->65.06% (200,798,176B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->65.06% (200,798,176B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->65.06% (200,798,176B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->65.06% (200,798,176B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->65.06% (200,798,176B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->65.06% (200,798,176B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->65.06% (200,798,176B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->65.06% (200,798,176B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->65.06% (200,798,176B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->65.06% (200,798,176B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->65.06% (200,798,176B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->65.06% (200,798,176B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->65.06% (200,798,176B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->65.06% (200,798,176B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->65.06% (200,798,176B) 0x5B0CA1: 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.06% (200,798,176B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->65.06% (200,798,176B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->65.06% (200,798,176B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->65.06% (200,798,176B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->65.06% (200,798,176B) 0x57DF3F: 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,136B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->06.63% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->06.63% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->06.63% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->06.63% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->06.63% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->06.63% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->06.63% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.07% (6,388,776B) 0x784994: init_dynamic_array2 (array.c:70) | | ->02.05% (6,324,352B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.05% (6,324,352B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.05% (6,324,352B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.05% (6,324,352B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.05% (6,324,352B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->02.05% (6,324,352B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->02.05% (6,324,352B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->02.05% (6,324,352B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.05% (6,324,352B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.05% (6,324,352B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.05% (6,324,352B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.05% (6,324,352B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.05% (6,324,352B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->02.05% (6,324,352B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.05% (6,324,352B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.05% (6,324,352B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.05% (6,324,352B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.05% (6,324,352B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.05% (6,324,352B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.05% (6,324,352B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.05% (6,324,352B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.05% (6,324,352B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->02.05% (6,324,352B) 0x5B0CA1: 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.05% (6,324,352B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.05% (6,324,352B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.05% (6,324,352B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.05% (6,324,352B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.05% (6,324,352B) 0x57DF3F: 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.53% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.53% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.53% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.53% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.53% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.53% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.28% (3,952,640B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.28% (3,952,640B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.28% (3,952,640B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.28% (3,952,640B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.28% (3,952,640B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.28% (3,952,640B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.28% (3,952,640B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.28% (3,952,640B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.28% (3,952,640B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.28% (3,952,640B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.28% (3,952,640B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.28% (3,952,640B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.28% (3,952,640B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.28% (3,952,640B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.28% (3,952,640B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.28% (3,952,640B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.28% (3,952,640B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.28% (3,952,640B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.28% (3,952,640B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.28% (3,952,640B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.28% (3,952,640B) 0x5B0CA1: 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.28% (3,952,640B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.28% (3,952,640B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.28% (3,952,640B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.28% (3,952,640B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.28% (3,952,640B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.28% (3,952,640B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.28% (3,952,640B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.28% (3,952,640B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.17% (537,129B) in 1+ places, all below ms_print's threshold (01.00%) | ->12.23% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->10.87% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->10.87% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->10.87% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->10.87% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->10.87% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->10.87% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->10.87% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->10.87% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->10.87% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.36% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->04.83% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->02.55% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->02.55% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.15% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.15% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.13% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.48% (13,834,520B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.48% (13,834,520B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.48% (13,834,520B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.48% (13,834,520B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.48% (13,834,520B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.48% (13,834,520B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.48% (13,834,520B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.48% (13,834,520B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.48% (13,834,520B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.48% (13,834,520B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.48% (13,834,520B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.48% (13,834,520B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.48% (13,834,520B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.48% (13,834,520B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.48% (13,834,520B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.48% (13,834,520B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.48% (13,834,520B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.48% (13,834,520B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.48% (13,834,520B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.48% (13,834,520B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.48% (13,834,520B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.48% (13,834,520B) 0x5B0CA1: 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.48% (13,834,520B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.48% (13,834,520B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.48% (13,834,520B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.48% (13,834,520B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.48% (13,834,520B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.48% (13,834,520B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.48% (13,834,520B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.48% (13,834,520B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.37% (1,130,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) -------------------------------------------------------------------------------- 81 273,807,407,968 310,611,848 306,916,096 3,695,752 0 82 274,919,124,036 311,715,096 308,004,900 3,710,196 0 98.81% (308,004,900B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->77.05% (240,188,990B) 0x79D850: my_malloc (my_malloc.c:38) | ->65.46% (204,047,696B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->65.30% (203,557,632B) 0x7318F4: 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.30% (203,557,632B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->65.30% (203,557,632B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->65.30% (203,557,632B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->65.30% (203,557,632B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->65.30% (203,557,632B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->65.30% (203,557,632B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->65.30% (203,557,632B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->65.30% (203,557,632B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->65.30% (203,557,632B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->65.30% (203,557,632B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->65.30% (203,557,632B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->65.30% (203,557,632B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->65.30% (203,557,632B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->65.30% (203,557,632B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->65.30% (203,557,632B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->65.30% (203,557,632B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->65.30% (203,557,632B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->65.30% (203,557,632B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->65.30% (203,557,632B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->65.30% (203,557,632B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->65.30% (203,557,632B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->65.30% (203,557,632B) 0x5B0CA1: 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.30% (203,557,632B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->65.30% (203,557,632B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->65.30% (203,557,632B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->65.30% (203,557,632B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->65.30% (203,557,632B) 0x57DF3F: 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.56% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->06.56% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->06.56% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->06.56% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->06.56% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->06.56% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->06.56% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.08% (6,474,920B) 0x784994: init_dynamic_array2 (array.c:70) | | ->02.06% (6,411,264B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.06% (6,411,264B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.06% (6,411,264B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.06% (6,411,264B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.06% (6,411,264B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->02.06% (6,411,264B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->02.06% (6,411,264B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->02.06% (6,411,264B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.06% (6,411,264B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.06% (6,411,264B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.06% (6,411,264B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.06% (6,411,264B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.06% (6,411,264B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->02.06% (6,411,264B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.06% (6,411,264B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.06% (6,411,264B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.06% (6,411,264B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.06% (6,411,264B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.06% (6,411,264B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.06% (6,411,264B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.06% (6,411,264B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.06% (6,411,264B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->02.06% (6,411,264B) 0x5B0CA1: 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.06% (6,411,264B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.06% (6,411,264B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.06% (6,411,264B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.06% (6,411,264B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.06% (6,411,264B) 0x57DF3F: 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.51% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.51% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.51% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.51% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.51% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.51% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.29% (4,006,960B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.29% (4,006,960B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.29% (4,006,960B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.29% (4,006,960B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.29% (4,006,960B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.29% (4,006,960B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.29% (4,006,960B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.29% (4,006,960B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.29% (4,006,960B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.29% (4,006,960B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.29% (4,006,960B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.29% (4,006,960B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.29% (4,006,960B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.29% (4,006,960B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.29% (4,006,960B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.29% (4,006,960B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.29% (4,006,960B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.29% (4,006,960B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.29% (4,006,960B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.29% (4,006,960B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.29% (4,006,960B) 0x5B0CA1: 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,006,960B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.29% (4,006,960B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.29% (4,006,960B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.29% (4,006,960B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.29% (4,006,960B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.29% (4,006,960B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.29% (4,006,960B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.29% (4,006,960B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.16% (493,830B) in 1+ places, all below ms_print's threshold (01.00%) | ->12.11% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->10.76% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->10.76% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->10.76% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->10.76% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->10.76% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->10.76% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->10.76% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->10.76% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->10.76% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.34% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->04.79% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->02.52% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->02.52% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.14% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.14% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.12% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.50% (14,024,640B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.50% (14,024,640B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.50% (14,024,640B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.50% (14,024,640B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.50% (14,024,640B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.50% (14,024,640B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.50% (14,024,640B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.50% (14,024,640B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.50% (14,024,640B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.50% (14,024,640B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.50% (14,024,640B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.50% (14,024,640B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.50% (14,024,640B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.50% (14,024,640B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.50% (14,024,640B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.50% (14,024,640B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.50% (14,024,640B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.50% (14,024,640B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.50% (14,024,640B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.50% (14,024,640B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.50% (14,024,640B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.50% (14,024,640B) 0x5B0CA1: 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.50% (14,024,640B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.50% (14,024,640B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.50% (14,024,640B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.50% (14,024,640B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.50% (14,024,640B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.50% (14,024,640B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.50% (14,024,640B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.50% (14,024,640B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.36% (1,130,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) -------------------------------------------------------------------------------- 83 277,116,588,566 313,769,416 310,032,400 3,737,016 0 84 279,310,148,515 314,688,176 310,939,044 3,749,132 0 85 279,813,821,385 314,835,864 311,084,756 3,751,108 0 98.81% (311,084,756B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->77.21% (243,079,566B) 0x79D850: my_malloc (my_malloc.c:38) | ->65.68% (206,794,960B) 0x7975B2: alloc_root (my_alloc.c:217) | | ->65.53% (206,304,896B) 0x7318F4: 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.53% (206,304,896B) 0x731D8E: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7932) | | | ->65.53% (206,304,896B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->65.53% (206,304,896B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->65.53% (206,304,896B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->65.53% (206,304,896B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->65.53% (206,304,896B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->65.53% (206,304,896B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->65.53% (206,304,896B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->65.53% (206,304,896B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->65.53% (206,304,896B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->65.53% (206,304,896B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->65.53% (206,304,896B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->65.53% (206,304,896B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->65.53% (206,304,896B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->65.53% (206,304,896B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->65.53% (206,304,896B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->65.53% (206,304,896B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->65.53% (206,304,896B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->65.53% (206,304,896B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->65.53% (206,304,896B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->65.53% (206,304,896B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->65.53% (206,304,896B) 0x5B0CA1: 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.53% (206,304,896B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->65.53% (206,304,896B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->65.53% (206,304,896B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->65.53% (206,304,896B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->65.53% (206,304,896B) 0x57DF3F: 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.50% (20,458,496B) 0x7A9EB7: my_large_malloc (my_largepage.c:64) | | ->06.50% (20,458,496B) 0x78EC96: init_key_cache (mf_keycache.c:430) | | ->06.50% (20,458,496B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->06.50% (20,458,496B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->06.50% (20,458,496B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->06.50% (20,458,496B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->06.50% (20,458,496B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->02.08% (6,561,448B) 0x784994: init_dynamic_array2 (array.c:70) | | ->02.06% (6,497,792B) 0x72BC5A: QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD*, TABLE*, unsigned int, bool, st_mem_root*) (opt_range.cc:1147) | | | ->02.06% (6,497,792B) 0x731D4D: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | | | ->02.06% (6,497,792B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | | | ->02.06% (6,497,792B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | | | ->02.06% (6,497,792B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | | | ->02.06% (6,497,792B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | | | ->02.06% (6,497,792B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | | | ->02.06% (6,497,792B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | | | ->02.06% (6,497,792B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | | | ->02.06% (6,497,792B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | | | ->02.06% (6,497,792B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | | | ->02.06% (6,497,792B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | | | ->02.06% (6,497,792B) 0x67C8DA: Item::val_bool() (item.cc:200) | | | | ->02.06% (6,497,792B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | | | ->02.06% (6,497,792B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | | | ->02.06% (6,497,792B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.06% (6,497,792B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.06% (6,497,792B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.06% (6,497,792B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | | | ->02.06% (6,497,792B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | | | ->02.06% (6,497,792B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | | | ->02.06% (6,497,792B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | | | ->02.06% (6,497,792B) 0x5B0CA1: 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.06% (6,497,792B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | | | ->02.06% (6,497,792B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | | | ->02.06% (6,497,792B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | | | ->02.06% (6,497,792B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | | | ->02.06% (6,497,792B) 0x57DF3F: 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.50% (4,707,088B) 0x78ECAC: init_key_cache (mf_keycache.c:438) | | ->01.50% (4,707,088B) 0x676B33: ha_init_key_cache (handler.cc:4174) | | ->01.50% (4,707,088B) 0x50B00A: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) | | ->01.50% (4,707,088B) 0x507A1E: init_server_components() (mysqld.cc:3907) | | ->01.50% (4,707,088B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->01.50% (4,707,088B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.29% (4,061,040B) 0x72B253: QUICK_RANGE_SELECT::reset() (opt_range.cc:8630) | | ->01.29% (4,061,040B) 0x596453: join_init_read_record(st_join_table*) (sql_select.cc:12533) | | ->01.29% (4,061,040B) 0x59B434: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11767) | | ->01.29% (4,061,040B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.29% (4,061,040B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.29% (4,061,040B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->01.29% (4,061,040B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->01.29% (4,061,040B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->01.29% (4,061,040B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->01.29% (4,061,040B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->01.29% (4,061,040B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->01.29% (4,061,040B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->01.29% (4,061,040B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->01.29% (4,061,040B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.29% (4,061,040B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.29% (4,061,040B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.29% (4,061,040B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->01.29% (4,061,040B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->01.29% (4,061,040B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->01.29% (4,061,040B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->01.29% (4,061,040B) 0x5B0CA1: 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,061,040B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->01.29% (4,061,040B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->01.29% (4,061,040B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->01.29% (4,061,040B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->01.29% (4,061,040B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->01.29% (4,061,040B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->01.29% (4,061,040B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->01.29% (4,061,040B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.16% (496,534B) in 1+ places, all below ms_print's threshold (01.00%) | ->11.99% (37,742,720B) 0x8A8B07: mem_heap_create_block (mem0mem.c:333) | ->10.66% (33,555,064B) 0x89FFFC: log_init (mem0mem.ic:439) | | ->10.66% (33,555,064B) 0x8000D3: innobase_start_or_create_for_mysql (srv0start.c:1428) | | ->10.66% (33,555,064B) 0x7D130B: innobase_init(void*) (ha_innodb.cc:2546) | | ->10.66% (33,555,064B) 0x673356: ha_initialize_handlerton(st_plugin_int*) (handler.cc:544) | | ->10.66% (33,555,064B) 0x582A18: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1100) | | ->10.66% (33,555,064B) 0x58663B: plugin_init(int*, char**, int) (sql_plugin.cc:1386) | | ->10.66% (33,555,064B) 0x507A79: init_server_components() (mysqld.cc:3917) | | ->10.66% (33,555,064B) 0x508640: mysqld_main(int, char**) (mysqld.cc:4498) | | ->10.66% (33,555,064B) 0x59269C2: (below main) (in /lib64/libc-2.5.so) | | | ->01.33% (4,187,656B) in 75 places, all below massif's threshold (01.00%) | ->04.74% (14,918,065B) 0x81FF71: ut_malloc_low (ut0mem.c:102) | ->02.50% (7,857,152B) 0x8B49A4: os_event_create (os0sync.c:389) | | ->02.50% (7,857,152B) in 19 places, all below massif's threshold (01.00%) | | | ->01.13% (3,564,440B) 0x88426F: hash0_create (hash0hash.c:114) | | ->01.13% (3,564,440B) in 13 places, all below massif's threshold (01.00%) | | | ->01.11% (3,496,473B) in 22 places, all below massif's threshold (01.00%) | ->04.51% (14,213,920B) 0x731D28: get_quick_select(PARAM*, unsigned int, SEL_ARG*, st_mem_root*) (opt_range.cc:7928) | ->04.51% (14,213,920B) 0x73E179: TRP_RANGE::make_quick(PARAM*, bool, st_mem_root*) (opt_range.cc:1925) | ->04.51% (14,213,920B) 0x73ABCA: SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool) (opt_range.cc:2392) | ->04.51% (14,213,920B) 0x5A8CA0: test_if_skip_sort_order(st_join_table*, st_order*, unsigned long long, bool, Bitmap<64u>*) (sql_select.cc:13945) | | ->04.51% (14,213,920B) 0x5A931D: create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool) (sql_select.cc:14167) | | ->04.51% (14,213,920B) 0x5B4E28: JOIN::exec() (sql_select.cc:2348) | | ->04.51% (14,213,920B) 0x6E003A: subselect_single_select_engine::exec() (item_subselect.cc:2008) | | ->04.51% (14,213,920B) 0x6DE92B: Item_subselect::exec() (item_subselect.cc:277) | | ->04.51% (14,213,920B) 0x6DEC73: Item_singlerow_subselect::val_int() (item_subselect.cc:591) | | ->04.51% (14,213,920B) 0x693106: Arg_comparator::compare_int_unsigned() (item_cmpfunc.cc:1513) | | ->04.51% (14,213,920B) 0x69B291: Item_func_eq::val_int() (item_cmpfunc.h:88) | | ->04.51% (14,213,920B) 0x67C8DA: Item::val_bool() (item.cc:200) | | ->04.51% (14,213,920B) 0x694A78: Item_cond_and::val_int() (item_cmpfunc.cc:4616) | | ->04.51% (14,213,920B) 0x595E8B: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11816) | | ->04.51% (14,213,920B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.51% (14,213,920B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.51% (14,213,920B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.51% (14,213,920B) 0x595DDC: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11915) | | ->04.51% (14,213,920B) 0x59B454: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11768) | | ->04.51% (14,213,920B) 0x5A0D46: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11533) | | ->04.51% (14,213,920B) 0x5B4F18: JOIN::exec() (sql_select.cc:2385) | | ->04.51% (14,213,920B) 0x5B0CA1: 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.51% (14,213,920B) 0x5B6A87: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:297) | | ->04.51% (14,213,920B) 0x5746FF: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4590) | | ->04.51% (14,213,920B) 0x57A049: mysql_execute_command(THD*) (sql_parse.cc:2151) | | ->04.51% (14,213,920B) 0x57C388: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5627) | | ->04.51% (14,213,920B) 0x57DF3F: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1037) | | ->04.51% (14,213,920B) 0x6155E5: do_handle_one_connection(THD*) (sql_connect.cc:853) | | ->04.51% (14,213,920B) 0x615652: handle_one_connection (sql_connect.cc:772) | | ->04.51% (14,213,920B) 0x4E2B83B: start_thread (in /lib64/libpthread-2.5.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.36% (1,130,485B) in 1+ places, all below ms_print's threshold (01.00%)