Home > Database > Mysql Tutorial > MySQL 5.6更人性化修改redo log事务日志文件大小

MySQL 5.6更人性化修改redo log事务日志文件大小

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 17:35:31
Original
854 people have browsed it

我们知道在MySQL5.5里,如果想修改ib_logfile(redo log)文件大小,而在MySQL5.6里,更人性化了,上面的第四步可以直接忽视,直

我们知道在MySQL5.5里,如果想修改ib_logfile(redo log)文件大小,步骤是:

一、set global innodb_fast_shutdown = 0;

二、mysqladmin shutdown

三、在my.cnf文件里修改innodb_log_file_size参数值

四、mv ib_logfile* /bak(不移走,启动会报错)

五、mysqld_safe --defaults-file=/etc/my.cnf --user=mysql &

而在MySQL5.6里,更人性化了,上面的第四步可以直接忽视,直接启动MySQL即可。

如图:

MySQL 5.6更人性化修改redo log事务日志文件大小

 

linux

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template