-------------------------------------------------------------------------------- Command: /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --log-error=/var/log/mysql/error.log --open-files-limit=65536 --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306 --innodb-numa-interleave=1 --innodb-buffer-pool-size=10G Massif arguments: --massif-out-file=/tmp/valgrind/massif.out --depth=100 ms_print arguments: /tmp/valgrind/massif.out -------------------------------------------------------------------------------- GB 16.41^ # | @@@# | @@@@@@@@# | @@@@@@@@@@@# | @@@@@@@@@@@@@@@# | @::@@@@@@@@@@@@@@@# | @@@::@::@@@@@@@@@@@@@@@# | ::@:@ @: @::@@@@@@@@@@@@@@@# | :@@@::@:@ @: @::@@@@@@@@@@@@@@@# | @@@@:@@ ::@:@ @: @::@@@@@@@@@@@@@@@# | :@@@@ :@@ ::@:@ @: @::@@@@@@@@@@@@@@@# | :@::::@@@@ :@@ ::@:@ @: @::@@@@@@@@@@@@@@@# | @@@@:@:: :@@@@ :@@ ::@:@ @: @::@@@@@@@@@@@@@@@# | ::@:@ @@:@:: :@@@@ :@@ ::@:@ @: @::@@@@@@@@@@@@@@@# | @@@@: @:@ @@:@:: :@@@@ :@@ ::@:@ @: @::@@@@@@@@@@@@@@@# | :::@@@@@: @:@ @@:@:: :@@@@ :@@ ::@:@ @: @::@@@@@@@@@@@@@@@# | ::@@:: @@@@@: @:@ @@:@:: :@@@@ :@@ ::@:@ @: @::@@@@@@@@@@@@@@@# | @:@::@@:: @@@@@: @:@ @@:@:: :@@@@ :@@ ::@:@ @: @::@@@@@@@@@@@@@@@# | :@@:@:@::@@:: @@@@@: @:@ @@:@:: :@@@@ :@@ ::@:@ @: @::@@@@@@@@@@@@@@@# |:::@ :@:@::@@:: @@@@@: @:@ @@:@:: :@@@@ :@@ ::@:@ @: @::@@@@@@@@@@@@@@@# 0 +----------------------------------------------------------------------->Gi 0 319.3 Number of snapshots: 89 Detailed snapshots: [3, 5, 7, 10, 11, 14, 15, 16, 17, 18, 20, 22, 23, 24, 26, 30, 31, 32, 33, 34, 36, 37, 40, 42, 43, 45, 48, 50, 52, 54, 55, 57, 59, 61, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87 (peak)] -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 0 0 0 0 0 0 1 4,485,158,423 1,587,319,152 1,587,131,265 187,887 0 2 12,078,806,386 1,953,146,208 1,952,905,967 240,241 0 3 18,444,452,411 2,259,502,552 2,259,218,869 283,683 0 99.99% (2,259,218,869B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->50.78% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->12.29% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->12.29% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->12.29% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->12.29% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->12.09% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->12.09% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->12.09% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->12.09% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->07.52% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | | ->07.52% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->07.52% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->07.52% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->06.20% (140,024,072B) in 35 places, all below massif's threshold (01.00%) | | | ->04.50% (101,626,752B) 0x8D8074: init_instruments(PFS_global_param const*) (pfs_instr.cc:356) | | ->04.50% (101,626,752B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->04.50% (101,626,752B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->04.50% (101,626,752B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->03.76% (84,910,080B) 0x8D8285: init_instruments(PFS_global_param const*) (pfs_instr.cc:435) | | ->03.76% (84,910,080B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->03.76% (84,910,080B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->03.76% (84,910,080B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.76% (39,801,600B) 0x8D7DED: init_instruments(PFS_global_param const*) (pfs_instr.cc:377) | | ->01.76% (39,801,600B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.76% (39,801,600B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.76% (39,801,600B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.64% (37,120,000B) 0x8D7FAD: init_instruments(PFS_global_param const*) (pfs_instr.cc:325) | | ->01.64% (37,120,000B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.64% (37,120,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.64% (37,120,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.03% (23,350,272B) 0x8D8017: init_instruments(PFS_global_param const*) (pfs_instr.cc:339) | ->01.03% (23,350,272B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.03% (23,350,272B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.03% (23,350,272B) 0x6DD1B43: (below main) (libc-start.c:287) | ->36.60% (827,021,029B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->33.82% (764,226,672B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->33.23% (750,907,312B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->33.23% (750,907,312B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->33.23% (750,907,312B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->33.23% (750,907,312B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->33.23% (750,907,312B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->33.23% (750,907,312B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->33.23% (750,907,312B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->33.23% (750,907,312B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->33.23% (750,907,312B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->33.23% (750,907,312B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->33.23% (750,907,312B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->33.23% (750,907,312B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->33.23% (750,907,312B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->33.23% (750,907,312B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->33.23% (750,907,312B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->33.23% (750,907,312B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->33.23% (750,907,312B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->33.23% (750,907,312B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->33.23% (750,907,312B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->33.23% (750,907,312B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->33.23% (750,907,312B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->33.23% (750,907,312B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->33.23% (750,907,312B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->33.23% (750,907,312B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->33.23% (750,907,312B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->33.23% (750,907,312B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.59% (13,319,360B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.69% (38,202,973B) in 75 places, all below massif's threshold (01.00%) | | | ->01.09% (24,591,384B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | ->01.09% (24,591,384B) in 2 places, all below massif's threshold (01.00%) | ->11.87% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->11.56% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->07.99% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->07.52% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->07.52% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->07.52% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->07.52% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->07.52% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->07.52% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->07.52% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->07.52% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->07.52% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->07.52% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.47% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->02.39% (54,048,840B) in 10 places, all below massif's threshold (01.00%) | | | | | ->01.18% (26,563,016B) 0x98FBEC: lock_sys_create(unsigned long) (lock0lock.cc:618) | | ->01.18% (26,563,016B) 0xA2931F: innobase_start_or_create_for_mysql() (srv0start.cc:2061) | | ->01.18% (26,563,016B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | ->01.18% (26,563,016B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | ->01.18% (26,563,016B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | ->01.18% (26,563,016B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | ->01.18% (26,563,016B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | ->01.18% (26,563,016B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | ->01.18% (26,563,016B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->00.31% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.73% (16,562,650B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 4 23,931,055,380 2,521,516,776 2,521,196,497 320,279 0 5 32,122,219,807 2,912,876,368 2,912,502,131 374,237 0 99.99% (2,912,502,131B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->50.82% (1,480,273,683B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->48.19% (1,403,689,184B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->47.32% (1,378,420,064B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->47.32% (1,378,420,064B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->47.32% (1,378,420,064B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->47.32% (1,378,420,064B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->47.32% (1,378,420,064B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->47.32% (1,378,420,064B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->47.32% (1,378,420,064B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->47.32% (1,378,420,064B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->47.32% (1,378,420,064B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->47.32% (1,378,420,064B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->47.32% (1,378,420,064B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->47.32% (1,378,420,064B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->47.32% (1,378,420,064B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->47.32% (1,378,420,064B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->47.32% (1,378,420,064B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->47.32% (1,378,420,064B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->47.32% (1,378,420,064B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->47.32% (1,378,420,064B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->47.32% (1,378,420,064B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->47.32% (1,378,420,064B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->47.32% (1,378,420,064B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->47.32% (1,378,420,064B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->47.32% (1,378,420,064B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->47.32% (1,378,420,064B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->47.32% (1,378,420,064B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->47.32% (1,378,420,064B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.87% (25,269,120B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.35% (39,295,603B) in 75 places, all below massif's threshold (01.00%) | | | ->01.28% (37,288,896B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | ->01.02% (29,582,784B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | ->01.02% (29,582,784B) 0xB2CEDF: heap_write (hp_write.c:57) | | ->01.02% (29,582,784B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.02% (29,582,784B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.02% (29,582,784B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | ->01.02% (29,582,784B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | ->01.02% (29,582,784B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | ->01.02% (29,582,784B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | ->01.02% (29,582,784B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | ->01.02% (29,582,784B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | ->01.02% (29,582,784B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | ->01.02% (29,582,784B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | ->01.02% (29,582,784B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | ->01.02% (29,582,784B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | ->01.02% (29,582,784B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | ->01.02% (29,582,784B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | ->01.02% (29,582,784B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | ->01.02% (29,582,784B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | ->01.02% (29,582,784B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | ->01.02% (29,582,784B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | ->01.02% (29,582,784B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | ->01.02% (29,582,784B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | ->01.02% (29,582,784B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | ->01.02% (29,582,784B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | ->01.02% (29,582,784B) 0x4E340C8: start_thread (pthread_create.c:309) | | | ->01.02% (29,582,784B) 0x6E988AB: clone (clone.S:111) | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.26% (7,706,112B) in 1+ places, all below ms_print's threshold (01.00%) | ->39.39% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->09.53% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->09.53% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->09.53% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->09.53% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->09.38% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->09.38% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->09.38% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->09.38% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->05.83% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | | ->05.83% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->05.83% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->05.83% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->05.61% (163,374,344B) in 36 places, all below massif's threshold (01.00%) | | | ->03.49% (101,626,752B) 0x8D8074: init_instruments(PFS_global_param const*) (pfs_instr.cc:356) | | ->03.49% (101,626,752B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->03.49% (101,626,752B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->03.49% (101,626,752B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->02.91% (84,910,080B) 0x8D8285: init_instruments(PFS_global_param const*) (pfs_instr.cc:435) | | ->02.91% (84,910,080B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.91% (84,910,080B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.91% (84,910,080B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.37% (39,801,600B) 0x8D7DED: init_instruments(PFS_global_param const*) (pfs_instr.cc:377) | | ->01.37% (39,801,600B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.37% (39,801,600B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.37% (39,801,600B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.27% (37,120,000B) 0x8D7FAD: init_instruments(PFS_global_param const*) (pfs_instr.cc:325) | ->01.27% (37,120,000B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.27% (37,120,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.27% (37,120,000B) 0x6DD1B43: (below main) (libc-start.c:287) | ->09.21% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->08.97% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->06.20% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->05.84% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->05.84% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->05.84% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->05.84% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->05.84% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->05.84% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->05.84% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->05.84% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->05.84% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->05.84% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.37% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->02.77% (80,611,856B) in 11 places, all below massif's threshold (01.00%) | | | ->00.24% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.57% (16,593,258B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 6 36,709,561,266 3,131,646,264 3,131,242,159 404,105 0 7 42,016,616,332 3,385,080,152 3,384,641,487 438,665 0 99.99% (3,384,641,487B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->57.68% (1,952,407,975B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->55.16% (1,867,138,088B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->54.16% (1,833,308,968B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->54.16% (1,833,308,968B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->54.16% (1,833,308,968B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->54.16% (1,833,308,968B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->54.16% (1,833,308,968B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->54.16% (1,833,308,968B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->54.16% (1,833,308,968B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->54.16% (1,833,308,968B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->54.16% (1,833,308,968B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->54.16% (1,833,308,968B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->54.16% (1,833,308,968B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->54.16% (1,833,308,968B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->54.16% (1,833,308,968B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->54.16% (1,833,308,968B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->54.16% (1,833,308,968B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->54.16% (1,833,308,968B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->54.16% (1,833,308,968B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->54.16% (1,833,308,968B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->54.16% (1,833,308,968B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->54.16% (1,833,308,968B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->54.16% (1,833,308,968B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->54.16% (1,833,308,968B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->54.16% (1,833,308,968B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->54.16% (1,833,308,968B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->54.16% (1,833,308,968B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->54.16% (1,833,308,968B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.00% (33,829,120B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.33% (45,003,840B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.05% (35,703,360B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.05% (35,703,360B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.05% (35,703,360B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.05% (35,703,360B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.05% (35,703,360B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.05% (35,703,360B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.05% (35,703,360B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.05% (35,703,360B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.05% (35,703,360B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.05% (35,703,360B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.05% (35,703,360B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.05% (35,703,360B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.05% (35,703,360B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.05% (35,703,360B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.05% (35,703,360B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.05% (35,703,360B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.05% (35,703,360B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.05% (35,703,360B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.05% (35,703,360B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.05% (35,703,360B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.05% (35,703,360B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.05% (35,703,360B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.05% (35,703,360B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.05% (35,703,360B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.05% (35,703,360B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.05% (35,703,360B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.27% (9,300,480B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.19% (40,266,047B) in 79 places, all below massif's threshold (01.00%) | ->33.89% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->08.20% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->08.20% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->08.20% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->08.20% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->08.07% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->08.07% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->08.07% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->08.07% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->05.02% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | | ->05.02% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->05.02% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->05.02% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->04.83% (163,374,344B) in 36 places, all below massif's threshold (01.00%) | | | ->03.00% (101,626,752B) 0x8D8074: init_instruments(PFS_global_param const*) (pfs_instr.cc:356) | | ->03.00% (101,626,752B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->03.00% (101,626,752B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->03.00% (101,626,752B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->02.51% (84,910,080B) 0x8D8285: init_instruments(PFS_global_param const*) (pfs_instr.cc:435) | | ->02.51% (84,910,080B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.51% (84,910,080B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.51% (84,910,080B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.18% (39,801,600B) 0x8D7DED: init_instruments(PFS_global_param const*) (pfs_instr.cc:377) | | ->01.18% (39,801,600B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.18% (39,801,600B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.18% (39,801,600B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.10% (37,120,000B) 0x8D7FAD: init_instruments(PFS_global_param const*) (pfs_instr.cc:325) | ->01.10% (37,120,000B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.10% (37,120,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.10% (37,120,000B) 0x6DD1B43: (below main) (libc-start.c:287) | ->07.93% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->07.72% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->05.34% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->05.02% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->05.02% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->05.02% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->05.02% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->05.02% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->05.02% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->05.02% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->05.02% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->05.02% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->05.02% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.31% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->02.38% (80,611,856B) in 11 places, all below massif's threshold (01.00%) | | | ->00.21% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.49% (16,598,322B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 8 46,209,585,692 3,584,892,752 3,584,426,837 465,915 0 9 51,880,495,469 3,855,007,976 3,854,505,219 502,757 0 10 55,032,975,977 4,005,853,472 4,005,329,891 523,581 0 99.99% (4,005,329,891B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->64.23% (2,573,096,379B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->61.82% (2,476,506,872B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->60.70% (2,431,515,512B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->60.70% (2,431,515,512B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->60.70% (2,431,515,512B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->60.70% (2,431,515,512B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->60.70% (2,431,515,512B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->60.70% (2,431,515,512B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->60.70% (2,431,515,512B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->60.70% (2,431,515,512B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->60.70% (2,431,515,512B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->60.70% (2,431,515,512B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->60.70% (2,431,515,512B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->60.70% (2,431,515,512B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->60.70% (2,431,515,512B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->60.70% (2,431,515,512B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->60.70% (2,431,515,512B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->60.70% (2,431,515,512B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->60.70% (2,431,515,512B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->60.70% (2,431,515,512B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->60.70% (2,431,515,512B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->60.70% (2,431,515,512B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->60.70% (2,431,515,512B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->60.70% (2,431,515,512B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->60.70% (2,431,515,512B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->60.70% (2,431,515,512B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->60.70% (2,431,515,512B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->60.70% (2,431,515,512B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.12% (44,991,360B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.12% (44,991,360B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.12% (44,991,360B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.12% (44,991,360B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.12% (44,991,360B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.12% (44,991,360B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.12% (44,991,360B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.12% (44,991,360B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.12% (44,991,360B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.12% (44,991,360B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.12% (44,991,360B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.12% (44,991,360B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.12% (44,991,360B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.12% (44,991,360B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.12% (44,991,360B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.12% (44,991,360B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.12% (44,991,360B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.12% (44,991,360B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.12% (44,991,360B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.12% (44,991,360B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.12% (44,991,360B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.12% (44,991,360B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.12% (44,991,360B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.12% (44,991,360B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.12% (44,991,360B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.12% (44,991,360B) 0x6E988AB: clone (clone.S:111) | | | ->01.38% (55,451,160B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.10% (43,991,640B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.10% (43,991,640B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.10% (43,991,640B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.10% (43,991,640B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.10% (43,991,640B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.10% (43,991,640B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.10% (43,991,640B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.10% (43,991,640B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.10% (43,991,640B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.10% (43,991,640B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.10% (43,991,640B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.10% (43,991,640B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.10% (43,991,640B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.10% (43,991,640B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.10% (43,991,640B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.10% (43,991,640B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.10% (43,991,640B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.10% (43,991,640B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.10% (43,991,640B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.10% (43,991,640B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.10% (43,991,640B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.10% (43,991,640B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.10% (43,991,640B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.10% (43,991,640B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.10% (43,991,640B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.10% (43,991,640B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.29% (11,459,520B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.03% (41,138,347B) in 79 places, all below massif's threshold (01.00%) | ->28.64% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->06.93% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->06.93% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->06.93% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->06.93% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->06.82% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->06.82% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->06.82% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->06.82% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->06.00% (240,295,944B) in 38 places, all below massif's threshold (01.00%) | | | ->04.24% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | | ->04.24% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->04.24% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->04.24% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->02.54% (101,626,752B) 0x8D8074: init_instruments(PFS_global_param const*) (pfs_instr.cc:356) | | ->02.54% (101,626,752B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.54% (101,626,752B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.54% (101,626,752B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->02.12% (84,910,080B) 0x8D8285: init_instruments(PFS_global_param const*) (pfs_instr.cc:435) | ->02.12% (84,910,080B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->02.12% (84,910,080B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->02.12% (84,910,080B) 0x6DD1B43: (below main) (libc-start.c:287) | ->06.70% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->06.52% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->04.51% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->04.24% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->04.24% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->04.24% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->04.24% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->04.24% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->04.24% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->04.24% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->04.24% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->04.24% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->04.24% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.27% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->02.01% (80,611,856B) in 11 places, all below massif's threshold (01.00%) | | | ->00.18% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.41% (16,598,322B) 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 61,000,436,814 4,291,145,728 4,290,582,531 563,197 0 99.99% (4,290,582,531B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->66.61% (2,858,354,083B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->64.22% (2,755,647,384B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->63.05% (2,705,554,264B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->63.05% (2,705,554,264B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->63.05% (2,705,554,264B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->63.05% (2,705,554,264B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->63.05% (2,705,554,264B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->63.05% (2,705,554,264B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->63.05% (2,705,554,264B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->63.05% (2,705,554,264B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->63.05% (2,705,554,264B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->63.05% (2,705,554,264B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->63.05% (2,705,554,264B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->63.05% (2,705,554,264B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->63.05% (2,705,554,264B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->63.05% (2,705,554,264B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->63.05% (2,705,554,264B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->63.05% (2,705,554,264B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->63.05% (2,705,554,264B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->63.05% (2,705,554,264B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->63.05% (2,705,554,264B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->63.05% (2,705,554,264B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->63.05% (2,705,554,264B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->63.05% (2,705,554,264B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->63.05% (2,705,554,264B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->63.05% (2,705,554,264B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->63.05% (2,705,554,264B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->63.05% (2,705,554,264B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.17% (50,093,120B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.17% (50,093,120B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.17% (50,093,120B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.17% (50,093,120B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.17% (50,093,120B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.17% (50,093,120B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.17% (50,093,120B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.17% (50,093,120B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.17% (50,093,120B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.17% (50,093,120B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.17% (50,093,120B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.17% (50,093,120B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.17% (50,093,120B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.17% (50,093,120B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.17% (50,093,120B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.17% (50,093,120B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.17% (50,093,120B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.17% (50,093,120B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.17% (50,093,120B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.17% (50,093,120B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.17% (50,093,120B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.17% (50,093,120B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.17% (50,093,120B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.17% (50,093,120B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.17% (50,093,120B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.17% (50,093,120B) 0x6E988AB: clone (clone.S:111) | | | ->01.43% (61,398,096B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.14% (48,709,584B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.14% (48,709,584B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.14% (48,709,584B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.14% (48,709,584B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.14% (48,709,584B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.14% (48,709,584B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.14% (48,709,584B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.14% (48,709,584B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.14% (48,709,584B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.14% (48,709,584B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.14% (48,709,584B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.14% (48,709,584B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.14% (48,709,584B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.14% (48,709,584B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.14% (48,709,584B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.14% (48,709,584B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.14% (48,709,584B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.14% (48,709,584B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.14% (48,709,584B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.14% (48,709,584B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.14% (48,709,584B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.14% (48,709,584B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.14% (48,709,584B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.14% (48,709,584B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.14% (48,709,584B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.14% (48,709,584B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.30% (12,688,512B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.96% (41,308,603B) in 1+ places, all below ms_print's threshold (01.00%) | ->26.74% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->06.47% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->06.47% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->06.47% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->06.47% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->06.36% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->06.36% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->06.36% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->06.36% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->05.60% (240,295,944B) in 38 places, all below massif's threshold (01.00%) | | | ->03.96% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | | ->03.96% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->03.96% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->03.96% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->02.37% (101,626,752B) 0x8D8074: init_instruments(PFS_global_param const*) (pfs_instr.cc:356) | | ->02.37% (101,626,752B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.37% (101,626,752B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.37% (101,626,752B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.98% (84,910,080B) 0x8D8285: init_instruments(PFS_global_param const*) (pfs_instr.cc:435) | ->01.98% (84,910,080B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.98% (84,910,080B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.98% (84,910,080B) 0x6DD1B43: (below main) (libc-start.c:287) | ->06.25% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->06.09% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->04.21% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->03.96% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->03.96% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->03.96% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->03.96% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->03.96% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->03.96% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->03.96% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->03.96% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->03.96% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->03.96% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.25% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.88% (80,611,856B) in 11 places, all below massif's threshold (01.00%) | | | ->00.16% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.39% (16,593,258B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 12 65,903,477,805 4,526,518,776 4,525,922,583 596,193 0 13 70,360,798,420 4,739,722,792 4,739,097,141 625,651 0 14 78,053,424,039 5,106,723,392 5,106,047,525 675,867 0 99.99% (5,106,047,525B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->71.94% (3,673,844,621B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->69.58% (3,553,429,288B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->68.32% (3,488,852,648B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->68.32% (3,488,852,648B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->68.32% (3,488,852,648B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->68.32% (3,488,852,648B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->68.32% (3,488,852,648B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->68.32% (3,488,852,648B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->68.32% (3,488,852,648B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->68.32% (3,488,852,648B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->68.32% (3,488,852,648B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->68.32% (3,488,852,648B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->68.32% (3,488,852,648B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->68.32% (3,488,852,648B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->68.32% (3,488,852,648B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->68.32% (3,488,852,648B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->68.32% (3,488,852,648B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->68.32% (3,488,852,648B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->68.32% (3,488,852,648B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->68.32% (3,488,852,648B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->68.32% (3,488,852,648B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->68.32% (3,488,852,648B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->68.32% (3,488,852,648B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->68.32% (3,488,852,648B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->68.32% (3,488,852,648B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->68.32% (3,488,852,648B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->68.32% (3,488,852,648B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->68.32% (3,488,852,648B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.26% (64,576,640B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.26% (64,576,640B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.26% (64,576,640B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.26% (64,576,640B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.26% (64,576,640B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.26% (64,576,640B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.26% (64,576,640B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.26% (64,576,640B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.26% (64,576,640B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.26% (64,576,640B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.26% (64,576,640B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.26% (64,576,640B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.26% (64,576,640B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.26% (64,576,640B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.26% (64,576,640B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.26% (64,576,640B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.26% (64,576,640B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.26% (64,576,640B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.26% (64,576,640B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.26% (64,576,640B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.26% (64,576,640B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.26% (64,576,640B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.26% (64,576,640B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.26% (64,576,640B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.26% (64,576,640B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.26% (64,576,640B) 0x6E988AB: clone (clone.S:111) | | | ->01.52% (77,470,896B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.20% (61,460,784B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.20% (61,460,784B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.20% (61,460,784B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.20% (61,460,784B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.20% (61,460,784B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.20% (61,460,784B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.20% (61,460,784B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.20% (61,460,784B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.20% (61,460,784B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.20% (61,460,784B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.20% (61,460,784B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.20% (61,460,784B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.20% (61,460,784B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.20% (61,460,784B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.20% (61,460,784B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.20% (61,460,784B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.20% (61,460,784B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.20% (61,460,784B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.20% (61,460,784B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.20% (61,460,784B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.20% (61,460,784B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.20% (61,460,784B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.20% (61,460,784B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.20% (61,460,784B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.20% (61,460,784B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.20% (61,460,784B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.31% (16,010,112B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.84% (42,944,437B) in 1+ places, all below ms_print's threshold (01.00%) | ->22.47% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->05.44% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->05.44% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->05.44% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->05.44% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->05.35% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->05.35% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->05.35% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->05.35% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->04.71% (240,295,944B) in 38 places, all below massif's threshold (01.00%) | | | ->03.33% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | | ->03.33% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->03.33% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->03.33% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.99% (101,626,752B) 0x8D8074: init_instruments(PFS_global_param const*) (pfs_instr.cc:356) | | ->01.99% (101,626,752B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.99% (101,626,752B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.99% (101,626,752B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.66% (84,910,080B) 0x8D8285: init_instruments(PFS_global_param const*) (pfs_instr.cc:435) | ->01.66% (84,910,080B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.66% (84,910,080B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.66% (84,910,080B) 0x6DD1B43: (below main) (libc-start.c:287) | ->05.25% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->05.12% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->03.54% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->03.33% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->03.33% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->03.33% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->03.33% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->03.33% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->03.33% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->03.33% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->03.33% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->03.33% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->03.33% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.21% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.58% (80,611,856B) in 11 places, all below massif's threshold (01.00%) | | | ->00.14% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.32% (16,567,714B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 15 83,031,652,398 5,344,415,424 5,343,706,591 708,833 0 99.99% (5,343,706,591B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->73.19% (3,911,478,143B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->70.85% (3,786,306,352B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->69.56% (3,717,518,192B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->69.56% (3,717,518,192B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->69.56% (3,717,518,192B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->69.56% (3,717,518,192B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->69.56% (3,717,518,192B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->69.56% (3,717,518,192B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->69.56% (3,717,518,192B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->69.56% (3,717,518,192B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->69.56% (3,717,518,192B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->69.56% (3,717,518,192B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->69.56% (3,717,518,192B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->69.56% (3,717,518,192B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->69.56% (3,717,518,192B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->69.56% (3,717,518,192B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->69.56% (3,717,518,192B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->69.56% (3,717,518,192B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->69.56% (3,717,518,192B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->69.56% (3,717,518,192B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->69.56% (3,717,518,192B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->69.56% (3,717,518,192B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->69.56% (3,717,518,192B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->69.56% (3,717,518,192B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->69.56% (3,717,518,192B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->69.56% (3,717,518,192B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->69.56% (3,717,518,192B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->69.56% (3,717,518,192B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.29% (68,788,160B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.29% (68,788,160B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.29% (68,788,160B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.29% (68,788,160B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.29% (68,788,160B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.29% (68,788,160B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.29% (68,788,160B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.29% (68,788,160B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.29% (68,788,160B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.29% (68,788,160B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.29% (68,788,160B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.29% (68,788,160B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.29% (68,788,160B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.29% (68,788,160B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.29% (68,788,160B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.29% (68,788,160B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.29% (68,788,160B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.29% (68,788,160B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.29% (68,788,160B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.29% (68,788,160B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.29% (68,788,160B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.29% (68,788,160B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.29% (68,788,160B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.29% (68,788,160B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.29% (68,788,160B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.29% (68,788,160B) 0x6E988AB: clone (clone.S:111) | | | ->01.54% (82,132,008B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.22% (65,158,632B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.22% (65,158,632B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.22% (65,158,632B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.22% (65,158,632B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.22% (65,158,632B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.22% (65,158,632B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.22% (65,158,632B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.22% (65,158,632B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.22% (65,158,632B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.22% (65,158,632B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.22% (65,158,632B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.22% (65,158,632B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.22% (65,158,632B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.22% (65,158,632B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.22% (65,158,632B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.22% (65,158,632B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.22% (65,158,632B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.22% (65,158,632B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.22% (65,158,632B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.22% (65,158,632B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.22% (65,158,632B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.22% (65,158,632B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.22% (65,158,632B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.22% (65,158,632B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.22% (65,158,632B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.22% (65,158,632B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.32% (16,973,376B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.81% (43,039,783B) in 1+ places, all below ms_print's threshold (01.00%) | ->21.47% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->05.19% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->05.19% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->05.19% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->05.19% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->05.11% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->05.11% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->05.11% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->05.11% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->04.50% (240,295,944B) in 38 places, all below massif's threshold (01.00%) | | | ->03.18% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | | ->03.18% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->03.18% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->03.18% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.90% (101,626,752B) 0x8D8074: init_instruments(PFS_global_param const*) (pfs_instr.cc:356) | | ->01.90% (101,626,752B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.90% (101,626,752B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.90% (101,626,752B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.59% (84,910,080B) 0x8D8285: init_instruments(PFS_global_param const*) (pfs_instr.cc:435) | ->01.59% (84,910,080B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.59% (84,910,080B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.59% (84,910,080B) 0x6DD1B43: (below main) (libc-start.c:287) | ->05.02% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->04.89% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->03.38% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->03.18% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->03.18% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->03.18% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->03.18% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->03.18% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->03.18% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->03.18% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->03.18% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->03.18% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->03.18% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.20% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.51% (80,611,856B) in 11 places, all below massif's threshold (01.00%) | | | ->00.13% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.31% (16,593,258B) 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 86,953,667,882 5,531,566,904 5,530,832,395 734,509 0 99.99% (5,530,832,395B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->74.09% (4,098,603,947B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->71.77% (3,969,775,048B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->70.46% (3,897,597,128B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->70.46% (3,897,597,128B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->70.46% (3,897,597,128B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->70.46% (3,897,597,128B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->70.46% (3,897,597,128B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->70.46% (3,897,597,128B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->70.46% (3,897,597,128B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->70.46% (3,897,597,128B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->70.46% (3,897,597,128B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->70.46% (3,897,597,128B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->70.46% (3,897,597,128B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->70.46% (3,897,597,128B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->70.46% (3,897,597,128B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->70.46% (3,897,597,128B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->70.46% (3,897,597,128B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->70.46% (3,897,597,128B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->70.46% (3,897,597,128B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->70.46% (3,897,597,128B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->70.46% (3,897,597,128B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->70.46% (3,897,597,128B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->70.46% (3,897,597,128B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->70.46% (3,897,597,128B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->70.46% (3,897,597,128B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->70.46% (3,897,597,128B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->70.46% (3,897,597,128B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->70.46% (3,897,597,128B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.30% (72,177,920B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.30% (72,177,920B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.30% (72,177,920B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.30% (72,177,920B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.30% (72,177,920B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.30% (72,177,920B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.30% (72,177,920B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.30% (72,177,920B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.30% (72,177,920B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.30% (72,177,920B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.30% (72,177,920B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.30% (72,177,920B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.30% (72,177,920B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.30% (72,177,920B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.30% (72,177,920B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.30% (72,177,920B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.30% (72,177,920B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.30% (72,177,920B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.30% (72,177,920B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.30% (72,177,920B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.30% (72,177,920B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.30% (72,177,920B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.30% (72,177,920B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.30% (72,177,920B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.30% (72,177,920B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.30% (72,177,920B) 0x6E988AB: clone (clone.S:111) | | | ->01.55% (85,507,296B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.23% (67,836,384B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.23% (67,836,384B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.23% (67,836,384B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.23% (67,836,384B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.23% (67,836,384B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.23% (67,836,384B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.23% (67,836,384B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.23% (67,836,384B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.23% (67,836,384B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.23% (67,836,384B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.23% (67,836,384B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.23% (67,836,384B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.23% (67,836,384B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.23% (67,836,384B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.23% (67,836,384B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.23% (67,836,384B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.23% (67,836,384B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.23% (67,836,384B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.23% (67,836,384B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.23% (67,836,384B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.23% (67,836,384B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.23% (67,836,384B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.23% (67,836,384B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.23% (67,836,384B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.23% (67,836,384B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.23% (67,836,384B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.32% (17,670,912B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.78% (43,321,603B) in 1+ places, all below ms_print's threshold (01.00%) | ->20.74% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->05.02% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->05.02% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->05.02% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->05.02% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->04.94% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->04.94% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->04.94% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->04.94% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->04.34% (240,295,944B) in 38 places, all below massif's threshold (01.00%) | | | ->03.07% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | | ->03.07% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->03.07% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->03.07% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.84% (101,626,752B) 0x8D8074: init_instruments(PFS_global_param const*) (pfs_instr.cc:356) | | ->01.84% (101,626,752B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.84% (101,626,752B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.84% (101,626,752B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.54% (84,910,080B) 0x8D8285: init_instruments(PFS_global_param const*) (pfs_instr.cc:435) | ->01.54% (84,910,080B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.54% (84,910,080B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.54% (84,910,080B) 0x6DD1B43: (below main) (libc-start.c:287) | ->04.85% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->04.72% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->03.27% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->03.07% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->03.07% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->03.07% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->03.07% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->03.07% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->03.07% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->03.07% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->03.07% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->03.07% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->03.07% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.19% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.46% (80,611,856B) in 11 places, all below massif's threshold (01.00%) | | | ->00.13% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.30% (16,593,258B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 17 92,487,790,744 5,795,534,096 5,794,763,639 770,457 0 99.99% (5,794,763,639B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->75.27% (4,362,530,127B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->72.97% (4,228,847,096B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->71.64% (4,151,841,336B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->71.64% (4,151,841,336B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->71.64% (4,151,841,336B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->71.64% (4,151,841,336B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->71.64% (4,151,841,336B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->71.64% (4,151,841,336B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->71.64% (4,151,841,336B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->71.64% (4,151,841,336B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->71.64% (4,151,841,336B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->71.64% (4,151,841,336B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->71.64% (4,151,841,336B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->71.64% (4,151,841,336B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->71.64% (4,151,841,336B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->71.64% (4,151,841,336B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->71.64% (4,151,841,336B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->71.64% (4,151,841,336B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->71.64% (4,151,841,336B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->71.64% (4,151,841,336B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->71.64% (4,151,841,336B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->71.64% (4,151,841,336B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->71.64% (4,151,841,336B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->71.64% (4,151,841,336B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->71.64% (4,151,841,336B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->71.64% (4,151,841,336B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->71.64% (4,151,841,336B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->71.64% (4,151,841,336B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.33% (77,005,760B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.33% (77,005,760B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.33% (77,005,760B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.33% (77,005,760B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.33% (77,005,760B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.33% (77,005,760B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.33% (77,005,760B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.33% (77,005,760B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.33% (77,005,760B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.33% (77,005,760B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.33% (77,005,760B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.33% (77,005,760B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.33% (77,005,760B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.33% (77,005,760B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.33% (77,005,760B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.33% (77,005,760B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.33% (77,005,760B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.33% (77,005,760B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.33% (77,005,760B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.33% (77,005,760B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.33% (77,005,760B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.33% (77,005,760B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.33% (77,005,760B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.33% (77,005,760B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.33% (77,005,760B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.33% (77,005,760B) 0x6E988AB: clone (clone.S:111) | | | ->01.55% (89,686,224B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.23% (71,151,696B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.23% (71,151,696B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.23% (71,151,696B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.23% (71,151,696B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.23% (71,151,696B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.23% (71,151,696B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.23% (71,151,696B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.23% (71,151,696B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.23% (71,151,696B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.23% (71,151,696B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.23% (71,151,696B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.23% (71,151,696B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.23% (71,151,696B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.23% (71,151,696B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.23% (71,151,696B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.23% (71,151,696B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.23% (71,151,696B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.23% (71,151,696B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.23% (71,151,696B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.23% (71,151,696B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.23% (71,151,696B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.23% (71,151,696B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.23% (71,151,696B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.23% (71,151,696B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.23% (71,151,696B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.23% (71,151,696B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.32% (18,534,528B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.76% (43,996,807B) in 1+ places, all below ms_print's threshold (01.00%) | ->19.80% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->04.79% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->04.79% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->04.79% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->04.79% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->04.71% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->04.71% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->04.71% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->04.71% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->04.15% (240,295,944B) in 38 places, all below massif's threshold (01.00%) | | | ->02.93% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | | ->02.93% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.93% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.93% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.75% (101,626,752B) 0x8D8074: init_instruments(PFS_global_param const*) (pfs_instr.cc:356) | | ->01.75% (101,626,752B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.75% (101,626,752B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.75% (101,626,752B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.47% (84,910,080B) 0x8D8285: init_instruments(PFS_global_param const*) (pfs_instr.cc:435) | ->01.47% (84,910,080B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.47% (84,910,080B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.47% (84,910,080B) 0x6DD1B43: (below main) (libc-start.c:287) | ->04.63% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->04.51% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->03.12% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->02.93% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->02.93% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->02.93% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->02.93% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->02.93% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->02.93% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->02.93% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->02.93% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->02.93% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->02.93% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.18% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.39% (80,611,856B) in 11 places, all below massif's threshold (01.00%) | | | ->00.12% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.29% (16,598,322B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 18 96,446,270,115 5,984,093,848 5,983,297,551 796,297 0 99.99% (5,983,297,551B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->76.05% (4,551,069,103B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->73.76% (4,414,055,240B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->72.42% (4,333,591,240B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->72.42% (4,333,591,240B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->72.42% (4,333,591,240B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->72.42% (4,333,591,240B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->72.42% (4,333,591,240B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->72.42% (4,333,591,240B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->72.42% (4,333,591,240B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->72.42% (4,333,591,240B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->72.42% (4,333,591,240B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->72.42% (4,333,591,240B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->72.42% (4,333,591,240B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->72.42% (4,333,591,240B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->72.42% (4,333,591,240B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->72.42% (4,333,591,240B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->72.42% (4,333,591,240B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->72.42% (4,333,591,240B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->72.42% (4,333,591,240B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->72.42% (4,333,591,240B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->72.42% (4,333,591,240B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->72.42% (4,333,591,240B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->72.42% (4,333,591,240B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->72.42% (4,333,591,240B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->72.42% (4,333,591,240B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->72.42% (4,333,591,240B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->72.42% (4,333,591,240B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->72.42% (4,333,591,240B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.34% (80,464,000B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.34% (80,464,000B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.34% (80,464,000B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.34% (80,464,000B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.34% (80,464,000B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.34% (80,464,000B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.34% (80,464,000B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.34% (80,464,000B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.34% (80,464,000B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.34% (80,464,000B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.34% (80,464,000B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.34% (80,464,000B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.34% (80,464,000B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.34% (80,464,000B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.34% (80,464,000B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.34% (80,464,000B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.34% (80,464,000B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.34% (80,464,000B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.34% (80,464,000B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.34% (80,464,000B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.34% (80,464,000B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.34% (80,464,000B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.34% (80,464,000B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.34% (80,464,000B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.34% (80,464,000B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.34% (80,464,000B) 0x6E988AB: clone (clone.S:111) | | | ->01.56% (93,061,512B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.23% (73,829,448B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.23% (73,829,448B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.23% (73,829,448B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.23% (73,829,448B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.23% (73,829,448B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.23% (73,829,448B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.23% (73,829,448B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.23% (73,829,448B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.23% (73,829,448B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.23% (73,829,448B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.23% (73,829,448B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.23% (73,829,448B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.23% (73,829,448B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.23% (73,829,448B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.23% (73,829,448B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.23% (73,829,448B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.23% (73,829,448B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.23% (73,829,448B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.23% (73,829,448B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.23% (73,829,448B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.23% (73,829,448B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.23% (73,829,448B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.23% (73,829,448B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.23% (73,829,448B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.23% (73,829,448B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.23% (73,829,448B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.32% (19,232,064B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.73% (43,952,351B) in 1+ places, all below ms_print's threshold (01.00%) | ->19.17% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->04.64% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->04.64% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->04.64% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->04.64% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->04.56% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->04.56% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->04.56% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->04.56% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->04.02% (240,295,944B) in 38 places, all below massif's threshold (01.00%) | | | ->02.84% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | | ->02.84% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.84% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.84% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.70% (101,626,752B) 0x8D8074: init_instruments(PFS_global_param const*) (pfs_instr.cc:356) | | ->01.70% (101,626,752B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.70% (101,626,752B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.70% (101,626,752B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.42% (84,910,080B) 0x8D8285: init_instruments(PFS_global_param const*) (pfs_instr.cc:435) | ->01.42% (84,910,080B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.42% (84,910,080B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.42% (84,910,080B) 0x6DD1B43: (below main) (libc-start.c:287) | ->04.48% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->04.37% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->03.02% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->02.84% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->02.84% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->02.84% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->02.84% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->02.84% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->02.84% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->02.84% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->02.84% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->02.84% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->02.84% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.18% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.35% (80,611,856B) in 11 places, all below massif's threshold (01.00%) | | | ->00.12% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.28% (16,593,258B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 19 102,857,980,425 6,290,311,968 6,289,473,619 838,349 0 20 110,474,382,064 6,655,576,024 6,654,686,587 889,437 0 99.99% (6,654,686,587B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->78.47% (5,222,453,075B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->76.18% (5,070,484,504B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->74.80% (4,978,070,744B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->74.80% (4,978,070,744B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->74.80% (4,978,070,744B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->74.80% (4,978,070,744B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->74.80% (4,978,070,744B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->74.80% (4,978,070,744B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->74.80% (4,978,070,744B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->74.80% (4,978,070,744B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->74.80% (4,978,070,744B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->74.80% (4,978,070,744B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->74.80% (4,978,070,744B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->74.80% (4,978,070,744B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->74.80% (4,978,070,744B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->74.80% (4,978,070,744B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->74.80% (4,978,070,744B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->74.80% (4,978,070,744B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->74.80% (4,978,070,744B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->74.80% (4,978,070,744B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->74.80% (4,978,070,744B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->74.80% (4,978,070,744B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->74.80% (4,978,070,744B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->74.80% (4,978,070,744B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->74.80% (4,978,070,744B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->74.80% (4,978,070,744B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->74.80% (4,978,070,744B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->74.80% (4,978,070,744B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.39% (92,413,760B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.39% (92,413,760B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.39% (92,413,760B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.39% (92,413,760B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.39% (92,413,760B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.39% (92,413,760B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.39% (92,413,760B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.39% (92,413,760B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.39% (92,413,760B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.39% (92,413,760B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.39% (92,413,760B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.39% (92,413,760B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.39% (92,413,760B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.39% (92,413,760B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.39% (92,413,760B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.39% (92,413,760B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.39% (92,413,760B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.39% (92,413,760B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.39% (92,413,760B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.39% (92,413,760B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.39% (92,413,760B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.39% (92,413,760B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.39% (92,413,760B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.39% (92,413,760B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.39% (92,413,760B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.39% (92,413,760B) 0x6E988AB: clone (clone.S:111) | | | ->01.60% (106,562,664B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.27% (84,540,456B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.27% (84,540,456B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.27% (84,540,456B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.27% (84,540,456B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.27% (84,540,456B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.27% (84,540,456B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.27% (84,540,456B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.27% (84,540,456B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.27% (84,540,456B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.27% (84,540,456B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.27% (84,540,456B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.27% (84,540,456B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.27% (84,540,456B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.27% (84,540,456B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.27% (84,540,456B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.27% (84,540,456B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.27% (84,540,456B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.27% (84,540,456B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.27% (84,540,456B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.27% (84,540,456B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.27% (84,540,456B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.27% (84,540,456B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.27% (84,540,456B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.27% (84,540,456B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.27% (84,540,456B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.27% (84,540,456B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.33% (22,022,208B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.68% (45,405,907B) in 1+ places, all below ms_print's threshold (01.00%) | ->17.24% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->04.17% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->04.17% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->04.17% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->04.17% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->04.10% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->04.10% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->04.10% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->04.10% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->03.61% (240,295,944B) in 38 places, all below massif's threshold (01.00%) | | | ->02.55% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | | ->02.55% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.55% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.55% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.53% (101,626,752B) 0x8D8074: init_instruments(PFS_global_param const*) (pfs_instr.cc:356) | | ->01.53% (101,626,752B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.53% (101,626,752B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.53% (101,626,752B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.28% (84,910,080B) 0x8D8285: init_instruments(PFS_global_param const*) (pfs_instr.cc:435) | ->01.28% (84,910,080B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.28% (84,910,080B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.28% (84,910,080B) 0x6DD1B43: (below main) (libc-start.c:287) | ->04.03% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->03.93% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->02.71% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->02.55% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->02.55% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->02.55% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->02.55% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->02.55% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->02.55% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->02.55% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->02.55% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->02.55% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->02.55% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.16% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.21% (80,611,856B) in 11 places, all below massif's threshold (01.00%) | | | ->00.11% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.25% (16,598,322B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 21 116,278,943,473 6,932,721,624 6,931,793,965 927,659 0 22 123,012,161,670 7,254,815,944 7,253,843,887 972,057 0 99.99% (7,253,843,887B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->80.24% (5,821,610,375B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->77.98% (5,657,625,528B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->76.56% (5,554,426,168B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->76.56% (5,554,426,168B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->76.56% (5,554,426,168B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->76.56% (5,554,426,168B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->76.56% (5,554,426,168B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->76.56% (5,554,426,168B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->76.56% (5,554,426,168B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->76.56% (5,554,426,168B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->76.56% (5,554,426,168B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->76.56% (5,554,426,168B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->76.56% (5,554,426,168B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->76.56% (5,554,426,168B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->76.56% (5,554,426,168B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->76.56% (5,554,426,168B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->76.56% (5,554,426,168B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->76.56% (5,554,426,168B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->76.56% (5,554,426,168B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->76.56% (5,554,426,168B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->76.56% (5,554,426,168B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->76.56% (5,554,426,168B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->76.56% (5,554,426,168B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->76.56% (5,554,426,168B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->76.56% (5,554,426,168B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->76.56% (5,554,426,168B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->76.56% (5,554,426,168B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->76.56% (5,554,426,168B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.42% (103,199,360B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.42% (103,199,360B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.42% (103,199,360B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.42% (103,199,360B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.42% (103,199,360B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.42% (103,199,360B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.42% (103,199,360B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.42% (103,199,360B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.42% (103,199,360B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.42% (103,199,360B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.42% (103,199,360B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.42% (103,199,360B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.42% (103,199,360B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.42% (103,199,360B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.42% (103,199,360B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.42% (103,199,360B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.42% (103,199,360B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.42% (103,199,360B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.42% (103,199,360B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.42% (103,199,360B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.42% (103,199,360B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.42% (103,199,360B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.42% (103,199,360B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.42% (103,199,360B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.42% (103,199,360B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.42% (103,199,360B) 0x6E988AB: clone (clone.S:111) | | | ->01.62% (117,652,896B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.29% (93,338,784B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.29% (93,338,784B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.29% (93,338,784B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.29% (93,338,784B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.29% (93,338,784B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.29% (93,338,784B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.29% (93,338,784B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.29% (93,338,784B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.29% (93,338,784B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.29% (93,338,784B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.29% (93,338,784B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.29% (93,338,784B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.29% (93,338,784B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.29% (93,338,784B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.29% (93,338,784B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.29% (93,338,784B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.29% (93,338,784B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.29% (93,338,784B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.29% (93,338,784B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.29% (93,338,784B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.29% (93,338,784B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.29% (93,338,784B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.29% (93,338,784B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.29% (93,338,784B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.29% (93,338,784B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.29% (93,338,784B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.34% (24,314,112B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.64% (46,331,951B) in 1+ places, all below ms_print's threshold (01.00%) | ->15.82% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->03.83% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->03.83% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->03.83% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->03.83% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->03.76% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->03.76% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->03.76% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->03.76% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->03.31% (240,295,944B) in 38 places, all below massif's threshold (01.00%) | | | ->02.34% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | | ->02.34% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.34% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.34% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.40% (101,626,752B) 0x8D8074: init_instruments(PFS_global_param const*) (pfs_instr.cc:356) | | ->01.40% (101,626,752B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.40% (101,626,752B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.40% (101,626,752B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.17% (84,910,080B) 0x8D8285: init_instruments(PFS_global_param const*) (pfs_instr.cc:435) | ->01.17% (84,910,080B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.17% (84,910,080B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.17% (84,910,080B) 0x6DD1B43: (below main) (libc-start.c:287) | ->03.70% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->03.60% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->02.49% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->02.34% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->02.34% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->02.34% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->02.34% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->02.34% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->02.34% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->02.34% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->02.34% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->02.34% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->02.34% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.15% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.11% (80,611,856B) in 11 places, all below massif's threshold (01.00%) | | | ->00.10% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.23% (16,598,322B) 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 129,623,266,908 7,569,617,400 7,568,602,403 1,014,997 0 99.99% (7,568,602,403B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->81.07% (6,136,373,955B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->78.83% (5,967,142,656B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->77.39% (5,858,156,736B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->77.39% (5,858,156,736B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->77.39% (5,858,156,736B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->77.39% (5,858,156,736B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->77.39% (5,858,156,736B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->77.39% (5,858,156,736B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->77.39% (5,858,156,736B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->77.39% (5,858,156,736B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->77.39% (5,858,156,736B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->77.39% (5,858,156,736B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->77.39% (5,858,156,736B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->77.39% (5,858,156,736B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->77.39% (5,858,156,736B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->77.39% (5,858,156,736B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->77.39% (5,858,156,736B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->77.39% (5,858,156,736B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->77.39% (5,858,156,736B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->77.39% (5,858,156,736B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->77.39% (5,858,156,736B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->77.39% (5,858,156,736B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->77.39% (5,858,156,736B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->77.39% (5,858,156,736B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->77.39% (5,858,156,736B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->77.39% (5,858,156,736B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->77.39% (5,858,156,736B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->77.39% (5,858,156,736B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.44% (108,985,920B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.44% (108,985,920B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.44% (108,985,920B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.44% (108,985,920B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.44% (108,985,920B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.44% (108,985,920B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.44% (108,985,920B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.44% (108,985,920B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.44% (108,985,920B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.44% (108,985,920B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.44% (108,985,920B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.44% (108,985,920B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.44% (108,985,920B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.44% (108,985,920B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.44% (108,985,920B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.44% (108,985,920B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.44% (108,985,920B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.44% (108,985,920B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.44% (108,985,920B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.44% (108,985,920B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.44% (108,985,920B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.44% (108,985,920B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.44% (108,985,920B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.44% (108,985,920B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.44% (108,985,920B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.44% (108,985,920B) 0x6E988AB: clone (clone.S:111) | | | ->01.62% (122,796,192B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.29% (97,419,168B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.29% (97,419,168B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.29% (97,419,168B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.29% (97,419,168B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.29% (97,419,168B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.29% (97,419,168B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.29% (97,419,168B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.29% (97,419,168B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.29% (97,419,168B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.29% (97,419,168B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.29% (97,419,168B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.29% (97,419,168B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.29% (97,419,168B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.29% (97,419,168B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.29% (97,419,168B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.29% (97,419,168B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.29% (97,419,168B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.29% (97,419,168B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.29% (97,419,168B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.29% (97,419,168B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.29% (97,419,168B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.29% (97,419,168B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.29% (97,419,168B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.29% (97,419,168B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.29% (97,419,168B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.29% (97,419,168B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.34% (25,377,024B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.61% (46,435,107B) in 1+ places, all below ms_print's threshold (01.00%) | ->15.16% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->03.67% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->03.67% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->03.67% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->03.67% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->03.61% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->03.61% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->03.61% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->03.61% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->03.17% (240,295,944B) in 38 places, all below massif's threshold (01.00%) | | | ->02.24% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | | ->02.24% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.24% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.24% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.34% (101,626,752B) 0x8D8074: init_instruments(PFS_global_param const*) (pfs_instr.cc:356) | | ->01.34% (101,626,752B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.34% (101,626,752B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.34% (101,626,752B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.12% (84,910,080B) 0x8D8285: init_instruments(PFS_global_param const*) (pfs_instr.cc:435) | ->01.12% (84,910,080B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.12% (84,910,080B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.12% (84,910,080B) 0x6DD1B43: (below main) (libc-start.c:287) | ->03.54% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->03.45% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->02.39% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->02.25% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->02.25% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->02.25% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->02.25% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->02.25% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->02.25% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->02.25% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->02.25% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->02.25% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->02.25% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.14% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.06% (80,611,856B) in 11 places, all below massif's threshold (01.00%) | | | ->00.09% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.22% (16,593,258B) 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 134,763,360,636 7,815,621,608 7,814,572,893 1,048,715 0 99.99% (7,814,572,893B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->81.66% (6,382,375,053B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->79.43% (6,208,125,912B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->77.98% (6,094,791,512B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->77.98% (6,094,791,512B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->77.98% (6,094,791,512B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->77.98% (6,094,791,512B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->77.98% (6,094,791,512B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->77.98% (6,094,791,512B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->77.98% (6,094,791,512B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->77.98% (6,094,791,512B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->77.98% (6,094,791,512B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->77.98% (6,094,791,512B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->77.98% (6,094,791,512B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->77.98% (6,094,791,512B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->77.98% (6,094,791,512B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->77.98% (6,094,791,512B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->77.98% (6,094,791,512B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->77.98% (6,094,791,512B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->77.98% (6,094,791,512B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->77.98% (6,094,791,512B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->77.98% (6,094,791,512B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->77.98% (6,094,791,512B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->77.98% (6,094,791,512B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->77.98% (6,094,791,512B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->77.98% (6,094,791,512B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->77.98% (6,094,791,512B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->77.98% (6,094,791,512B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->77.98% (6,094,791,512B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.45% (113,334,400B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.45% (113,334,400B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.45% (113,334,400B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.45% (113,334,400B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.45% (113,334,400B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.45% (113,334,400B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.45% (113,334,400B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.45% (113,334,400B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.45% (113,334,400B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.45% (113,334,400B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.45% (113,334,400B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.45% (113,334,400B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.45% (113,334,400B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.45% (113,334,400B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.45% (113,334,400B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.45% (113,334,400B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.45% (113,334,400B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.45% (113,334,400B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.45% (113,334,400B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.45% (113,334,400B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.45% (113,334,400B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.45% (113,334,400B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.45% (113,334,400B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.45% (113,334,400B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.45% (113,334,400B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.45% (113,334,400B) 0x6E988AB: clone (clone.S:111) | | | ->01.63% (127,457,304B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.29% (101,117,016B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.29% (101,117,016B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.29% (101,117,016B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.29% (101,117,016B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.29% (101,117,016B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.29% (101,117,016B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.29% (101,117,016B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.29% (101,117,016B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.29% (101,117,016B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.29% (101,117,016B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.29% (101,117,016B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.29% (101,117,016B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.29% (101,117,016B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.29% (101,117,016B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.29% (101,117,016B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.29% (101,117,016B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.29% (101,117,016B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.29% (101,117,016B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.29% (101,117,016B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.29% (101,117,016B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.29% (101,117,016B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.29% (101,117,016B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.29% (101,117,016B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.29% (101,117,016B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.29% (101,117,016B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.29% (101,117,016B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.34% (26,340,288B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.60% (46,791,837B) in 1+ places, all below ms_print's threshold (01.00%) | ->14.68% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->03.55% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->03.55% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->03.55% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->03.55% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->03.49% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->03.49% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->03.49% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->03.49% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->03.07% (240,295,944B) in 38 places, all below massif's threshold (01.00%) | | | ->02.17% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | | ->02.17% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.17% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.17% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.30% (101,626,752B) 0x8D8074: init_instruments(PFS_global_param const*) (pfs_instr.cc:356) | | ->01.30% (101,626,752B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.30% (101,626,752B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.30% (101,626,752B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.09% (84,910,080B) 0x8D8285: init_instruments(PFS_global_param const*) (pfs_instr.cc:435) | ->01.09% (84,910,080B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.09% (84,910,080B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.09% (84,910,080B) 0x6DD1B43: (below main) (libc-start.c:287) | ->03.43% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->03.34% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->02.31% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->02.18% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->02.18% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->02.18% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->02.18% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->02.18% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->02.18% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->02.18% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->02.18% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->02.18% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->02.18% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.14% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.03% (80,611,856B) in 11 places, all below massif's threshold (01.00%) | | | ->00.09% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.21% (16,562,650B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 25 139,446,702,672 8,039,365,072 8,038,285,441 1,079,631 0 26 143,586,351,011 8,237,491,592 8,236,384,363 1,107,229 0 99.99% (8,236,384,363B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->82.60% (6,804,155,915B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->80.38% (6,620,992,776B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->78.91% (6,500,194,056B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->78.91% (6,500,194,056B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->78.91% (6,500,194,056B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->78.91% (6,500,194,056B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->78.91% (6,500,194,056B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->78.91% (6,500,194,056B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->78.91% (6,500,194,056B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->78.91% (6,500,194,056B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->78.91% (6,500,194,056B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->78.91% (6,500,194,056B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->78.91% (6,500,194,056B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->78.91% (6,500,194,056B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->78.91% (6,500,194,056B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->78.91% (6,500,194,056B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->78.91% (6,500,194,056B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->78.91% (6,500,194,056B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->78.91% (6,500,194,056B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->78.91% (6,500,194,056B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->78.91% (6,500,194,056B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->78.91% (6,500,194,056B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->78.91% (6,500,194,056B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->78.91% (6,500,194,056B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->78.91% (6,500,194,056B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->78.91% (6,500,194,056B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->78.91% (6,500,194,056B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->78.91% (6,500,194,056B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.47% (120,798,720B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.47% (120,798,720B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.47% (120,798,720B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.47% (120,798,720B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.47% (120,798,720B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.47% (120,798,720B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.47% (120,798,720B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.47% (120,798,720B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.47% (120,798,720B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.47% (120,798,720B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.47% (120,798,720B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.47% (120,798,720B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.47% (120,798,720B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.47% (120,798,720B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.47% (120,798,720B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.47% (120,798,720B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.47% (120,798,720B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.47% (120,798,720B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.47% (120,798,720B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.47% (120,798,720B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.47% (120,798,720B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.47% (120,798,720B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.47% (120,798,720B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.47% (120,798,720B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.47% (120,798,720B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.47% (120,798,720B) 0x6E988AB: clone (clone.S:111) | | | ->01.65% (135,654,432B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.31% (107,620,128B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.31% (107,620,128B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.31% (107,620,128B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.31% (107,620,128B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.31% (107,620,128B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.31% (107,620,128B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.31% (107,620,128B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.31% (107,620,128B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.31% (107,620,128B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.31% (107,620,128B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.31% (107,620,128B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.31% (107,620,128B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.31% (107,620,128B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.31% (107,620,128B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.31% (107,620,128B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.31% (107,620,128B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.31% (107,620,128B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.31% (107,620,128B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.31% (107,620,128B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.31% (107,620,128B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.31% (107,620,128B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.31% (107,620,128B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.31% (107,620,128B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.31% (107,620,128B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.31% (107,620,128B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.31% (107,620,128B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.34% (28,034,304B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.58% (47,508,707B) in 1+ places, all below ms_print's threshold (01.00%) | ->13.93% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->03.37% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->03.37% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->03.37% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->03.37% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->03.32% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->03.32% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->03.32% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->03.32% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->02.92% (240,295,944B) in 38 places, all below massif's threshold (01.00%) | | | ->02.06% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | | ->02.06% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.06% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.06% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.23% (101,626,752B) 0x8D8074: init_instruments(PFS_global_param const*) (pfs_instr.cc:356) | | ->01.23% (101,626,752B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.23% (101,626,752B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.23% (101,626,752B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.03% (84,910,080B) 0x8D8285: init_instruments(PFS_global_param const*) (pfs_instr.cc:435) | ->01.03% (84,910,080B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.03% (84,910,080B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.03% (84,910,080B) 0x6DD1B43: (below main) (libc-start.c:287) | ->03.26% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->03.17% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->02.19% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->02.06% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->02.06% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->02.06% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->02.06% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->02.06% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->02.06% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->02.06% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->02.06% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->02.06% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->02.06% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.13% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.98% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.09% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.20% (16,593,258B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 27 150,686,814,293 8,577,541,504 8,576,386,691 1,154,813 0 28 154,597,733,694 8,764,924,712 8,763,743,503 1,181,209 0 29 162,567,321,108 9,146,846,576 9,145,612,059 1,234,517 0 30 167,244,587,797 9,370,677,224 9,369,411,311 1,265,913 0 99.99% (9,369,411,311B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->84.70% (7,937,177,799B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->82.46% (7,726,869,488B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->80.95% (7,585,937,648B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->80.95% (7,585,937,648B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->80.95% (7,585,937,648B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->80.95% (7,585,937,648B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->80.95% (7,585,937,648B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->80.95% (7,585,937,648B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->80.95% (7,585,937,648B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->80.95% (7,585,937,648B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->80.95% (7,585,937,648B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->80.95% (7,585,937,648B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->80.95% (7,585,937,648B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->80.95% (7,585,937,648B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->80.95% (7,585,937,648B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->80.95% (7,585,937,648B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->80.95% (7,585,937,648B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->80.95% (7,585,937,648B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->80.95% (7,585,937,648B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->80.95% (7,585,937,648B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->80.95% (7,585,937,648B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->80.95% (7,585,937,648B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->80.95% (7,585,937,648B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->80.95% (7,585,937,648B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->80.95% (7,585,937,648B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->80.95% (7,585,937,648B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->80.95% (7,585,937,648B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->80.95% (7,585,937,648B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.50% (140,931,840B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.50% (140,931,840B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.50% (140,931,840B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.50% (140,931,840B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.50% (140,931,840B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.50% (140,931,840B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.50% (140,931,840B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.50% (140,931,840B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.50% (140,931,840B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.50% (140,931,840B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.50% (140,931,840B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.50% (140,931,840B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.50% (140,931,840B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.50% (140,931,840B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.50% (140,931,840B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.50% (140,931,840B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.50% (140,931,840B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.50% (140,931,840B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.50% (140,931,840B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.50% (140,931,840B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.50% (140,931,840B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.50% (140,931,840B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.50% (140,931,840B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.50% (140,931,840B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.50% (140,931,840B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.50% (140,931,840B) 0x6E988AB: clone (clone.S:111) | | | ->01.71% (160,406,544B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.36% (127,256,976B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.36% (127,256,976B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.36% (127,256,976B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.36% (127,256,976B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.36% (127,256,976B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.36% (127,256,976B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.36% (127,256,976B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.36% (127,256,976B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.36% (127,256,976B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.36% (127,256,976B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.36% (127,256,976B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.36% (127,256,976B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.36% (127,256,976B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.36% (127,256,976B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.36% (127,256,976B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.36% (127,256,976B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.36% (127,256,976B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.36% (127,256,976B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.36% (127,256,976B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.36% (127,256,976B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.36% (127,256,976B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.36% (127,256,976B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.36% (127,256,976B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.36% (127,256,976B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.36% (127,256,976B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.36% (127,256,976B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.35% (33,149,568B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.53% (49,901,767B) in 1+ places, all below ms_print's threshold (01.00%) | ->12.24% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->03.47% (325,206,024B) in 39 places, all below massif's threshold (01.00%) | | | ->02.96% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->02.96% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->02.96% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.96% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->02.91% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->02.91% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.91% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.91% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.81% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | | ->01.81% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.81% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.81% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.08% (101,626,752B) 0x8D8074: init_instruments(PFS_global_param const*) (pfs_instr.cc:356) | ->01.08% (101,626,752B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.08% (101,626,752B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.08% (101,626,752B) 0x6DD1B43: (below main) (libc-start.c:287) | ->02.86% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->02.79% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.93% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.81% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.81% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.81% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.81% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.81% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.81% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.81% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.81% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.81% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.81% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.11% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.86% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.08% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.18% (16,598,322B) 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 171,632,031,898 9,580,184,960 9,578,890,362 1,294,598 0 99.99% (9,578,890,362B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->85.04% (8,146,656,850B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->82.80% (7,932,343,112B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->81.29% (7,787,610,632B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->81.29% (7,787,610,632B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->81.29% (7,787,610,632B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->81.29% (7,787,610,632B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->81.29% (7,787,610,632B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->81.29% (7,787,610,632B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->81.29% (7,787,610,632B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->81.29% (7,787,610,632B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->81.29% (7,787,610,632B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->81.29% (7,787,610,632B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->81.29% (7,787,610,632B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->81.29% (7,787,610,632B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->81.29% (7,787,610,632B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->81.29% (7,787,610,632B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->81.29% (7,787,610,632B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->81.29% (7,787,610,632B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->81.29% (7,787,610,632B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->81.29% (7,787,610,632B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->81.29% (7,787,610,632B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->81.29% (7,787,610,632B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->81.29% (7,787,610,632B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->81.29% (7,787,610,632B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->81.29% (7,787,610,632B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->81.29% (7,787,610,632B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->81.29% (7,787,610,632B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->81.29% (7,787,610,632B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.51% (144,732,480B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.51% (144,732,480B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.51% (144,732,480B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.51% (144,732,480B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.51% (144,732,480B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.51% (144,732,480B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.51% (144,732,480B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.51% (144,732,480B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.51% (144,732,480B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.51% (144,732,480B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.51% (144,732,480B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.51% (144,732,480B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.51% (144,732,480B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.51% (144,732,480B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.51% (144,732,480B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.51% (144,732,480B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.51% (144,732,480B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.51% (144,732,480B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.51% (144,732,480B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.51% (144,732,480B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.51% (144,732,480B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.51% (144,732,480B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.51% (144,732,480B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.51% (144,732,480B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.51% (144,732,480B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.51% (144,732,480B) 0x6E988AB: clone (clone.S:111) | | | ->01.71% (164,103,288B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.36% (130,189,752B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.36% (130,189,752B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.36% (130,189,752B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.36% (130,189,752B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.36% (130,189,752B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.36% (130,189,752B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.36% (130,189,752B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.36% (130,189,752B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.36% (130,189,752B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.36% (130,189,752B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.36% (130,189,752B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.36% (130,189,752B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.36% (130,189,752B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.36% (130,189,752B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.36% (130,189,752B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.36% (130,189,752B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.36% (130,189,752B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.36% (130,189,752B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.36% (130,189,752B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.36% (130,189,752B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.36% (130,189,752B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.36% (130,189,752B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.36% (130,189,752B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.36% (130,189,752B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.36% (130,189,752B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.36% (130,189,752B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.35% (33,913,536B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.52% (50,210,450B) in 1+ places, all below ms_print's threshold (01.00%) | ->11.98% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->03.39% (325,206,024B) in 39 places, all below massif's threshold (01.00%) | | | ->02.90% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->02.90% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->02.90% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.90% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->02.85% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->02.85% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.85% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.85% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.77% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | | ->01.77% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.77% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.77% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.06% (101,626,752B) 0x8D8074: init_instruments(PFS_global_param const*) (pfs_instr.cc:356) | ->01.06% (101,626,752B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.06% (101,626,752B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.06% (101,626,752B) 0x6DD1B43: (below main) (libc-start.c:287) | ->02.80% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->02.73% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.89% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.77% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.77% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.77% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.77% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.77% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.77% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.77% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.77% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.77% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.77% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.11% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.84% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.07% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.17% (16,598,322B) 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 176,118,884,654 9,794,845,720 9,793,521,508 1,324,212 0 99.99% (9,793,521,508B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->85.36% (8,361,318,604B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->83.13% (8,142,161,144B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->81.61% (7,993,525,304B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->81.61% (7,993,525,304B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->81.61% (7,993,525,304B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->81.61% (7,993,525,304B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->81.61% (7,993,525,304B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->81.61% (7,993,525,304B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->81.61% (7,993,525,304B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->81.61% (7,993,525,304B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->81.61% (7,993,525,304B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->81.61% (7,993,525,304B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->81.61% (7,993,525,304B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->81.61% (7,993,525,304B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->81.61% (7,993,525,304B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->81.61% (7,993,525,304B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->81.61% (7,993,525,304B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->81.61% (7,993,525,304B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->81.61% (7,993,525,304B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->81.61% (7,993,525,304B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->81.61% (7,993,525,304B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->81.61% (7,993,525,304B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->81.61% (7,993,525,304B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->81.61% (7,993,525,304B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->81.61% (7,993,525,304B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->81.61% (7,993,525,304B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->81.61% (7,993,525,304B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->81.61% (7,993,525,304B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.52% (148,635,840B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.52% (148,635,840B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.52% (148,635,840B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.52% (148,635,840B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.52% (148,635,840B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.52% (148,635,840B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.52% (148,635,840B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.52% (148,635,840B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.52% (148,635,840B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.52% (148,635,840B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.52% (148,635,840B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.52% (148,635,840B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.52% (148,635,840B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.52% (148,635,840B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.52% (148,635,840B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.52% (148,635,840B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.52% (148,635,840B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.52% (148,635,840B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.52% (148,635,840B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.52% (148,635,840B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.52% (148,635,840B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.52% (148,635,840B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.52% (148,635,840B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.52% (148,635,840B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.52% (148,635,840B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.52% (148,635,840B) 0x6E988AB: clone (clone.S:111) | | | ->01.72% (168,603,672B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.37% (133,760,088B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.37% (133,760,088B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.37% (133,760,088B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.37% (133,760,088B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.37% (133,760,088B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.37% (133,760,088B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.37% (133,760,088B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.37% (133,760,088B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.37% (133,760,088B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.37% (133,760,088B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.37% (133,760,088B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.37% (133,760,088B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.37% (133,760,088B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.37% (133,760,088B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.37% (133,760,088B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.37% (133,760,088B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.37% (133,760,088B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.37% (133,760,088B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.37% (133,760,088B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.37% (133,760,088B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.37% (133,760,088B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.37% (133,760,088B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.37% (133,760,088B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.37% (133,760,088B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.37% (133,760,088B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.37% (133,760,088B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.36% (34,843,584B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.52% (50,553,788B) in 1+ places, all below ms_print's threshold (01.00%) | ->11.71% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->03.32% (325,206,024B) in 39 places, all below massif's threshold (01.00%) | | | ->02.83% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->02.83% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->02.83% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.83% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->02.79% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->02.79% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.79% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.79% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.73% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | | ->01.73% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.73% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.73% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.04% (101,626,752B) 0x8D8074: init_instruments(PFS_global_param const*) (pfs_instr.cc:356) | ->01.04% (101,626,752B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.04% (101,626,752B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.04% (101,626,752B) 0x6DD1B43: (below main) (libc-start.c:287) | ->02.74% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->02.67% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.84% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.74% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.74% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.74% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.74% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.74% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.74% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.74% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.74% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.74% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.74% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.11% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.82% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.07% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.17% (16,567,714B) 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 180,425,888,520 9,999,762,832 9,998,410,804 1,352,028 0 99.99% (9,998,410,804B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->85.66% (8,566,212,964B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->83.44% (8,343,898,800B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->81.92% (8,191,599,280B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->81.92% (8,191,599,280B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->81.92% (8,191,599,280B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->81.92% (8,191,599,280B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->81.92% (8,191,599,280B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->81.92% (8,191,599,280B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->81.92% (8,191,599,280B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->81.92% (8,191,599,280B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->81.92% (8,191,599,280B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->81.92% (8,191,599,280B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->81.92% (8,191,599,280B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->81.92% (8,191,599,280B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->81.92% (8,191,599,280B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->81.92% (8,191,599,280B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->81.92% (8,191,599,280B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->81.92% (8,191,599,280B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->81.92% (8,191,599,280B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->81.92% (8,191,599,280B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->81.92% (8,191,599,280B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->81.92% (8,191,599,280B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->81.92% (8,191,599,280B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->81.92% (8,191,599,280B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->81.92% (8,191,599,280B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->81.92% (8,191,599,280B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->81.92% (8,191,599,280B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->81.92% (8,191,599,280B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.52% (152,299,520B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.52% (152,299,520B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.52% (152,299,520B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.52% (152,299,520B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.52% (152,299,520B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.52% (152,299,520B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.52% (152,299,520B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.52% (152,299,520B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.52% (152,299,520B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.52% (152,299,520B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.52% (152,299,520B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.52% (152,299,520B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.52% (152,299,520B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.52% (152,299,520B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.52% (152,299,520B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.52% (152,299,520B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.52% (152,299,520B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.52% (152,299,520B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.52% (152,299,520B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.52% (152,299,520B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.52% (152,299,520B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.52% (152,299,520B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.52% (152,299,520B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.52% (152,299,520B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.52% (152,299,520B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.52% (152,299,520B) 0x6E988AB: clone (clone.S:111) | | | ->01.72% (171,818,232B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.36% (136,310,328B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.36% (136,310,328B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.36% (136,310,328B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.36% (136,310,328B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.36% (136,310,328B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.36% (136,310,328B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.36% (136,310,328B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.36% (136,310,328B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.36% (136,310,328B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.36% (136,310,328B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.36% (136,310,328B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.36% (136,310,328B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.36% (136,310,328B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.36% (136,310,328B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.36% (136,310,328B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.36% (136,310,328B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.36% (136,310,328B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.36% (136,310,328B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.36% (136,310,328B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.36% (136,310,328B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.36% (136,310,328B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.36% (136,310,328B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.36% (136,310,328B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.36% (136,310,328B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.36% (136,310,328B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.36% (136,310,328B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.36% (35,507,904B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.50% (50,495,932B) in 1+ places, all below ms_print's threshold (01.00%) | ->11.47% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->03.25% (325,206,024B) in 39 places, all below massif's threshold (01.00%) | | | ->02.78% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->02.78% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->02.78% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.78% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->02.73% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->02.73% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.73% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.73% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.70% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | | ->01.70% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.70% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.70% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.02% (101,626,752B) 0x8D8074: init_instruments(PFS_global_param const*) (pfs_instr.cc:356) | ->01.02% (101,626,752B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.02% (101,626,752B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.02% (101,626,752B) 0x6DD1B43: (below main) (libc-start.c:287) | ->02.68% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->02.61% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.81% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.70% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.70% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.70% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.70% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.70% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.70% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.70% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.70% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.70% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.70% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.11% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.81% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.07% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.17% (16,562,650B) 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 185,035,757,175 10,220,443,536 10,219,060,694 1,382,842 0 99.99% (10,219,060,694B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->85.97% (8,786,827,182B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->83.75% (8,559,278,120B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->82.22% (8,403,041,000B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->82.22% (8,403,041,000B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->82.22% (8,403,041,000B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->82.22% (8,403,041,000B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->82.22% (8,403,041,000B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->82.22% (8,403,041,000B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->82.22% (8,403,041,000B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->82.22% (8,403,041,000B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->82.22% (8,403,041,000B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->82.22% (8,403,041,000B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->82.22% (8,403,041,000B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->82.22% (8,403,041,000B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->82.22% (8,403,041,000B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->82.22% (8,403,041,000B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->82.22% (8,403,041,000B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->82.22% (8,403,041,000B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->82.22% (8,403,041,000B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->82.22% (8,403,041,000B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->82.22% (8,403,041,000B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->82.22% (8,403,041,000B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->82.22% (8,403,041,000B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->82.22% (8,403,041,000B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->82.22% (8,403,041,000B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->82.22% (8,403,041,000B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->82.22% (8,403,041,000B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->82.22% (8,403,041,000B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.53% (156,237,120B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.53% (156,237,120B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.53% (156,237,120B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.53% (156,237,120B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.53% (156,237,120B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.53% (156,237,120B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.53% (156,237,120B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.53% (156,237,120B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.53% (156,237,120B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.53% (156,237,120B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.53% (156,237,120B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.53% (156,237,120B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.53% (156,237,120B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.53% (156,237,120B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.53% (156,237,120B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.53% (156,237,120B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.53% (156,237,120B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.53% (156,237,120B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.53% (156,237,120B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.53% (156,237,120B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.53% (156,237,120B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.53% (156,237,120B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.53% (156,237,120B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.53% (156,237,120B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.53% (156,237,120B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.53% (156,237,120B) 0x6E988AB: clone (clone.S:111) | | | ->01.73% (176,318,616B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.37% (139,880,664B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.37% (139,880,664B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.37% (139,880,664B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.37% (139,880,664B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.37% (139,880,664B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.37% (139,880,664B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.37% (139,880,664B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.37% (139,880,664B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.37% (139,880,664B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.37% (139,880,664B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.37% (139,880,664B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.37% (139,880,664B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.37% (139,880,664B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.37% (139,880,664B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.37% (139,880,664B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.37% (139,880,664B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.37% (139,880,664B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.37% (139,880,664B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.37% (139,880,664B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.37% (139,880,664B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.37% (139,880,664B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.37% (139,880,664B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.37% (139,880,664B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.37% (139,880,664B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.37% (139,880,664B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.37% (139,880,664B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.36% (36,437,952B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.50% (51,230,446B) in 1+ places, all below ms_print's threshold (01.00%) | ->11.23% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->04.18% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->02.72% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->02.72% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->02.72% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.72% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->02.67% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->02.67% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.67% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.67% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.66% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.66% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.66% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.66% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->02.62% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->02.56% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.77% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.66% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.66% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.66% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.66% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.66% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.66% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.66% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.66% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.66% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.66% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.10% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.79% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.07% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.16% (16,598,322B) 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 193,390,223,847 10,620,217,576 10,618,778,783 1,438,793 0 36 198,973,690,431 10,886,682,552 10,885,207,272 1,475,280 0 99.99% (10,885,207,272B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->86.83% (9,452,977,928B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->84.61% (9,210,780,352B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->83.06% (9,042,764,672B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->83.06% (9,042,764,672B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->83.06% (9,042,764,672B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->83.06% (9,042,764,672B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->83.06% (9,042,764,672B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->83.06% (9,042,764,672B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->83.06% (9,042,764,672B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->83.06% (9,042,764,672B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->83.06% (9,042,764,672B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->83.06% (9,042,764,672B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->83.06% (9,042,764,672B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->83.06% (9,042,764,672B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->83.06% (9,042,764,672B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->83.06% (9,042,764,672B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->83.06% (9,042,764,672B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->83.06% (9,042,764,672B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->83.06% (9,042,764,672B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->83.06% (9,042,764,672B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->83.06% (9,042,764,672B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->83.06% (9,042,764,672B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->83.06% (9,042,764,672B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->83.06% (9,042,764,672B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->83.06% (9,042,764,672B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->83.06% (9,042,764,672B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->83.06% (9,042,764,672B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->83.06% (9,042,764,672B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.54% (168,015,680B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.54% (168,015,680B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.54% (168,015,680B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.54% (168,015,680B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.54% (168,015,680B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.54% (168,015,680B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.54% (168,015,680B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.54% (168,015,680B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.54% (168,015,680B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.54% (168,015,680B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.54% (168,015,680B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.54% (168,015,680B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.54% (168,015,680B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.54% (168,015,680B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.54% (168,015,680B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.54% (168,015,680B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.54% (168,015,680B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.54% (168,015,680B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.54% (168,015,680B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.54% (168,015,680B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.54% (168,015,680B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.54% (168,015,680B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.54% (168,015,680B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.54% (168,015,680B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.54% (168,015,680B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.54% (168,015,680B) 0x6E988AB: clone (clone.S:111) | | | ->01.75% (190,141,224B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.39% (150,846,696B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.39% (150,846,696B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.39% (150,846,696B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.39% (150,846,696B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.39% (150,846,696B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.39% (150,846,696B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.39% (150,846,696B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.39% (150,846,696B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.39% (150,846,696B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.39% (150,846,696B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.39% (150,846,696B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.39% (150,846,696B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.39% (150,846,696B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.39% (150,846,696B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.39% (150,846,696B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.39% (150,846,696B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.39% (150,846,696B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.39% (150,846,696B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.39% (150,846,696B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.39% (150,846,696B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.39% (150,846,696B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.39% (150,846,696B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.39% (150,846,696B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.39% (150,846,696B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.39% (150,846,696B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.39% (150,846,696B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.36% (39,294,528B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.48% (52,056,352B) in 1+ places, all below ms_print's threshold (01.00%) | ->10.54% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->03.92% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->02.55% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->02.55% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->02.55% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.55% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->02.51% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->02.51% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.51% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.51% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.56% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.56% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.56% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.56% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->02.46% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->02.40% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.66% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.56% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.56% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.56% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.56% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.56% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.56% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.56% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.56% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.56% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.56% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.10% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.74% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.06% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.15% (16,594,154B) 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 203,925,364,026 11,123,554,968 11,122,047,278 1,507,690 0 99.99% (11,122,047,278B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->87.11% (9,689,844,374B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->84.89% (9,442,474,776B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->83.34% (9,270,144,856B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->83.34% (9,270,144,856B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->83.34% (9,270,144,856B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->83.34% (9,270,144,856B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->83.34% (9,270,144,856B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->83.34% (9,270,144,856B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->83.34% (9,270,144,856B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->83.34% (9,270,144,856B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->83.34% (9,270,144,856B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->83.34% (9,270,144,856B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->83.34% (9,270,144,856B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->83.34% (9,270,144,856B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->83.34% (9,270,144,856B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->83.34% (9,270,144,856B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->83.34% (9,270,144,856B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->83.34% (9,270,144,856B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->83.34% (9,270,144,856B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->83.34% (9,270,144,856B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->83.34% (9,270,144,856B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->83.34% (9,270,144,856B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->83.34% (9,270,144,856B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->83.34% (9,270,144,856B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->83.34% (9,270,144,856B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->83.34% (9,270,144,856B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->83.34% (9,270,144,856B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->83.34% (9,270,144,856B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.55% (172,329,920B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.55% (172,329,920B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.55% (172,329,920B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.55% (172,329,920B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.55% (172,329,920B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.55% (172,329,920B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.55% (172,329,920B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.55% (172,329,920B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.55% (172,329,920B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.55% (172,329,920B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.55% (172,329,920B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.55% (172,329,920B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.55% (172,329,920B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.55% (172,329,920B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.55% (172,329,920B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.55% (172,329,920B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.55% (172,329,920B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.55% (172,329,920B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.55% (172,329,920B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.55% (172,329,920B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.55% (172,329,920B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.55% (172,329,920B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.55% (172,329,920B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.55% (172,329,920B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.55% (172,329,920B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.55% (172,329,920B) 0x6E988AB: clone (clone.S:111) | | | ->01.75% (194,641,608B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.39% (154,417,032B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.39% (154,417,032B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.39% (154,417,032B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.39% (154,417,032B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.39% (154,417,032B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.39% (154,417,032B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.39% (154,417,032B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.39% (154,417,032B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.39% (154,417,032B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.39% (154,417,032B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.39% (154,417,032B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.39% (154,417,032B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.39% (154,417,032B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.39% (154,417,032B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.39% (154,417,032B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.39% (154,417,032B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.39% (154,417,032B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.39% (154,417,032B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.39% (154,417,032B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.39% (154,417,032B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.39% (154,417,032B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.39% (154,417,032B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.39% (154,417,032B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.39% (154,417,032B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.39% (154,417,032B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.39% (154,417,032B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.36% (40,224,576B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.47% (52,727,990B) in 1+ places, all below ms_print's threshold (01.00%) | ->10.31% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->03.84% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->02.50% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->02.50% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->02.50% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.50% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->02.46% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->02.46% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.46% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.46% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.53% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.53% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.53% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.53% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->02.41% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->02.35% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.62% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.53% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.53% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.53% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.53% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.53% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.53% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.53% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.53% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.53% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.53% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.10% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.72% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.06% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.15% (16,567,714B) 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 211,464,377,616 11,484,721,536 11,483,163,286 1,558,250 0 39 216,597,740,498 11,731,469,088 11,729,875,704 1,593,384 0 40 222,078,632,303 11,995,073,296 11,993,442,425 1,630,871 0 99.99% (11,993,442,425B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->88.05% (10,561,239,521B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->85.79% (10,290,359,360B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->84.23% (10,102,929,600B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->84.23% (10,102,929,600B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->84.23% (10,102,929,600B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->84.23% (10,102,929,600B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->84.23% (10,102,929,600B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->84.23% (10,102,929,600B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->84.23% (10,102,929,600B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->84.23% (10,102,929,600B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->84.23% (10,102,929,600B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->84.23% (10,102,929,600B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->84.23% (10,102,929,600B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->84.23% (10,102,929,600B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->84.23% (10,102,929,600B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->84.23% (10,102,929,600B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->84.23% (10,102,929,600B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->84.23% (10,102,929,600B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->84.23% (10,102,929,600B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->84.23% (10,102,929,600B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->84.23% (10,102,929,600B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->84.23% (10,102,929,600B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->84.23% (10,102,929,600B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->84.23% (10,102,929,600B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->84.23% (10,102,929,600B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->84.23% (10,102,929,600B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->84.23% (10,102,929,600B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->84.23% (10,102,929,600B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.56% (187,429,760B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.56% (187,429,760B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.56% (187,429,760B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.56% (187,429,760B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.56% (187,429,760B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.56% (187,429,760B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.56% (187,429,760B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.56% (187,429,760B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.56% (187,429,760B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.56% (187,429,760B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.56% (187,429,760B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.56% (187,429,760B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.56% (187,429,760B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.56% (187,429,760B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.56% (187,429,760B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.56% (187,429,760B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.56% (187,429,760B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.56% (187,429,760B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.56% (187,429,760B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.56% (187,429,760B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.56% (187,429,760B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.56% (187,429,760B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.56% (187,429,760B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.56% (187,429,760B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.56% (187,429,760B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.56% (187,429,760B) 0x6E988AB: clone (clone.S:111) | | | ->01.80% (216,339,888B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.43% (171,631,152B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.43% (171,631,152B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.43% (171,631,152B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.43% (171,631,152B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.43% (171,631,152B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.43% (171,631,152B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.43% (171,631,152B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.43% (171,631,152B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.43% (171,631,152B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.43% (171,631,152B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.43% (171,631,152B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.43% (171,631,152B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.43% (171,631,152B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.43% (171,631,152B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.43% (171,631,152B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.43% (171,631,152B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.43% (171,631,152B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.43% (171,631,152B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.43% (171,631,152B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.43% (171,631,152B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.43% (171,631,152B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.43% (171,631,152B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.43% (171,631,152B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.43% (171,631,152B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.43% (171,631,152B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.43% (171,631,152B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.37% (44,708,736B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.45% (54,540,273B) in 1+ places, all below ms_print's threshold (01.00%) | ->09.57% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->03.56% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->02.31% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->02.31% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->02.31% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.31% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->02.28% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->02.28% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.28% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.28% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.42% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.42% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.42% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.42% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->02.24% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->02.18% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.51% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.42% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.42% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.42% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.42% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.42% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.42% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.42% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.42% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.42% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.42% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.09% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.67% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.06% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.14% (16,567,714B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 41 227,070,522,320 12,234,168,480 12,232,504,258 1,664,222 0 42 232,730,828,616 12,504,971,400 12,503,269,783 1,701,617 0 99.99% (12,503,269,783B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->88.53% (11,071,041,335B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->86.28% (10,789,309,472B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->84.71% (10,592,908,832B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->84.71% (10,592,908,832B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->84.71% (10,592,908,832B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->84.71% (10,592,908,832B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->84.71% (10,592,908,832B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->84.71% (10,592,908,832B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->84.71% (10,592,908,832B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->84.71% (10,592,908,832B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->84.71% (10,592,908,832B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->84.71% (10,592,908,832B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->84.71% (10,592,908,832B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->84.71% (10,592,908,832B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->84.71% (10,592,908,832B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->84.71% (10,592,908,832B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->84.71% (10,592,908,832B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->84.71% (10,592,908,832B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->84.71% (10,592,908,832B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->84.71% (10,592,908,832B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->84.71% (10,592,908,832B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->84.71% (10,592,908,832B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->84.71% (10,592,908,832B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->84.71% (10,592,908,832B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->84.71% (10,592,908,832B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->84.71% (10,592,908,832B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->84.71% (10,592,908,832B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->84.71% (10,592,908,832B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.57% (196,400,640B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.57% (196,400,640B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.57% (196,400,640B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.57% (196,400,640B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.57% (196,400,640B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.57% (196,400,640B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.57% (196,400,640B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.57% (196,400,640B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.57% (196,400,640B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.57% (196,400,640B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.57% (196,400,640B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.57% (196,400,640B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.57% (196,400,640B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.57% (196,400,640B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.57% (196,400,640B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.57% (196,400,640B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.57% (196,400,640B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.57% (196,400,640B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.57% (196,400,640B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.57% (196,400,640B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.57% (196,400,640B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.57% (196,400,640B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.57% (196,400,640B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.57% (196,400,640B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.57% (196,400,640B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.57% (196,400,640B) 0x6E988AB: clone (clone.S:111) | | | ->01.81% (226,626,480B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.44% (179,791,920B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.44% (179,791,920B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.44% (179,791,920B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.44% (179,791,920B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.44% (179,791,920B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.44% (179,791,920B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (179,791,920B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (179,791,920B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (179,791,920B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (179,791,920B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (179,791,920B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.44% (179,791,920B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.44% (179,791,920B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.44% (179,791,920B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.44% (179,791,920B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (179,791,920B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.44% (179,791,920B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.44% (179,791,920B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.44% (179,791,920B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.44% (179,791,920B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.44% (179,791,920B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.44% (179,791,920B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.44% (179,791,920B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.44% (179,791,920B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.44% (179,791,920B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.44% (179,791,920B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.37% (46,834,560B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.44% (55,105,383B) in 1+ places, all below ms_print's threshold (01.00%) | ->09.18% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->03.41% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->02.22% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->02.22% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->02.22% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.22% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->02.18% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->02.18% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.18% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.18% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.36% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.36% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.36% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.36% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->02.15% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->02.09% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.44% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.36% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.36% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.36% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.36% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.36% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.36% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.36% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.36% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.36% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.36% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.09% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.64% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.06% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.13% (16,593,258B) 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 238,222,353,035 12,767,384,200 12,765,646,640 1,737,560 0 99.99% (12,765,646,640B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->88.77% (11,333,448,800B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->86.52% (11,046,350,760B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->84.94% (10,845,225,000B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->84.94% (10,845,225,000B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->84.94% (10,845,225,000B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->84.94% (10,845,225,000B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->84.94% (10,845,225,000B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->84.94% (10,845,225,000B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->84.94% (10,845,225,000B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->84.94% (10,845,225,000B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->84.94% (10,845,225,000B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->84.94% (10,845,225,000B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->84.94% (10,845,225,000B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->84.94% (10,845,225,000B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->84.94% (10,845,225,000B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->84.94% (10,845,225,000B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->84.94% (10,845,225,000B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->84.94% (10,845,225,000B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->84.94% (10,845,225,000B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->84.94% (10,845,225,000B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->84.94% (10,845,225,000B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->84.94% (10,845,225,000B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->84.94% (10,845,225,000B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->84.94% (10,845,225,000B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->84.94% (10,845,225,000B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->84.94% (10,845,225,000B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->84.94% (10,845,225,000B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->84.94% (10,845,225,000B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.58% (201,125,760B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.58% (201,125,760B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.58% (201,125,760B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.58% (201,125,760B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.58% (201,125,760B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.58% (201,125,760B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.58% (201,125,760B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.58% (201,125,760B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.58% (201,125,760B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.58% (201,125,760B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.58% (201,125,760B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.58% (201,125,760B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.58% (201,125,760B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.58% (201,125,760B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.58% (201,125,760B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.58% (201,125,760B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.58% (201,125,760B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.58% (201,125,760B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.58% (201,125,760B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.58% (201,125,760B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.58% (201,125,760B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.58% (201,125,760B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.58% (201,125,760B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.58% (201,125,760B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.58% (201,125,760B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.58% (201,125,760B) 0x6E988AB: clone (clone.S:111) | | | ->01.81% (231,609,048B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.44% (183,744,792B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.44% (183,744,792B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.44% (183,744,792B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.44% (183,744,792B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.44% (183,744,792B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.44% (183,744,792B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (183,744,792B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (183,744,792B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (183,744,792B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (183,744,792B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (183,744,792B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.44% (183,744,792B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.44% (183,744,792B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.44% (183,744,792B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.44% (183,744,792B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (183,744,792B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.44% (183,744,792B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.44% (183,744,792B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.44% (183,744,792B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.44% (183,744,792B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.44% (183,744,792B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.44% (183,744,792B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.44% (183,744,792B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.44% (183,744,792B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.44% (183,744,792B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.44% (183,744,792B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.37% (47,864,256B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.43% (55,488,992B) in 1+ places, all below ms_print's threshold (01.00%) | ->08.99% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->03.34% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->02.17% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->02.17% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->02.17% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.17% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->02.14% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->02.14% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.14% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.14% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.33% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.33% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.33% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.33% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->02.10% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->02.05% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.41% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.33% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.33% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.33% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.33% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.33% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.33% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.33% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.33% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.33% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.33% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.08% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.63% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.06% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.13% (16,562,650B) 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 246,361,473,266 13,157,368,816 13,155,576,683 1,792,133 0 45 252,642,778,581 13,457,489,144 13,455,656,141 1,833,003 0 99.99% (13,455,656,141B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->89.34% (12,023,422,629B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->87.10% (11,721,511,496B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->85.51% (11,507,956,616B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->85.51% (11,507,956,616B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->85.51% (11,507,956,616B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->85.51% (11,507,956,616B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->85.51% (11,507,956,616B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->85.51% (11,507,956,616B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->85.51% (11,507,956,616B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->85.51% (11,507,956,616B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->85.51% (11,507,956,616B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->85.51% (11,507,956,616B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->85.51% (11,507,956,616B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->85.51% (11,507,956,616B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->85.51% (11,507,956,616B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->85.51% (11,507,956,616B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->85.51% (11,507,956,616B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->85.51% (11,507,956,616B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->85.51% (11,507,956,616B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->85.51% (11,507,956,616B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->85.51% (11,507,956,616B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->85.51% (11,507,956,616B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->85.51% (11,507,956,616B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->85.51% (11,507,956,616B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->85.51% (11,507,956,616B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->85.51% (11,507,956,616B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->85.51% (11,507,956,616B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->85.51% (11,507,956,616B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.59% (213,554,880B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.59% (213,554,880B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.59% (213,554,880B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.59% (213,554,880B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.59% (213,554,880B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.59% (213,554,880B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.59% (213,554,880B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.59% (213,554,880B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.59% (213,554,880B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.59% (213,554,880B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.59% (213,554,880B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.59% (213,554,880B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.59% (213,554,880B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.59% (213,554,880B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.59% (213,554,880B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.59% (213,554,880B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.59% (213,554,880B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.59% (213,554,880B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.59% (213,554,880B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.59% (213,554,880B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.59% (213,554,880B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.59% (213,554,880B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.59% (213,554,880B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.59% (213,554,880B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.59% (213,554,880B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.59% (213,554,880B) 0x6E988AB: clone (clone.S:111) | | | ->01.82% (244,949,472B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.44% (194,328,288B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.44% (194,328,288B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.44% (194,328,288B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.44% (194,328,288B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.44% (194,328,288B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.44% (194,328,288B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (194,328,288B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (194,328,288B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (194,328,288B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (194,328,288B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (194,328,288B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.44% (194,328,288B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.44% (194,328,288B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.44% (194,328,288B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.44% (194,328,288B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (194,328,288B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.44% (194,328,288B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.44% (194,328,288B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.44% (194,328,288B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.44% (194,328,288B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.44% (194,328,288B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.44% (194,328,288B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.44% (194,328,288B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.44% (194,328,288B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.44% (194,328,288B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.44% (194,328,288B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.38% (50,621,184B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.42% (56,961,661B) in 1+ places, all below ms_print's threshold (01.00%) | ->08.53% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->03.17% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->02.06% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->02.06% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->02.06% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.06% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->02.03% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->02.03% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->02.03% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->02.03% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.26% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.26% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.26% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.26% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.99% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.94% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.34% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.26% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.26% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.26% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.26% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.26% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.26% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.26% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.26% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.26% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.26% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.08% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.60% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.05% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.12% (16,598,322B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 46 257,990,629,156 13,712,555,648 13,710,687,971 1,867,677 0 47 264,060,046,331 14,003,758,368 14,001,850,011 1,908,357 0 48 270,803,073,621 14,325,849,424 14,323,896,966 1,952,458 0 99.99% (14,323,896,966B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->89.99% (12,891,663,454B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->87.76% (12,572,163,272B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->86.16% (12,342,926,472B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->86.16% (12,342,926,472B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->86.16% (12,342,926,472B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->86.16% (12,342,926,472B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->86.16% (12,342,926,472B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->86.16% (12,342,926,472B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->86.16% (12,342,926,472B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->86.16% (12,342,926,472B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->86.16% (12,342,926,472B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->86.16% (12,342,926,472B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->86.16% (12,342,926,472B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->86.16% (12,342,926,472B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->86.16% (12,342,926,472B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->86.16% (12,342,926,472B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->86.16% (12,342,926,472B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->86.16% (12,342,926,472B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->86.16% (12,342,926,472B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->86.16% (12,342,926,472B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->86.16% (12,342,926,472B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->86.16% (12,342,926,472B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->86.16% (12,342,926,472B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->86.16% (12,342,926,472B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->86.16% (12,342,926,472B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->86.16% (12,342,926,472B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->86.16% (12,342,926,472B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->86.16% (12,342,926,472B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.60% (229,236,800B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.60% (229,236,800B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.60% (229,236,800B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.60% (229,236,800B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.60% (229,236,800B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.60% (229,236,800B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.60% (229,236,800B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.60% (229,236,800B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.60% (229,236,800B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.60% (229,236,800B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.60% (229,236,800B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.60% (229,236,800B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.60% (229,236,800B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.60% (229,236,800B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.60% (229,236,800B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.60% (229,236,800B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.60% (229,236,800B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.60% (229,236,800B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.60% (229,236,800B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.60% (229,236,800B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.60% (229,236,800B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.60% (229,236,800B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.60% (229,236,800B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.60% (229,236,800B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.60% (229,236,800B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.60% (229,236,800B) 0x6E988AB: clone (clone.S:111) | | | ->01.82% (261,183,000B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.45% (207,207,000B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.45% (207,207,000B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.45% (207,207,000B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.45% (207,207,000B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.45% (207,207,000B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.45% (207,207,000B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (207,207,000B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (207,207,000B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (207,207,000B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (207,207,000B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (207,207,000B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.45% (207,207,000B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.45% (207,207,000B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.45% (207,207,000B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.45% (207,207,000B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (207,207,000B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.45% (207,207,000B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.45% (207,207,000B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.45% (207,207,000B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.45% (207,207,000B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.45% (207,207,000B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.45% (207,207,000B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.45% (207,207,000B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.45% (207,207,000B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.45% (207,207,000B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.45% (207,207,000B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.38% (53,976,000B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.41% (58,317,182B) in 1+ places, all below ms_print's threshold (01.00%) | ->08.01% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->02.98% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->01.94% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.94% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.94% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.94% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.91% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->01.91% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.91% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.91% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.19% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.19% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.19% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.19% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.87% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.82% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.26% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.19% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.19% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.19% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.19% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.19% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.19% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.19% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.19% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.19% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.19% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.07% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.56% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.05% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.12% (16,598,322B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 49 273,238,686,284 14,441,688,504 14,439,720,016 1,968,488 0 50 273,820,414,432 14,469,668,760 14,467,696,379 1,972,381 0 99.99% (14,467,696,379B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->90.09% (13,035,462,867B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->87.86% (12,713,001,768B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->86.26% (12,481,231,208B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->86.26% (12,481,231,208B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->86.26% (12,481,231,208B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->86.26% (12,481,231,208B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->86.26% (12,481,231,208B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->86.26% (12,481,231,208B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->86.26% (12,481,231,208B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->86.26% (12,481,231,208B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->86.26% (12,481,231,208B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->86.26% (12,481,231,208B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->86.26% (12,481,231,208B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->86.26% (12,481,231,208B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->86.26% (12,481,231,208B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->86.26% (12,481,231,208B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->86.26% (12,481,231,208B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->86.26% (12,481,231,208B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->86.26% (12,481,231,208B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->86.26% (12,481,231,208B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->86.26% (12,481,231,208B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->86.26% (12,481,231,208B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->86.26% (12,481,231,208B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->86.26% (12,481,231,208B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->86.26% (12,481,231,208B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->86.26% (12,481,231,208B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->86.26% (12,481,231,208B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->86.26% (12,481,231,208B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.60% (231,770,560B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.60% (231,770,560B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.60% (231,770,560B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.60% (231,770,560B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.60% (231,770,560B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.60% (231,770,560B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.60% (231,770,560B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.60% (231,770,560B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.60% (231,770,560B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.60% (231,770,560B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.60% (231,770,560B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.60% (231,770,560B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.60% (231,770,560B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.60% (231,770,560B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.60% (231,770,560B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.60% (231,770,560B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.60% (231,770,560B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.60% (231,770,560B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.60% (231,770,560B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.60% (231,770,560B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.60% (231,770,560B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.60% (231,770,560B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.60% (231,770,560B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.60% (231,770,560B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.60% (231,770,560B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.60% (231,770,560B) 0x6E988AB: clone (clone.S:111) | | | ->01.82% (263,915,376B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.45% (209,374,704B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.45% (209,374,704B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.45% (209,374,704B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.45% (209,374,704B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.45% (209,374,704B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.45% (209,374,704B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (209,374,704B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (209,374,704B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (209,374,704B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (209,374,704B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (209,374,704B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.45% (209,374,704B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.45% (209,374,704B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.45% (209,374,704B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.45% (209,374,704B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (209,374,704B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.45% (209,374,704B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.45% (209,374,704B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.45% (209,374,704B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.45% (209,374,704B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.45% (209,374,704B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.45% (209,374,704B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.45% (209,374,704B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.45% (209,374,704B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.45% (209,374,704B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.45% (209,374,704B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.38% (54,540,672B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.40% (58,545,723B) in 1+ places, all below ms_print's threshold (01.00%) | ->07.93% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->02.95% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->01.92% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.92% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.92% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.92% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.89% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->01.89% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.89% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.89% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.17% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.17% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.17% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.17% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.85% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.81% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.25% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.17% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.17% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.17% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.17% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.17% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.17% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.17% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.17% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.17% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.17% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.07% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.56% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.05% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.11% (16,598,322B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 51 276,974,182,635 14,619,730,064 14,617,737,298 1,992,766 0 52 276,977,349,613 14,620,063,528 14,618,070,662 1,992,866 0 99.99% (14,618,070,662B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->90.19% (13,185,837,150B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->87.97% (12,860,763,816B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->86.36% (12,626,219,816B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->86.36% (12,626,219,816B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->86.36% (12,626,219,816B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->86.36% (12,626,219,816B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->86.36% (12,626,219,816B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->86.36% (12,626,219,816B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->86.36% (12,626,219,816B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->86.36% (12,626,219,816B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->86.36% (12,626,219,816B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->86.36% (12,626,219,816B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->86.36% (12,626,219,816B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->86.36% (12,626,219,816B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->86.36% (12,626,219,816B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->86.36% (12,626,219,816B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->86.36% (12,626,219,816B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->86.36% (12,626,219,816B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->86.36% (12,626,219,816B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->86.36% (12,626,219,816B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->86.36% (12,626,219,816B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->86.36% (12,626,219,816B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->86.36% (12,626,219,816B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->86.36% (12,626,219,816B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->86.36% (12,626,219,816B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->86.36% (12,626,219,816B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->86.36% (12,626,219,816B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->86.36% (12,626,219,816B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.60% (234,544,000B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.60% (234,544,000B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.60% (234,544,000B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.60% (234,544,000B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.60% (234,544,000B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.60% (234,544,000B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.60% (234,544,000B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.60% (234,544,000B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.60% (234,544,000B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.60% (234,544,000B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.60% (234,544,000B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.60% (234,544,000B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.60% (234,544,000B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.60% (234,544,000B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.60% (234,544,000B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.60% (234,544,000B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.60% (234,544,000B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.60% (234,544,000B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.60% (234,544,000B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.60% (234,544,000B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.60% (234,544,000B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.60% (234,544,000B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.60% (234,544,000B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.60% (234,544,000B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.60% (234,544,000B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.60% (234,544,000B) 0x6E988AB: clone (clone.S:111) | | | ->01.82% (266,326,296B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.45% (211,287,384B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.45% (211,287,384B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.45% (211,287,384B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.45% (211,287,384B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.45% (211,287,384B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.45% (211,287,384B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (211,287,384B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (211,287,384B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (211,287,384B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (211,287,384B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (211,287,384B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.45% (211,287,384B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.45% (211,287,384B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.45% (211,287,384B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.45% (211,287,384B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (211,287,384B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.45% (211,287,384B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.45% (211,287,384B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.45% (211,287,384B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.45% (211,287,384B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.45% (211,287,384B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.45% (211,287,384B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.45% (211,287,384B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.45% (211,287,384B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.45% (211,287,384B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.45% (211,287,384B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.38% (55,038,912B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.40% (58,747,038B) in 1+ places, all below ms_print's threshold (01.00%) | ->07.85% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->02.92% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->01.90% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.90% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.90% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.90% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.87% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->01.87% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.87% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.87% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.16% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.16% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.16% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.16% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.83% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.79% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.24% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.16% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.16% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.16% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.16% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.16% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.16% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.16% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.16% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.16% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.16% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.07% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.55% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.05% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.11% (16,598,322B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 53 280,131,353,501 14,770,973,336 14,768,959,459 2,013,877 0 54 280,136,142,699 14,771,103,912 14,769,090,011 2,013,901 0 99.99% (14,769,090,011B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->90.29% (13,336,861,563B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->88.07% (13,008,457,384B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->86.46% (12,771,208,424B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->86.46% (12,771,208,424B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->86.46% (12,771,208,424B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->86.46% (12,771,208,424B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->86.46% (12,771,208,424B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->86.46% (12,771,208,424B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->86.46% (12,771,208,424B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->86.46% (12,771,208,424B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->86.46% (12,771,208,424B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->86.46% (12,771,208,424B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->86.46% (12,771,208,424B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->86.46% (12,771,208,424B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->86.46% (12,771,208,424B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->86.46% (12,771,208,424B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->86.46% (12,771,208,424B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->86.46% (12,771,208,424B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->86.46% (12,771,208,424B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->86.46% (12,771,208,424B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->86.46% (12,771,208,424B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->86.46% (12,771,208,424B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->86.46% (12,771,208,424B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->86.46% (12,771,208,424B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->86.46% (12,771,208,424B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->86.46% (12,771,208,424B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->86.46% (12,771,208,424B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->86.46% (12,771,208,424B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.61% (237,248,960B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.61% (237,248,960B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.61% (237,248,960B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.61% (237,248,960B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.61% (237,248,960B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.61% (237,248,960B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.61% (237,248,960B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.61% (237,248,960B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.61% (237,248,960B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.61% (237,248,960B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.61% (237,248,960B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.61% (237,248,960B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.61% (237,248,960B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.61% (237,248,960B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.61% (237,248,960B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.61% (237,248,960B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.61% (237,248,960B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.61% (237,248,960B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.61% (237,248,960B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.61% (237,248,960B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.61% (237,248,960B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.61% (237,248,960B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.61% (237,248,960B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.61% (237,248,960B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.61% (237,248,960B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.61% (237,248,960B) 0x6E988AB: clone (clone.S:111) | | | ->01.83% (269,701,584B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.45% (213,965,136B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.45% (213,965,136B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.45% (213,965,136B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.45% (213,965,136B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.45% (213,965,136B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.45% (213,965,136B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (213,965,136B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (213,965,136B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (213,965,136B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (213,965,136B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (213,965,136B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.45% (213,965,136B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.45% (213,965,136B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.45% (213,965,136B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.45% (213,965,136B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (213,965,136B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.45% (213,965,136B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.45% (213,965,136B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.45% (213,965,136B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.45% (213,965,136B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.45% (213,965,136B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.45% (213,965,136B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.45% (213,965,136B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.45% (213,965,136B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.45% (213,965,136B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.45% (213,965,136B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.38% (55,736,448B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.40% (58,702,595B) in 1+ places, all below ms_print's threshold (01.00%) | ->07.77% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->02.89% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->01.88% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.88% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.88% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.88% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.85% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->01.85% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.85% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.85% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.15% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.15% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.15% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.15% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.82% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.77% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.22% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.15% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.15% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.15% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.15% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.15% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.15% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.15% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.15% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.15% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.15% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.07% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.55% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.05% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.11% (16,593,258B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 55 283,222,992,932 14,919,495,824 14,917,461,358 2,034,466 0 99.99% (14,917,461,358B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->90.39% (13,485,258,454B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->88.16% (13,152,903,312B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->86.55% (12,912,983,632B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->86.55% (12,912,983,632B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->86.55% (12,912,983,632B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->86.55% (12,912,983,632B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->86.55% (12,912,983,632B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->86.55% (12,912,983,632B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->86.55% (12,912,983,632B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->86.55% (12,912,983,632B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->86.55% (12,912,983,632B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->86.55% (12,912,983,632B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->86.55% (12,912,983,632B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->86.55% (12,912,983,632B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->86.55% (12,912,983,632B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->86.55% (12,912,983,632B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->86.55% (12,912,983,632B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->86.55% (12,912,983,632B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->86.55% (12,912,983,632B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->86.55% (12,912,983,632B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->86.55% (12,912,983,632B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->86.55% (12,912,983,632B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->86.55% (12,912,983,632B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->86.55% (12,912,983,632B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->86.55% (12,912,983,632B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->86.55% (12,912,983,632B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->86.55% (12,912,983,632B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->86.55% (12,912,983,632B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.61% (239,919,680B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.61% (239,919,680B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.61% (239,919,680B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.61% (239,919,680B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.61% (239,919,680B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.61% (239,919,680B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.61% (239,919,680B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.61% (239,919,680B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.61% (239,919,680B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.61% (239,919,680B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.61% (239,919,680B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.61% (239,919,680B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.61% (239,919,680B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.61% (239,919,680B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.61% (239,919,680B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.61% (239,919,680B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.61% (239,919,680B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.61% (239,919,680B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.61% (239,919,680B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.61% (239,919,680B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.61% (239,919,680B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.61% (239,919,680B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.61% (239,919,680B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.61% (239,919,680B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.61% (239,919,680B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.61% (239,919,680B) 0x6E988AB: clone (clone.S:111) | | | ->01.83% (273,076,872B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.45% (216,642,888B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.45% (216,642,888B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.45% (216,642,888B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.45% (216,642,888B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.45% (216,642,888B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.45% (216,642,888B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (216,642,888B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (216,642,888B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (216,642,888B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (216,642,888B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (216,642,888B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.45% (216,642,888B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.45% (216,642,888B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.45% (216,642,888B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.45% (216,642,888B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (216,642,888B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.45% (216,642,888B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.45% (216,642,888B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.45% (216,642,888B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.45% (216,642,888B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.45% (216,642,888B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.45% (216,642,888B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.45% (216,642,888B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.45% (216,642,888B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.45% (216,642,888B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.45% (216,642,888B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.38% (56,433,984B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.40% (59,278,270B) in 1+ places, all below ms_print's threshold (01.00%) | ->07.69% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->02.86% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->01.86% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.86% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.86% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.86% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.83% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->01.83% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.83% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.83% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.14% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.14% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.14% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.14% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.80% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.75% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.21% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.14% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.14% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.14% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.14% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.14% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.14% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.14% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.14% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.14% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.14% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.07% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.54% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.05% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.11% (16,567,714B) 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 286,375,560,041 15,069,674,312 15,067,619,319 2,054,993 0 57 286,401,079,051 15,070,833,304 15,068,778,159 2,055,145 0 99.99% (15,068,778,159B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->90.48% (13,636,580,319B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->88.26% (13,301,590,928B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->86.65% (13,059,000,528B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->86.65% (13,059,000,528B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->86.65% (13,059,000,528B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->86.65% (13,059,000,528B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->86.65% (13,059,000,528B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->86.65% (13,059,000,528B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->86.65% (13,059,000,528B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->86.65% (13,059,000,528B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->86.65% (13,059,000,528B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->86.65% (13,059,000,528B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->86.65% (13,059,000,528B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->86.65% (13,059,000,528B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->86.65% (13,059,000,528B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->86.65% (13,059,000,528B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->86.65% (13,059,000,528B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->86.65% (13,059,000,528B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->86.65% (13,059,000,528B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->86.65% (13,059,000,528B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->86.65% (13,059,000,528B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->86.65% (13,059,000,528B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->86.65% (13,059,000,528B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->86.65% (13,059,000,528B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->86.65% (13,059,000,528B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->86.65% (13,059,000,528B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->86.65% (13,059,000,528B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->86.65% (13,059,000,528B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.61% (242,590,400B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.61% (242,590,400B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.61% (242,590,400B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.61% (242,590,400B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.61% (242,590,400B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.61% (242,590,400B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.61% (242,590,400B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.61% (242,590,400B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.61% (242,590,400B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.61% (242,590,400B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.61% (242,590,400B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.61% (242,590,400B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.61% (242,590,400B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.61% (242,590,400B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.61% (242,590,400B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.61% (242,590,400B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.61% (242,590,400B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.61% (242,590,400B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.61% (242,590,400B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.61% (242,590,400B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.61% (242,590,400B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.61% (242,590,400B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.61% (242,590,400B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.61% (242,590,400B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.61% (242,590,400B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.61% (242,590,400B) 0x6E988AB: clone (clone.S:111) | | | ->01.83% (275,809,248B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.45% (218,810,592B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.45% (218,810,592B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.45% (218,810,592B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.45% (218,810,592B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.45% (218,810,592B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.45% (218,810,592B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (218,810,592B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (218,810,592B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (218,810,592B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (218,810,592B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (218,810,592B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.45% (218,810,592B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.45% (218,810,592B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.45% (218,810,592B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.45% (218,810,592B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (218,810,592B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.45% (218,810,592B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.45% (218,810,592B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.45% (218,810,592B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.45% (218,810,592B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.45% (218,810,592B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.45% (218,810,592B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.45% (218,810,592B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.45% (218,810,592B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.45% (218,810,592B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.45% (218,810,592B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.38% (56,998,656B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.39% (59,180,143B) in 1+ places, all below ms_print's threshold (01.00%) | ->07.61% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->02.83% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->01.84% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.84% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.84% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.84% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.81% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->01.81% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.81% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.81% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.13% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.13% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.13% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.13% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.78% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.73% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.20% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.13% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.13% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.13% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.13% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.13% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.13% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.13% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.13% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.13% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.13% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.07% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.53% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.05% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.11% (16,562,650B) 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 289,555,794,724 15,221,506,064 15,219,430,244 2,075,820 0 59 289,864,235,034 15,236,254,232 15,234,176,488 2,077,744 0 99.99% (15,234,176,488B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->90.59% (13,801,973,584B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->88.37% (13,463,697,376B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->86.75% (13,218,128,096B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->86.75% (13,218,128,096B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->86.75% (13,218,128,096B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->86.75% (13,218,128,096B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->86.75% (13,218,128,096B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->86.75% (13,218,128,096B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->86.75% (13,218,128,096B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->86.75% (13,218,128,096B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->86.75% (13,218,128,096B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->86.75% (13,218,128,096B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->86.75% (13,218,128,096B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->86.75% (13,218,128,096B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->86.75% (13,218,128,096B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->86.75% (13,218,128,096B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->86.75% (13,218,128,096B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->86.75% (13,218,128,096B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->86.75% (13,218,128,096B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->86.75% (13,218,128,096B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->86.75% (13,218,128,096B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->86.75% (13,218,128,096B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->86.75% (13,218,128,096B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->86.75% (13,218,128,096B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->86.75% (13,218,128,096B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->86.75% (13,218,128,096B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->86.75% (13,218,128,096B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->86.75% (13,218,128,096B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.61% (245,569,280B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.61% (245,569,280B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.61% (245,569,280B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.61% (245,569,280B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.61% (245,569,280B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.61% (245,569,280B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.61% (245,569,280B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.61% (245,569,280B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.61% (245,569,280B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.61% (245,569,280B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.61% (245,569,280B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.61% (245,569,280B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.61% (245,569,280B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.61% (245,569,280B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.61% (245,569,280B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.61% (245,569,280B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.61% (245,569,280B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.61% (245,569,280B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.61% (245,569,280B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.61% (245,569,280B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.61% (245,569,280B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.61% (245,569,280B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.61% (245,569,280B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.61% (245,569,280B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.61% (245,569,280B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.61% (245,569,280B) 0x6E988AB: clone (clone.S:111) | | | ->01.83% (278,541,624B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.45% (220,978,296B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.45% (220,978,296B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.45% (220,978,296B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.45% (220,978,296B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.45% (220,978,296B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.45% (220,978,296B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (220,978,296B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (220,978,296B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (220,978,296B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (220,978,296B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (220,978,296B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.45% (220,978,296B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.45% (220,978,296B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.45% (220,978,296B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.45% (220,978,296B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (220,978,296B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.45% (220,978,296B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.45% (220,978,296B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.45% (220,978,296B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.45% (220,978,296B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.45% (220,978,296B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.45% (220,978,296B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.45% (220,978,296B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.45% (220,978,296B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.45% (220,978,296B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.45% (220,978,296B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.38% (57,563,328B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.39% (59,734,584B) in 1+ places, all below ms_print's threshold (01.00%) | ->07.53% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->02.80% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->01.82% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.82% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.82% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.82% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.79% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->01.79% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.79% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.79% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.11% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.11% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.11% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.11% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.76% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.71% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.19% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.12% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.12% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.12% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.12% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.12% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.12% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.12% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.12% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.12% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.12% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.07% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.53% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.05% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.11% (16,567,714B) 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 293,016,883,670 15,386,030,248 15,383,932,167 2,098,081 0 61 293,312,501,806 15,400,061,320 15,397,961,455 2,099,865 0 99.99% (15,397,961,455B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->90.69% (13,965,733,007B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->88.48% (13,625,486,696B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->86.86% (13,376,870,056B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->86.86% (13,376,870,056B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->86.86% (13,376,870,056B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->86.86% (13,376,870,056B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->86.86% (13,376,870,056B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->86.86% (13,376,870,056B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->86.86% (13,376,870,056B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->86.86% (13,376,870,056B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->86.86% (13,376,870,056B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->86.86% (13,376,870,056B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->86.86% (13,376,870,056B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->86.86% (13,376,870,056B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->86.86% (13,376,870,056B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->86.86% (13,376,870,056B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->86.86% (13,376,870,056B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->86.86% (13,376,870,056B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->86.86% (13,376,870,056B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->86.86% (13,376,870,056B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->86.86% (13,376,870,056B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->86.86% (13,376,870,056B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->86.86% (13,376,870,056B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->86.86% (13,376,870,056B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->86.86% (13,376,870,056B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->86.86% (13,376,870,056B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->86.86% (13,376,870,056B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->86.86% (13,376,870,056B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.61% (248,616,640B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.61% (248,616,640B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.61% (248,616,640B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.61% (248,616,640B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.61% (248,616,640B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.61% (248,616,640B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.61% (248,616,640B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.61% (248,616,640B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.61% (248,616,640B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.61% (248,616,640B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.61% (248,616,640B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.61% (248,616,640B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.61% (248,616,640B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.61% (248,616,640B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.61% (248,616,640B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.61% (248,616,640B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.61% (248,616,640B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.61% (248,616,640B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.61% (248,616,640B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.61% (248,616,640B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.61% (248,616,640B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.61% (248,616,640B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.61% (248,616,640B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.61% (248,616,640B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.61% (248,616,640B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.61% (248,616,640B) 0x6E988AB: clone (clone.S:111) | | | ->01.82% (280,631,088B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.45% (222,635,952B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.45% (222,635,952B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.45% (222,635,952B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.45% (222,635,952B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.45% (222,635,952B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.45% (222,635,952B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (222,635,952B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (222,635,952B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (222,635,952B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (222,635,952B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (222,635,952B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.45% (222,635,952B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.45% (222,635,952B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.45% (222,635,952B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.45% (222,635,952B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (222,635,952B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.45% (222,635,952B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.45% (222,635,952B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.45% (222,635,952B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.45% (222,635,952B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.45% (222,635,952B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.45% (222,635,952B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.45% (222,635,952B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.45% (222,635,952B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.45% (222,635,952B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.45% (222,635,952B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.38% (57,995,136B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.39% (59,615,223B) in 1+ places, all below ms_print's threshold (01.00%) | ->07.45% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->02.77% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->01.80% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.80% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.80% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.80% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.77% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->01.77% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.77% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.77% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.10% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.10% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.10% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.10% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.74% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.70% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.17% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.10% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.10% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.10% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.10% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.10% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.10% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.10% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.10% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.10% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.10% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.07% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.52% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.05% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.11% (16,593,258B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 62 296,466,610,859 15,550,816,904 15,548,696,463 2,120,441 0 63 296,623,280,994 15,558,481,192 15,556,359,739 2,121,453 0 99.99% (15,556,359,739B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->90.78% (14,124,131,291B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->88.57% (13,780,772,312B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->86.96% (13,529,313,752B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->86.96% (13,529,313,752B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->86.96% (13,529,313,752B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->86.96% (13,529,313,752B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->86.96% (13,529,313,752B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->86.96% (13,529,313,752B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->86.96% (13,529,313,752B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->86.96% (13,529,313,752B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->86.96% (13,529,313,752B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->86.96% (13,529,313,752B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->86.96% (13,529,313,752B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->86.96% (13,529,313,752B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->86.96% (13,529,313,752B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->86.96% (13,529,313,752B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->86.96% (13,529,313,752B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->86.96% (13,529,313,752B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->86.96% (13,529,313,752B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->86.96% (13,529,313,752B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->86.96% (13,529,313,752B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->86.96% (13,529,313,752B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->86.96% (13,529,313,752B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->86.96% (13,529,313,752B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->86.96% (13,529,313,752B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->86.96% (13,529,313,752B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->86.96% (13,529,313,752B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->86.96% (13,529,313,752B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.62% (251,458,560B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.62% (251,458,560B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.62% (251,458,560B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.62% (251,458,560B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.62% (251,458,560B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.62% (251,458,560B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.62% (251,458,560B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.62% (251,458,560B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.62% (251,458,560B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.62% (251,458,560B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.62% (251,458,560B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.62% (251,458,560B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.62% (251,458,560B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.62% (251,458,560B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.62% (251,458,560B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.62% (251,458,560B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.62% (251,458,560B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.62% (251,458,560B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.62% (251,458,560B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.62% (251,458,560B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.62% (251,458,560B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.62% (251,458,560B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.62% (251,458,560B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.62% (251,458,560B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.62% (251,458,560B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.62% (251,458,560B) 0x6E988AB: clone (clone.S:111) | | | ->01.82% (283,202,736B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.44% (224,676,144B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.44% (224,676,144B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.44% (224,676,144B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.44% (224,676,144B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.44% (224,676,144B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.44% (224,676,144B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (224,676,144B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (224,676,144B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (224,676,144B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (224,676,144B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (224,676,144B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.44% (224,676,144B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.44% (224,676,144B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.44% (224,676,144B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.44% (224,676,144B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (224,676,144B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.44% (224,676,144B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.44% (224,676,144B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.44% (224,676,144B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.44% (224,676,144B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.44% (224,676,144B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.44% (224,676,144B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.44% (224,676,144B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.44% (224,676,144B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.44% (224,676,144B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.44% (224,676,144B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.38% (58,526,592B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.39% (60,156,243B) in 1+ places, all below ms_print's threshold (01.00%) | ->07.37% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->02.74% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->01.78% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.78% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.78% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.78% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.76% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->01.76% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.76% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.76% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.09% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.09% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.09% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.09% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.72% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.68% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.16% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.09% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.09% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.09% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.09% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.09% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.09% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.09% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.09% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.09% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.09% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.07% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.52% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.05% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.11% (16,593,258B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 64 299,777,466,812 15,708,770,400 15,706,628,554 2,141,846 0 65 300,025,556,018 15,720,464,776 15,718,321,335 2,143,441 0 99.99% (15,718,321,335B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->90.88% (14,286,092,887B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->88.68% (13,940,273,800B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->87.06% (13,685,870,600B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->87.06% (13,685,870,600B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->87.06% (13,685,870,600B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->87.06% (13,685,870,600B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->87.06% (13,685,870,600B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->87.06% (13,685,870,600B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.06% (13,685,870,600B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.06% (13,685,870,600B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.06% (13,685,870,600B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.06% (13,685,870,600B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.06% (13,685,870,600B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->87.06% (13,685,870,600B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->87.06% (13,685,870,600B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->87.06% (13,685,870,600B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->87.06% (13,685,870,600B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.06% (13,685,870,600B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->87.06% (13,685,870,600B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->87.06% (13,685,870,600B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->87.06% (13,685,870,600B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->87.06% (13,685,870,600B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->87.06% (13,685,870,600B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->87.06% (13,685,870,600B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->87.06% (13,685,870,600B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->87.06% (13,685,870,600B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->87.06% (13,685,870,600B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->87.06% (13,685,870,600B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.62% (254,403,200B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.62% (254,403,200B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.62% (254,403,200B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.62% (254,403,200B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.62% (254,403,200B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.62% (254,403,200B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.62% (254,403,200B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.62% (254,403,200B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.62% (254,403,200B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.62% (254,403,200B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.62% (254,403,200B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.62% (254,403,200B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.62% (254,403,200B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.62% (254,403,200B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.62% (254,403,200B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.62% (254,403,200B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.62% (254,403,200B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.62% (254,403,200B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.62% (254,403,200B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.62% (254,403,200B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.62% (254,403,200B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.62% (254,403,200B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.62% (254,403,200B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.62% (254,403,200B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.62% (254,403,200B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.62% (254,403,200B) 0x6E988AB: clone (clone.S:111) | | | ->01.82% (285,774,384B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.44% (226,716,336B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.44% (226,716,336B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.44% (226,716,336B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.44% (226,716,336B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.44% (226,716,336B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.44% (226,716,336B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (226,716,336B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (226,716,336B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (226,716,336B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (226,716,336B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (226,716,336B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.44% (226,716,336B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.44% (226,716,336B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.44% (226,716,336B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.44% (226,716,336B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (226,716,336B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.44% (226,716,336B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.44% (226,716,336B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.44% (226,716,336B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.44% (226,716,336B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.44% (226,716,336B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.44% (226,716,336B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.44% (226,716,336B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.44% (226,716,336B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.44% (226,716,336B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.44% (226,716,336B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.38% (59,058,048B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.38% (60,044,703B) in 1+ places, all below ms_print's threshold (01.00%) | ->07.30% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->02.72% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->01.77% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.77% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.77% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.77% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.74% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->01.74% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.74% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.74% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.08% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.08% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.08% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.08% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.71% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.66% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.15% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.08% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.08% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.08% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.08% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.08% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.08% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.08% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.08% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.08% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.08% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.07% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.51% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.04% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.11% (16,593,258B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 66 303,179,911,291 15,871,766,056 15,869,601,528 2,164,528 0 67 303,335,755,367 15,879,306,872 15,877,141,332 2,165,540 0 99.99% (15,877,141,332B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->90.97% (14,444,907,820B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->88.76% (14,095,105,328B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->87.14% (13,837,928,688B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->87.14% (13,837,928,688B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->87.14% (13,837,928,688B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->87.14% (13,837,928,688B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->87.14% (13,837,928,688B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->87.14% (13,837,928,688B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.14% (13,837,928,688B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.14% (13,837,928,688B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.14% (13,837,928,688B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.14% (13,837,928,688B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.14% (13,837,928,688B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->87.14% (13,837,928,688B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->87.14% (13,837,928,688B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->87.14% (13,837,928,688B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->87.14% (13,837,928,688B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.14% (13,837,928,688B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->87.14% (13,837,928,688B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->87.14% (13,837,928,688B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->87.14% (13,837,928,688B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->87.14% (13,837,928,688B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->87.14% (13,837,928,688B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->87.14% (13,837,928,688B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->87.14% (13,837,928,688B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->87.14% (13,837,928,688B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->87.14% (13,837,928,688B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->87.14% (13,837,928,688B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.62% (257,176,640B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.62% (257,176,640B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.62% (257,176,640B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.62% (257,176,640B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.62% (257,176,640B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.62% (257,176,640B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.62% (257,176,640B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.62% (257,176,640B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.62% (257,176,640B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.62% (257,176,640B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.62% (257,176,640B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.62% (257,176,640B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.62% (257,176,640B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.62% (257,176,640B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.62% (257,176,640B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.62% (257,176,640B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.62% (257,176,640B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.62% (257,176,640B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.62% (257,176,640B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.62% (257,176,640B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.62% (257,176,640B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.62% (257,176,640B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.62% (257,176,640B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.62% (257,176,640B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.62% (257,176,640B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.62% (257,176,640B) 0x6E988AB: clone (clone.S:111) | | | ->01.82% (289,149,672B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.44% (229,394,088B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.44% (229,394,088B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.44% (229,394,088B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.44% (229,394,088B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.44% (229,394,088B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.44% (229,394,088B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (229,394,088B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (229,394,088B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (229,394,088B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (229,394,088B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (229,394,088B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.44% (229,394,088B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.44% (229,394,088B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.44% (229,394,088B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.44% (229,394,088B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (229,394,088B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.44% (229,394,088B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.44% (229,394,088B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.44% (229,394,088B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.44% (229,394,088B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.44% (229,394,088B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.44% (229,394,088B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.44% (229,394,088B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.44% (229,394,088B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.44% (229,394,088B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.44% (229,394,088B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.38% (59,755,584B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.38% (60,652,820B) in 1+ places, all below ms_print's threshold (01.00%) | ->07.23% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->02.69% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->01.75% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.75% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.75% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.75% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.72% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->01.72% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.72% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.72% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.07% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.07% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.07% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.07% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.69% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.65% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.14% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.07% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.07% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.07% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.07% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.07% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.07% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.07% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.07% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.07% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.07% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.07% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.51% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.04% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.10% (16,598,322B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 68 306,489,923,952 16,029,788,224 16,027,601,978 2,186,246 0 69 306,711,900,222 16,040,482,784 16,038,295,126 2,187,658 0 99.99% (16,038,295,126B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->91.06% (14,606,061,614B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->88.86% (14,253,124,440B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->87.24% (13,993,071,640B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->87.24% (13,993,071,640B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->87.24% (13,993,071,640B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->87.24% (13,993,071,640B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->87.24% (13,993,071,640B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->87.24% (13,993,071,640B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.24% (13,993,071,640B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.24% (13,993,071,640B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.24% (13,993,071,640B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.24% (13,993,071,640B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.24% (13,993,071,640B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->87.24% (13,993,071,640B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->87.24% (13,993,071,640B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->87.24% (13,993,071,640B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->87.24% (13,993,071,640B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.24% (13,993,071,640B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->87.24% (13,993,071,640B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->87.24% (13,993,071,640B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->87.24% (13,993,071,640B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->87.24% (13,993,071,640B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->87.24% (13,993,071,640B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->87.24% (13,993,071,640B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->87.24% (13,993,071,640B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->87.24% (13,993,071,640B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->87.24% (13,993,071,640B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->87.24% (13,993,071,640B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.62% (260,052,800B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.62% (260,052,800B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.62% (260,052,800B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.62% (260,052,800B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.62% (260,052,800B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.62% (260,052,800B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.62% (260,052,800B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.62% (260,052,800B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.62% (260,052,800B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.62% (260,052,800B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.62% (260,052,800B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.62% (260,052,800B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.62% (260,052,800B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.62% (260,052,800B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.62% (260,052,800B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.62% (260,052,800B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.62% (260,052,800B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.62% (260,052,800B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.62% (260,052,800B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.62% (260,052,800B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.62% (260,052,800B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.62% (260,052,800B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.62% (260,052,800B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.62% (260,052,800B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.62% (260,052,800B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.62% (260,052,800B) 0x6E988AB: clone (clone.S:111) | | | ->01.82% (292,042,776B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.44% (231,689,304B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.44% (231,689,304B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.44% (231,689,304B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.44% (231,689,304B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.44% (231,689,304B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.44% (231,689,304B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (231,689,304B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (231,689,304B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (231,689,304B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (231,689,304B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (231,689,304B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.44% (231,689,304B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.44% (231,689,304B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.44% (231,689,304B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.44% (231,689,304B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (231,689,304B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.44% (231,689,304B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.44% (231,689,304B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.44% (231,689,304B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.44% (231,689,304B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.44% (231,689,304B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.44% (231,689,304B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.44% (231,689,304B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.44% (231,689,304B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.44% (231,689,304B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.44% (231,689,304B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.38% (60,353,472B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.38% (60,894,398B) in 1+ places, all below ms_print's threshold (01.00%) | ->07.15% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->02.66% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->01.73% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.73% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.73% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.73% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.70% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->01.70% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.70% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.70% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.06% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.06% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.06% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.06% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.67% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.63% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.13% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.06% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.06% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.06% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.06% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.06% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.06% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.06% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.06% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.06% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.06% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.07% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.50% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.04% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.10% (16,598,322B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 70 309,865,926,630 16,190,975,424 16,188,767,266 2,208,158 0 71 310,320,730,095 16,212,656,680 16,210,445,588 2,211,092 0 99.99% (16,210,445,588B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->91.15% (14,778,217,140B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->88.96% (14,422,471,568B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->87.33% (14,159,268,688B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->87.33% (14,159,268,688B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->87.33% (14,159,268,688B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->87.33% (14,159,268,688B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->87.33% (14,159,268,688B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->87.33% (14,159,268,688B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.33% (14,159,268,688B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.33% (14,159,268,688B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.33% (14,159,268,688B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.33% (14,159,268,688B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.33% (14,159,268,688B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->87.33% (14,159,268,688B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->87.33% (14,159,268,688B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->87.33% (14,159,268,688B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->87.33% (14,159,268,688B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.33% (14,159,268,688B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->87.33% (14,159,268,688B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->87.33% (14,159,268,688B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->87.33% (14,159,268,688B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->87.33% (14,159,268,688B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->87.33% (14,159,268,688B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->87.33% (14,159,268,688B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->87.33% (14,159,268,688B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->87.33% (14,159,268,688B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->87.33% (14,159,268,688B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->87.33% (14,159,268,688B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.62% (263,202,880B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.62% (263,202,880B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.62% (263,202,880B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.62% (263,202,880B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.62% (263,202,880B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.62% (263,202,880B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.62% (263,202,880B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.62% (263,202,880B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.62% (263,202,880B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.62% (263,202,880B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.62% (263,202,880B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.62% (263,202,880B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.62% (263,202,880B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.62% (263,202,880B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.62% (263,202,880B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.62% (263,202,880B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.62% (263,202,880B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.62% (263,202,880B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.62% (263,202,880B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.62% (263,202,880B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.62% (263,202,880B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.62% (263,202,880B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.62% (263,202,880B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.62% (263,202,880B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.62% (263,202,880B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.62% (263,202,880B) 0x6E988AB: clone (clone.S:111) | | | ->01.82% (294,935,880B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.44% (233,984,520B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.44% (233,984,520B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.44% (233,984,520B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.44% (233,984,520B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.44% (233,984,520B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.44% (233,984,520B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (233,984,520B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (233,984,520B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (233,984,520B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (233,984,520B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (233,984,520B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.44% (233,984,520B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.44% (233,984,520B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.44% (233,984,520B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.44% (233,984,520B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (233,984,520B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.44% (233,984,520B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.44% (233,984,520B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.44% (233,984,520B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.44% (233,984,520B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.44% (233,984,520B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.44% (233,984,520B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.44% (233,984,520B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.44% (233,984,520B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.44% (233,984,520B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.44% (233,984,520B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.38% (60,951,360B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.38% (60,809,692B) in 1+ places, all below ms_print's threshold (01.00%) | ->07.08% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->02.63% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->01.71% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.71% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.71% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.71% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.68% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->01.68% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.68% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.68% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.05% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.05% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.05% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.05% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.65% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.61% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.11% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.05% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.05% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.05% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.05% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.05% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.05% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.05% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.05% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.05% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.05% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.07% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.50% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.04% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.10% (16,593,258B) 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 313,475,201,672 16,363,143,696 16,360,912,151 2,231,545 0 73 313,789,090,055 16,378,148,968 16,375,915,467 2,233,501 0 99.99% (16,375,915,467B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->91.24% (14,943,681,955B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->89.05% (14,584,997,864B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->87.43% (14,318,781,864B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->87.43% (14,318,781,864B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->87.43% (14,318,781,864B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->87.43% (14,318,781,864B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->87.43% (14,318,781,864B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->87.43% (14,318,781,864B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.43% (14,318,781,864B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.43% (14,318,781,864B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.43% (14,318,781,864B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.43% (14,318,781,864B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.43% (14,318,781,864B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->87.43% (14,318,781,864B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->87.43% (14,318,781,864B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->87.43% (14,318,781,864B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->87.43% (14,318,781,864B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.43% (14,318,781,864B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->87.43% (14,318,781,864B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->87.43% (14,318,781,864B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->87.43% (14,318,781,864B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->87.43% (14,318,781,864B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->87.43% (14,318,781,864B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->87.43% (14,318,781,864B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->87.43% (14,318,781,864B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->87.43% (14,318,781,864B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->87.43% (14,318,781,864B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->87.43% (14,318,781,864B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.63% (266,216,000B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.63% (266,216,000B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.63% (266,216,000B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.63% (266,216,000B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.63% (266,216,000B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.63% (266,216,000B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.63% (266,216,000B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.63% (266,216,000B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.63% (266,216,000B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.63% (266,216,000B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.63% (266,216,000B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.63% (266,216,000B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.63% (266,216,000B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.63% (266,216,000B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.63% (266,216,000B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.63% (266,216,000B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.63% (266,216,000B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.63% (266,216,000B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.63% (266,216,000B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.63% (266,216,000B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.63% (266,216,000B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.63% (266,216,000B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.63% (266,216,000B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.63% (266,216,000B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.63% (266,216,000B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.63% (266,216,000B) 0x6E988AB: clone (clone.S:111) | | | ->01.82% (297,346,800B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.44% (235,897,200B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.44% (235,897,200B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.44% (235,897,200B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.44% (235,897,200B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.44% (235,897,200B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.44% (235,897,200B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (235,897,200B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (235,897,200B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (235,897,200B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (235,897,200B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (235,897,200B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.44% (235,897,200B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.44% (235,897,200B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.44% (235,897,200B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.44% (235,897,200B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (235,897,200B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.44% (235,897,200B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.44% (235,897,200B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.44% (235,897,200B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.44% (235,897,200B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.44% (235,897,200B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.44% (235,897,200B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.44% (235,897,200B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.44% (235,897,200B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.44% (235,897,200B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.44% (235,897,200B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.38% (61,449,600B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.37% (61,337,291B) in 1+ places, all below ms_print's threshold (01.00%) | ->07.01% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->02.61% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->01.69% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.69% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.69% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.69% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.67% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->01.67% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.67% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.67% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.04% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.04% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.04% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.04% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.64% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.60% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.10% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.04% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.04% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.04% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.04% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.04% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.04% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.04% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.04% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.04% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.04% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.06% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.49% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.04% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.10% (16,598,322B) 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 316,941,574,887 16,528,433,080 16,526,179,218 2,253,862 0 75 317,435,460,872 16,552,045,552 16,549,788,434 2,257,118 0 99.99% (16,549,788,434B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->91.33% (15,117,540,714B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->89.15% (14,756,050,200B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->87.52% (14,486,649,880B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->87.52% (14,486,649,880B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->87.52% (14,486,649,880B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->87.52% (14,486,649,880B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->87.52% (14,486,649,880B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->87.52% (14,486,649,880B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.52% (14,486,649,880B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.52% (14,486,649,880B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.52% (14,486,649,880B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.52% (14,486,649,880B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.52% (14,486,649,880B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->87.52% (14,486,649,880B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->87.52% (14,486,649,880B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->87.52% (14,486,649,880B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->87.52% (14,486,649,880B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.52% (14,486,649,880B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->87.52% (14,486,649,880B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->87.52% (14,486,649,880B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->87.52% (14,486,649,880B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->87.52% (14,486,649,880B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->87.52% (14,486,649,880B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->87.52% (14,486,649,880B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->87.52% (14,486,649,880B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->87.52% (14,486,649,880B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->87.52% (14,486,649,880B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->87.52% (14,486,649,880B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.63% (269,400,320B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.63% (269,400,320B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.63% (269,400,320B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.63% (269,400,320B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.63% (269,400,320B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.63% (269,400,320B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.63% (269,400,320B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.63% (269,400,320B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.63% (269,400,320B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.63% (269,400,320B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.63% (269,400,320B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.63% (269,400,320B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.63% (269,400,320B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.63% (269,400,320B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.63% (269,400,320B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.63% (269,400,320B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.63% (269,400,320B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.63% (269,400,320B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.63% (269,400,320B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.63% (269,400,320B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.63% (269,400,320B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.63% (269,400,320B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.63% (269,400,320B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.63% (269,400,320B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.63% (269,400,320B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.63% (269,400,320B) 0x6E988AB: clone (clone.S:111) | | | ->01.81% (299,918,448B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.44% (237,937,392B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.44% (237,937,392B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.44% (237,937,392B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.44% (237,937,392B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.44% (237,937,392B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.44% (237,937,392B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (237,937,392B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (237,937,392B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (237,937,392B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (237,937,392B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (237,937,392B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.44% (237,937,392B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.44% (237,937,392B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.44% (237,937,392B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.44% (237,937,392B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (237,937,392B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.44% (237,937,392B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.44% (237,937,392B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.44% (237,937,392B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.44% (237,937,392B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.44% (237,937,392B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.44% (237,937,392B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.44% (237,937,392B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.44% (237,937,392B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.44% (237,937,392B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.44% (237,937,392B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.37% (61,981,056B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.37% (61,572,066B) in 1+ places, all below ms_print's threshold (01.00%) | ->06.93% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->02.58% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->01.68% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.68% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.68% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.68% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.65% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->01.65% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.65% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.65% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.03% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.03% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.03% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.03% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.62% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.58% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.09% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.03% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.03% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.03% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.03% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.03% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.03% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.03% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.03% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.03% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.03% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.06% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.49% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.04% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.10% (16,612,530B) 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 320,590,061,729 16,702,306,808 16,700,029,311 2,277,497 0 77 321,022,691,672 16,723,162,536 16,720,882,157 2,280,379 0 99.99% (16,720,882,157B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->91.42% (15,288,648,645B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->89.24% (14,924,043,488B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->87.61% (14,651,561,568B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->87.61% (14,651,561,568B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->87.61% (14,651,561,568B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->87.61% (14,651,561,568B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->87.61% (14,651,561,568B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->87.61% (14,651,561,568B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.61% (14,651,561,568B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.61% (14,651,561,568B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.61% (14,651,561,568B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.61% (14,651,561,568B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.61% (14,651,561,568B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->87.61% (14,651,561,568B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->87.61% (14,651,561,568B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->87.61% (14,651,561,568B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->87.61% (14,651,561,568B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.61% (14,651,561,568B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->87.61% (14,651,561,568B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->87.61% (14,651,561,568B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->87.61% (14,651,561,568B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->87.61% (14,651,561,568B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->87.61% (14,651,561,568B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->87.61% (14,651,561,568B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->87.61% (14,651,561,568B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->87.61% (14,651,561,568B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->87.61% (14,651,561,568B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->87.61% (14,651,561,568B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.63% (272,481,920B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.63% (272,481,920B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.63% (272,481,920B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.63% (272,481,920B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.63% (272,481,920B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.63% (272,481,920B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.63% (272,481,920B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.63% (272,481,920B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.63% (272,481,920B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.63% (272,481,920B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.63% (272,481,920B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.63% (272,481,920B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.63% (272,481,920B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.63% (272,481,920B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.63% (272,481,920B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.63% (272,481,920B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.63% (272,481,920B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.63% (272,481,920B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.63% (272,481,920B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.63% (272,481,920B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.63% (272,481,920B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.63% (272,481,920B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.63% (272,481,920B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.63% (272,481,920B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.63% (272,481,920B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.63% (272,481,920B) 0x6E988AB: clone (clone.S:111) | | | ->01.81% (302,811,552B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.44% (240,232,608B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.44% (240,232,608B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.44% (240,232,608B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.44% (240,232,608B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.44% (240,232,608B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.44% (240,232,608B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (240,232,608B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (240,232,608B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (240,232,608B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (240,232,608B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (240,232,608B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.44% (240,232,608B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.44% (240,232,608B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.44% (240,232,608B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.44% (240,232,608B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (240,232,608B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.44% (240,232,608B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.44% (240,232,608B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.44% (240,232,608B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.44% (240,232,608B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.44% (240,232,608B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.44% (240,232,608B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.44% (240,232,608B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.44% (240,232,608B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.44% (240,232,608B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.44% (240,232,608B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.37% (62,578,944B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.37% (61,793,605B) in 1+ places, all below ms_print's threshold (01.00%) | ->06.86% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->02.55% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->01.66% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.66% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.66% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.66% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.63% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->01.63% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.63% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.63% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.02% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.02% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.02% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.02% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.60% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.56% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.08% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.02% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.02% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.02% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.02% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.02% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.02% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.02% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.02% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.02% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.02% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.06% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.48% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.04% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.10% (16,598,322B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 78 324,177,602,725 16,873,958,168 16,871,656,861 2,301,307 0 79 324,631,013,394 16,895,847,960 16,893,543,580 2,304,380 0 99.99% (16,893,543,580B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->91.51% (15,461,315,132B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->89.33% (15,093,030,824B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->87.70% (14,817,501,544B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->87.70% (14,817,501,544B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->87.70% (14,817,501,544B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->87.70% (14,817,501,544B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->87.70% (14,817,501,544B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->87.70% (14,817,501,544B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.70% (14,817,501,544B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.70% (14,817,501,544B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.70% (14,817,501,544B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.70% (14,817,501,544B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.70% (14,817,501,544B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->87.70% (14,817,501,544B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->87.70% (14,817,501,544B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->87.70% (14,817,501,544B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->87.70% (14,817,501,544B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.70% (14,817,501,544B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->87.70% (14,817,501,544B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->87.70% (14,817,501,544B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->87.70% (14,817,501,544B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->87.70% (14,817,501,544B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->87.70% (14,817,501,544B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->87.70% (14,817,501,544B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->87.70% (14,817,501,544B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->87.70% (14,817,501,544B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->87.70% (14,817,501,544B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->87.70% (14,817,501,544B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.63% (275,529,280B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.63% (275,529,280B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.63% (275,529,280B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.63% (275,529,280B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.63% (275,529,280B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.63% (275,529,280B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.63% (275,529,280B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.63% (275,529,280B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.63% (275,529,280B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.63% (275,529,280B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.63% (275,529,280B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.63% (275,529,280B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.63% (275,529,280B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.63% (275,529,280B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.63% (275,529,280B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.63% (275,529,280B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.63% (275,529,280B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.63% (275,529,280B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.63% (275,529,280B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.63% (275,529,280B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.63% (275,529,280B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.63% (275,529,280B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.63% (275,529,280B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.63% (275,529,280B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.63% (275,529,280B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.63% (275,529,280B) 0x6E988AB: clone (clone.S:111) | | | ->01.81% (306,508,296B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.44% (243,165,384B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.44% (243,165,384B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.44% (243,165,384B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.44% (243,165,384B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.44% (243,165,384B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.44% (243,165,384B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (243,165,384B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (243,165,384B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (243,165,384B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (243,165,384B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (243,165,384B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.44% (243,165,384B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.44% (243,165,384B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.44% (243,165,384B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.44% (243,165,384B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (243,165,384B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.44% (243,165,384B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.44% (243,165,384B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.44% (243,165,384B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.44% (243,165,384B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.44% (243,165,384B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.44% (243,165,384B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.44% (243,165,384B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.44% (243,165,384B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.44% (243,165,384B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.44% (243,165,384B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.37% (63,342,912B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.37% (61,776,012B) in 1+ places, all below ms_print's threshold (01.00%) | ->06.79% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->02.53% (426,832,776B) in 40 places, all below massif's threshold (01.00%) | | | ->01.64% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.64% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.64% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.64% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.62% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | | ->01.62% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | | ->01.62% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.62% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.01% (169,820,160B) 0x8D8108: init_instruments(PFS_global_param const*) (pfs_instr.cc:389) | ->01.01% (169,820,160B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.01% (169,820,160B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.01% (169,820,160B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.59% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.55% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.07% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.01% (169,996,984B) 0xA7C12E: btr_search_sys_create(unsigned long) (btr0sea.cc:202) | | | | ->01.01% (169,996,984B) 0xA863BA: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1563) | | | | ->01.01% (169,996,984B) 0xA29182: innobase_start_or_create_for_mysql() (srv0start.cc:2032) | | | | ->01.01% (169,996,984B) 0x96A262: innobase_init(void*) (ha_innodb.cc:3962) | | | | ->01.01% (169,996,984B) 0x58F106: ha_initialize_handlerton(st_plugin_int*) (handler.cc:696) | | | | ->01.01% (169,996,984B) 0x6D0E4F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1138) | | | | ->01.01% (169,996,984B) 0x6D7948: plugin_init(int*, char**, int) (sql_plugin.cc:1432) | | | | ->01.01% (169,996,984B) 0x5870C5: init_server_components() (mysqld.cc:5219) | | | | ->01.01% (169,996,984B) 0x588101: mysqld_main(int, char**) (mysqld.cc:5861) | | | | ->01.01% (169,996,984B) 0x6DD1B43: (below main) (libc-start.c:287) | | | | | | | ->00.06% (10,633,408B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.48% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.04% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.10% (16,593,258B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 80 327,784,239,039 17,047,886,488 17,045,559,970 2,326,518 0 81 328,353,994,419 17,074,975,368 17,072,645,228 2,330,140 0 99.99% (17,072,645,228B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->91.60% (15,640,416,780B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->89.41% (15,266,559,584B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->87.78% (14,987,811,744B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->87.78% (14,987,811,744B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->87.78% (14,987,811,744B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->87.78% (14,987,811,744B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->87.78% (14,987,811,744B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->87.78% (14,987,811,744B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.78% (14,987,811,744B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.78% (14,987,811,744B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.78% (14,987,811,744B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.78% (14,987,811,744B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.78% (14,987,811,744B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->87.78% (14,987,811,744B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->87.78% (14,987,811,744B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->87.78% (14,987,811,744B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->87.78% (14,987,811,744B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.78% (14,987,811,744B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->87.78% (14,987,811,744B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->87.78% (14,987,811,744B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->87.78% (14,987,811,744B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->87.78% (14,987,811,744B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->87.78% (14,987,811,744B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->87.78% (14,987,811,744B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->87.78% (14,987,811,744B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->87.78% (14,987,811,744B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->87.78% (14,987,811,744B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->87.78% (14,987,811,744B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.63% (278,747,840B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.63% (278,747,840B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.63% (278,747,840B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.63% (278,747,840B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.63% (278,747,840B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.63% (278,747,840B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.63% (278,747,840B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.63% (278,747,840B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.63% (278,747,840B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.63% (278,747,840B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.63% (278,747,840B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.63% (278,747,840B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.63% (278,747,840B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.63% (278,747,840B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.63% (278,747,840B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.63% (278,747,840B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.63% (278,747,840B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.63% (278,747,840B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.63% (278,747,840B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.63% (278,747,840B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.63% (278,747,840B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.63% (278,747,840B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.63% (278,747,840B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.63% (278,747,840B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.63% (278,747,840B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.63% (278,747,840B) 0x6E988AB: clone (clone.S:111) | | | ->01.83% (311,651,592B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.45% (247,245,768B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.45% (247,245,768B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.45% (247,245,768B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.45% (247,245,768B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.45% (247,245,768B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.45% (247,245,768B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (247,245,768B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (247,245,768B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (247,245,768B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (247,245,768B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (247,245,768B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.45% (247,245,768B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.45% (247,245,768B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.45% (247,245,768B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.45% (247,245,768B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (247,245,768B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.45% (247,245,768B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.45% (247,245,768B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.45% (247,245,768B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.45% (247,245,768B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.45% (247,245,768B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.45% (247,245,768B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.45% (247,245,768B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.45% (247,245,768B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.45% (247,245,768B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.45% (247,245,768B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.38% (64,405,824B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.36% (62,205,604B) in 1+ places, all below ms_print's threshold (01.00%) | ->06.72% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->03.49% (596,652,936B) in 41 places, all below massif's threshold (01.00%) | | | ->01.63% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.63% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.63% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.63% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.60% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | ->01.60% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.60% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.60% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.57% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.53% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.06% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.06% (180,630,392B) in 2 places, all below massif's threshold (01.00%) | | | | | ->00.47% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.04% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.10% (16,593,258B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 82 331,509,040,950 17,225,299,568 17,222,949,015 2,350,553 0 83 332,094,830,130 17,253,186,104 17,250,831,490 2,354,614 0 99.99% (17,250,831,490B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->91.68% (15,818,569,162B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->89.50% (15,441,536,480B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->87.87% (15,159,535,840B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->87.87% (15,159,535,840B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->87.87% (15,159,535,840B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->87.87% (15,159,535,840B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->87.87% (15,159,535,840B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->87.87% (15,159,535,840B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.87% (15,159,535,840B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.87% (15,159,535,840B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.87% (15,159,535,840B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.87% (15,159,535,840B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.87% (15,159,535,840B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->87.87% (15,159,535,840B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->87.87% (15,159,535,840B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->87.87% (15,159,535,840B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->87.87% (15,159,535,840B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.87% (15,159,535,840B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->87.87% (15,159,535,840B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->87.87% (15,159,535,840B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->87.87% (15,159,535,840B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->87.87% (15,159,535,840B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->87.87% (15,159,535,840B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->87.87% (15,159,535,840B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->87.87% (15,159,535,840B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->87.87% (15,159,535,840B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->87.87% (15,159,535,840B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->87.87% (15,159,535,840B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.63% (282,000,640B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.63% (282,000,640B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.63% (282,000,640B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.63% (282,000,640B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.63% (282,000,640B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.63% (282,000,640B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.63% (282,000,640B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.63% (282,000,640B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.63% (282,000,640B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.63% (282,000,640B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.63% (282,000,640B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.63% (282,000,640B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.63% (282,000,640B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.63% (282,000,640B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.63% (282,000,640B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.63% (282,000,640B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.63% (282,000,640B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.63% (282,000,640B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.63% (282,000,640B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.63% (282,000,640B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.63% (282,000,640B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.63% (282,000,640B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.63% (282,000,640B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.63% (282,000,640B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.63% (282,000,640B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.63% (282,000,640B) 0x6E988AB: clone (clone.S:111) | | | ->01.82% (314,544,696B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.45% (249,540,984B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.45% (249,540,984B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.45% (249,540,984B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.45% (249,540,984B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.45% (249,540,984B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.45% (249,540,984B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (249,540,984B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (249,540,984B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (249,540,984B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (249,540,984B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (249,540,984B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.45% (249,540,984B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.45% (249,540,984B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.45% (249,540,984B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.45% (249,540,984B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (249,540,984B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.45% (249,540,984B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.45% (249,540,984B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.45% (249,540,984B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.45% (249,540,984B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.45% (249,540,984B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.45% (249,540,984B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.45% (249,540,984B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.45% (249,540,984B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.45% (249,540,984B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.45% (249,540,984B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.38% (65,003,712B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.36% (62,487,986B) in 1+ places, all below ms_print's threshold (01.00%) | ->06.65% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->03.46% (596,652,936B) in 41 places, all below massif's threshold (01.00%) | | | ->01.61% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.61% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.61% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.61% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.58% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | ->01.58% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.58% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.58% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.55% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.51% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.05% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.05% (180,630,392B) in 2 places, all below massif's threshold (01.00%) | | | | | ->00.47% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.04% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.10% (16,627,138B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 84 335,247,516,164 17,404,052,512 17,401,677,336 2,375,176 0 85 335,842,648,464 17,432,709,760 17,430,330,619 2,379,141 0 99.99% (17,430,330,619B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->91.77% (15,998,097,107B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->89.59% (15,617,121,816B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->87.95% (15,331,902,616B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->87.95% (15,331,902,616B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->87.95% (15,331,902,616B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->87.95% (15,331,902,616B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->87.95% (15,331,902,616B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->87.95% (15,331,902,616B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.95% (15,331,902,616B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.95% (15,331,902,616B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->87.95% (15,331,902,616B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->87.95% (15,331,902,616B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.95% (15,331,902,616B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->87.95% (15,331,902,616B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->87.95% (15,331,902,616B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->87.95% (15,331,902,616B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->87.95% (15,331,902,616B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->87.95% (15,331,902,616B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->87.95% (15,331,902,616B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->87.95% (15,331,902,616B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->87.95% (15,331,902,616B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->87.95% (15,331,902,616B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->87.95% (15,331,902,616B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->87.95% (15,331,902,616B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->87.95% (15,331,902,616B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->87.95% (15,331,902,616B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->87.95% (15,331,902,616B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->87.95% (15,331,902,616B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.64% (285,219,200B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.64% (285,219,200B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.64% (285,219,200B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.64% (285,219,200B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.64% (285,219,200B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.64% (285,219,200B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.64% (285,219,200B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.64% (285,219,200B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.64% (285,219,200B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.64% (285,219,200B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.64% (285,219,200B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.64% (285,219,200B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.64% (285,219,200B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.64% (285,219,200B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.64% (285,219,200B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.64% (285,219,200B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.64% (285,219,200B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.64% (285,219,200B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.64% (285,219,200B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.64% (285,219,200B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.64% (285,219,200B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.64% (285,219,200B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.64% (285,219,200B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.64% (285,219,200B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.64% (285,219,200B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.64% (285,219,200B) 0x6E988AB: clone (clone.S:111) | | | ->01.82% (317,919,984B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.45% (252,218,736B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.45% (252,218,736B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.45% (252,218,736B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.45% (252,218,736B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.45% (252,218,736B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.45% (252,218,736B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (252,218,736B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (252,218,736B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.45% (252,218,736B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.45% (252,218,736B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (252,218,736B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.45% (252,218,736B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.45% (252,218,736B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.45% (252,218,736B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.45% (252,218,736B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.45% (252,218,736B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.45% (252,218,736B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.45% (252,218,736B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.45% (252,218,736B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.45% (252,218,736B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.45% (252,218,736B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.45% (252,218,736B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.45% (252,218,736B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.45% (252,218,736B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.45% (252,218,736B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.45% (252,218,736B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.38% (65,701,248B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.36% (63,055,307B) in 1+ places, all below ms_print's threshold (01.00%) | ->06.58% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->03.42% (596,652,936B) in 41 places, all below massif's threshold (01.00%) | | | ->01.59% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.59% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.59% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.59% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.57% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | ->01.57% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.57% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.57% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.54% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.50% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.04% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.04% (180,630,392B) in 2 places, all below massif's threshold (01.00%) | | | | | ->00.46% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.04% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.10% (16,598,322B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 86 338,997,373,045 17,583,273,936 17,580,874,188 2,399,748 0 87 339,668,853,913 17,615,250,608 17,612,846,661 2,403,947 0 99.99% (17,612,846,661B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->91.86% (16,180,613,149B) 0x8B98E3: my_malloc (my_malloc.c:38) | ->89.68% (15,796,503,176B) 0xB2D783: hp_get_new_block (hp_block.c:80) | | ->88.04% (15,507,996,936B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->88.04% (15,507,996,936B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->88.04% (15,507,996,936B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->88.04% (15,507,996,936B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->88.04% (15,507,996,936B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->88.04% (15,507,996,936B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->88.04% (15,507,996,936B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->88.04% (15,507,996,936B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->88.04% (15,507,996,936B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->88.04% (15,507,996,936B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->88.04% (15,507,996,936B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->88.04% (15,507,996,936B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->88.04% (15,507,996,936B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->88.04% (15,507,996,936B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->88.04% (15,507,996,936B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->88.04% (15,507,996,936B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->88.04% (15,507,996,936B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->88.04% (15,507,996,936B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->88.04% (15,507,996,936B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->88.04% (15,507,996,936B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->88.04% (15,507,996,936B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->88.04% (15,507,996,936B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->88.04% (15,507,996,936B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->88.04% (15,507,996,936B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->88.04% (15,507,996,936B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->88.04% (15,507,996,936B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->01.64% (288,506,240B) 0xB2D54B: hp_write_key (hp_write.c:371) | | ->01.64% (288,506,240B) 0xB2CF42: heap_write (hp_write.c:64) | | ->01.64% (288,506,240B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | ->01.64% (288,506,240B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | ->01.64% (288,506,240B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | ->01.64% (288,506,240B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.64% (288,506,240B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.64% (288,506,240B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | ->01.64% (288,506,240B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | ->01.64% (288,506,240B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.64% (288,506,240B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | ->01.64% (288,506,240B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | ->01.64% (288,506,240B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | ->01.64% (288,506,240B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | ->01.64% (288,506,240B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | ->01.64% (288,506,240B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | ->01.64% (288,506,240B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | ->01.64% (288,506,240B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | ->01.64% (288,506,240B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | ->01.64% (288,506,240B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | ->01.64% (288,506,240B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | ->01.64% (288,506,240B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | ->01.64% (288,506,240B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | ->01.64% (288,506,240B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | ->01.64% (288,506,240B) 0x4E340C8: start_thread (pthread_create.c:309) | | ->01.64% (288,506,240B) 0x6E988AB: clone (clone.S:111) | | | ->01.82% (320,813,088B) 0xB2D8EB: hp_get_new_block (hp_block.c:80) | | ->01.44% (254,513,952B) 0xB2C13B: hp_allocate_chunkset (hp_dspace.c:388) | | | ->01.44% (254,513,952B) 0xB2CEDF: heap_write (hp_write.c:57) | | | ->01.44% (254,513,952B) 0xB274E8: ha_heap::write_row(unsigned char*) (ha_heap.cc:241) | | | ->01.44% (254,513,952B) 0x59725D: handler::ha_write_row(unsigned char*) (handler.cc:7736) | | | ->01.44% (254,513,952B) 0x6A8210: end_update(JOIN*, st_join_table*, bool) (sql_executor.cc:3101) | | | | ->01.44% (254,513,952B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (254,513,952B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (254,513,952B) 0x6A392D: evaluate_join_record(JOIN*, st_join_table*) (sql_executor.cc:1604) | | | | ->01.44% (254,513,952B) 0x6A3C13: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1279) | | | | ->01.44% (254,513,952B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (254,513,952B) 0x69F297: mysql_derived_materialize(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:425) | | | | ->01.44% (254,513,952B) 0x6A44F1: join_materialize_derived(st_join_table*) (sql_executor.cc:2423) | | | | ->01.44% (254,513,952B) 0x6A335B: st_join_table::prepare_scan() (sql_executor.cc:1308) | | | | ->01.44% (254,513,952B) 0x6A3B06: sub_select(JOIN*, st_join_table*, bool) (sql_executor.cc:1217) | | | | ->01.44% (254,513,952B) 0x6A2F46: JOIN::exec() (sql_executor.cc:936) | | | | ->01.44% (254,513,952B) 0x6EC98B: mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, SQL_I_List*, SQL_I_List*, Item*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:1101) | | | | ->01.44% (254,513,952B) 0x6ED145: handle_select(THD*, select_result*, unsigned long) (sql_select.cc:110) | | | | ->01.44% (254,513,952B) 0x5593A8: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5685) | | | | ->01.44% (254,513,952B) 0x6C7AC8: mysql_execute_command(THD*) (sql_parse.cc:3007) | | | | ->01.44% (254,513,952B) 0x6CB916: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6970) | | | | ->01.44% (254,513,952B) 0x6CCCF9: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1441) | | | | ->01.44% (254,513,952B) 0x699CF0: do_handle_one_connection(THD*) (sql_connect.cc:1541) | | | | ->01.44% (254,513,952B) 0x699D8E: handle_one_connection (sql_connect.cc:1444) | | | | ->01.44% (254,513,952B) 0x8F8504: pfs_spawn_thread (pfs.cc:1860) | | | | ->01.44% (254,513,952B) 0x4E340C8: start_thread (pthread_create.c:309) | | | | ->01.44% (254,513,952B) 0x6E988AB: clone (clone.S:111) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.38% (66,299,136B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.36% (63,296,885B) in 1+ places, all below ms_print's threshold (01.00%) | ->06.51% (1,147,358,248B) 0x8D6AC4: pfs_malloc(unsigned long, int) (pfs_global.cc:57) | ->03.39% (596,652,936B) in 41 places, all below massif's threshold (01.00%) | | | ->01.58% (277,600,000B) 0x8DC7E1: init_table_share(unsigned int) (pfs_instr_class.cc:344) | | ->01.58% (277,600,000B) 0x8DF982: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:88) | | ->01.58% (277,600,000B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | | ->01.58% (277,600,000B) 0x6DD1B43: (below main) (libc-start.c:287) | | | ->01.55% (273,105,312B) 0x8D813D: init_instruments(PFS_global_param const*) (pfs_instr.cc:407) | ->01.55% (273,105,312B) 0x8DF9C7: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:93) | ->01.55% (273,105,312B) 0x587E8C: mysqld_main(int, char**) (mysqld.cc:5667) | ->01.55% (273,105,312B) 0x6DD1B43: (below main) (libc-start.c:287) | ->01.52% (268,276,942B) 0xA4F873: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) | ->01.48% (261,242,248B) 0xAF31DB: hash0_create(unsigned long) (hash0hash.cc:306) | | ->01.03% (180,630,392B) 0xAF157A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) | | | ->01.03% (180,630,392B) in 2 places, all below massif's threshold (01.00%) | | | | | ->00.46% (80,611,856B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.04% (7,034,694B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.09% (16,598,322B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 88 342,840,118,254 17,467,289,224 17,464,944,173 2,345,051 0