#0 0x00007f842cb17279 in __readlink (path=path@entry=0x7f8420186b10 "/dev/shm/10.6/mysql-test/var/mysqld.1/data/test", buf=buf@entry=0x7f8420187330 "", len=len@entry=1023)
|
at ../sysdeps/unix/sysv/linux/readlink.c:30
|
#1 0x00007f842ca5bc42 in realpath_stk (bufs=0x7f8420186b00, resolved=0x7f8420187780 "\020\212\030 \204\177", name=<optimized out>) at ./stdlib/canonicalize.c:306
|
#2 __GI___realpath (name=name@entry=0x7f8420188be0 "./test/", resolved=resolved@entry=0x7f8420187780 "\020\212\030 \204\177") at ./stdlib/canonicalize.c:432
|
#3 0x00007f842cb6da1a in __old_realpath (name=name@entry=0x7f8420188be0 "./test/", resolved=resolved@entry=0x7f8420187780 "\020\212\030 \204\177") at ./stdlib/canonicalize.c:454
|
#4 0x000055ae4c6b2530 in my_realpath (to=0x7f84201889e0 "\020\364\035\"\204\177", filename=0x7f8420188be0 "./test/", MyFlags=0) at /mariadb/10.6/mysys/my_symlink.c:151
|
#5 0x000055ae4c34b5bd in find_or_create_file (thread=thread@entry=0x7f842c0fbec0, klass=klass@entry=0x55ae4da7a1c0, filename=filename@entry=0x55ae4e257448 "./test/td.ibd", len=13, create=create@entry=true)
|
at /mariadb/10.6/storage/perfschema/pfs_instr.cc:829
|
#6 0x000055ae4c339f9d in pfs_end_file_open_wait_v1 (locker=0x7f8420188e70, result=<optimized out>) at /mariadb/10.6/storage/perfschema/pfs.cc:4458
|
#7 0x000055ae4c420296 in pfs_os_file_create_simple_no_error_handling_func (key=<optimized out>, name=0x55ae4e257448 "./test/td.ibd", create_mode=create_mode@entry=51, access_type=access_type@entry=333,
|
read_only=read_only@entry=true, success=success@entry=0x7f8420188f0f, src_file=0x55ae4b71b998 "/mariadb/10.6/storage/innobase/fsp/fsp0file.cc", src_line=84)
|
at /mariadb/10.6/storage/innobase/include/os0file.inl:118
|
#8 0x000055ae4c420ae3 in Datafile::open_read_only (this=this@entry=0x7f8420189120, strict=strict@entry=true) at /mariadb/10.6/storage/innobase/fsp/fsp0file.cc:84
|
#9 0x000055ae4c42bd5e in fil_ibd_open (validate=validate@entry=2, purpose=purpose@entry=FIL_TYPE_TABLESPACE, id=3, flags=1879113953, name={data_ = 0x55ae4e2514c8 "test/td", size_ = 7},
|
path_in=path_in@entry=0x0, err=0x0) at /mariadb/10.6/storage/innobase/fil/fil0fil.cc:2182
|
#10 0x000055ae4c4b0e82 in dict_load_tablespace (table=0x55ae4e2bd618, ignore_err=ignore_err@entry=DICT_ERR_IGNORE_FK_NOKEY) at /mariadb/10.6/storage/innobase/dict/dict0load.cc:2211
|
#11 0x000055ae4c4b23ae in dict_load_table_one (name=@0x7f8420189e20: {data_ = 0x7f842018a3b0 "test/td", size_ = 7}, ignore_err=ignore_err@entry=DICT_ERR_IGNORE_FK_NOKEY, fk_tables=std::deque with 0 elements)
|
at /mariadb/10.6/storage/innobase/dict/dict0load.cc:2320
|
#12 0x000055ae4c4b2c27 in dict_sys_t::load_table (this=this@entry=0x55ae4c8dd180 <dict_sys>, name=@0x7f8420189e20: {data_ = 0x7f842018a3b0 "test/td", size_ = 7}, ignore=ignore@entry=DICT_ERR_IGNORE_FK_NOKEY)
|
at /mariadb/10.6/storage/innobase/dict/dict0load.cc:2482
|
#13 0x000055ae4c3f5983 in dict_table_open_on_name (table_name=table_name@entry=0x7f842018a3b0 "test/td", dict_locked=dict_locked@entry=false, ignore_err=ignore_err@entry=DICT_ERR_IGNORE_FK_NOKEY)
|
at /mariadb/10.6/storage/innobase/dict/dict0dict.cc:1055
|
#14 0x000055ae4c3bc54c in ha_innobase::open_dict_table (norm_name=norm_name@entry=0x7f842018a3b0 "test/td", is_partition=is_partition@entry=false, ignore_err=ignore_err@entry=DICT_ERR_IGNORE_FK_NOKEY)
|
at /mariadb/10.6/storage/innobase/handler/ha_innodb.cc:6244
|
#15 0x000055ae4c3c921b in ha_innobase::open (this=0x55ae4e2bcd80, name=0x55ae4e2cd490 "./test/td") at /mariadb/10.6/storage/innobase/handler/ha_innodb.cc:5963
|
…
|
#26 0x000055ae4c0b4cf8 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x55ae4e2981b8, packet=packet@entry=0x55ae4e29f099 "SHOW CREATE TABLE td", packet_length=packet_length@entry=20,
|
blocking=blocking@entry=true) at /mariadb/10.6/sql/sql_parse.cc:1896
|
Can you please run a profiler during the startup, to find out where the time is being spent?
sudo perf record -p $(pgrep mariadbd)
Would the server start up faster if you make innodb_buffer_pool_chunk_size equal to innodb_buffer_pool_size?
In
MDEV-25340, I recently tested the initialization of a 96GiB buffer pool. It was significantly slower on 10.5 than on 10.6. Would the start-up time with 10.6.15 be faster?