mysql - mysqldump performance on machine with big amount of memory -
mysql - mysqldump performance on machine with big amount of memory -
i'm doing backup of innodb database mysqldump. takes 2 min perform backup. there way how speed up?
i have machine 120gb of ram , expect db should fit in memory.
database size on hard drive around 8 gb:
[user@host:e018 mysql]$ du -hs database 8.3g database
biggest table has 12054861 records , info size 2991587328.
i have tried play innodb_buffer_pool_size don't see big performance increase. if run mysqldump first time takes 2 min 7 sec. if seek sec time takes around 2 min slow.
i have tried archive info avoid lot of disk writes: mysqldump database |pigz > database-dmp.sql.gz
has no influence on performance.
running mysqldump on different machine mysql engine not alter anything. mysql not cache info memory or sends info mysqldump slow.
here configuration use:
max_heap_table_size=10g; innodb_file_per_table=1 innodb_file_format=barracuda innodb_strict_mode=1 innodb_write_io_threads=4 innodb_read_io_threads=4 innodb_adaptive_hash_index=0 innodb_support_xa=0 innodb_buffer_pool_size=40g innodb_log_file_size=256m innodb_log_files_in_group=3 innodb_log_buffer_size=64m
what else can seek improve mysqldump performance?
mysql sql performance innodb mysqldump
Comments
Post a Comment