14.7.2 Changing the Number or Size of InnoDB Redo Log Files 改变InnoDB Redo Log Files的数量和大小
来源:互联网 发布:mpv播放器 mac下载 编辑:程序博客网 时间:2024/05/23 11:50
14.7.2 Changing the Number or Size of InnoDB Redo Log Files 改变InnoDB Redo Log Files的数量和大小改变 InnoDB redo log 文件的数量和大小在MySQL 5.6.7或者更早版本,执行下面步骤:1.如果 innodb_fast_shutdown is set to 2, set innodb_fast_shutdown to 1: mysql> show variables like '%innodb_fast_shutdown%';+----------------------+-------+| Variable_name | Value |+----------------------+-------+| innodb_fast_shutdown | 1 |+----------------------+-------+1 row in set (0.00 sec)mysql> SET GLOBAL innodb_fast_shutdown = 1;2.在确保 innodb_fast_shutdown 不是设置为2后,停止MySQL 确保关闭没有错误3.拷贝老的log 文件到一个安全的地方万一错误发生 在你关闭期间你需要它们来恢复表空间4. 删除老的日志文件从log file 目录5.编辑my.cnf来改变log file 配置6.再次启动mysql,mysqld 看到没有InnoDB log文件存在在启动时 会创建新的在MySQL 5.6.8种, innodb_fast_shutdown 设置是不先关了当改变InnoDB log files的数量或者大小时。此外, 你也不需要移除老的日志文件,尽管你仍旧需要copy 来的日志文件到一个安全的地方,作为备份。改变InnoDB log files的大小和数量,执行下面的步骤:1.停止MySQL server 确保他关闭没有错误2.编辑my.cnf 改变log file配置。改变log file大小,配置 innodb_log_file_size.增加log files的数量,配置innodb_log_files_in_group. 3.再次启动MySQL
0 0
- 14.7.2 Changing the Number or Size of InnoDB Redo Log Files 改变InnoDB Redo Log Files的数量和大小
- 14.5.2 Changing the Number or Size of InnoDB Redo Log Files 改变InnoDB Redo Log Files的数量
- 14.4.2 Changing the Number or Size of InnoDB Redo Log Files 改变 InnoDB Redo Log Fiels 的大小和数量
- 14.4.2 Changing the Number or Size of InnoDB Redo Log Files 改变 InnoDB Redo Log Fiels 的大小和数量
- 14.4.2 Changing the Number or Size of InnoDB Redo Log Files
- InnoDB的Redo Undo Log
- The advantages of the archiving of online redo log files
- mysql innodb redo log
- Innodb redo log archiving
- How To Add/Increase The Size Of Redo Log Files In Rac Environment? (文档 ID 779306.1)
- mysql innodb 刷数据和redo log
- Innodb redo log 与 binlog 的区别
- 14.2.4 InnoDB Redo Log
- 14.2.3 InnoDB Redo Log
- 14.2.3 InnoDB Redo Log
- 修改redo log files路径
- LogMiner Dictionary Files and Redo Log Files
- 创建Control Files/Redo Log Files的目录顺序
- 第一次用Python写的冒泡
- 用OPEN CV SVM 的例子程序
- C++调用C库一直提示link错误解决办法
- 自定义的alert
- mysql中的常用查询持续更新中
- 14.7.2 Changing the Number or Size of InnoDB Redo Log Files 改变InnoDB Redo Log Files的数量和大小
- linux命令学习-文件目录之mv命令
- php基础之一---流程控制
- Struts2的起源与背景
- ConcurrentModificationException 异常产生原因以及探究
- 推荐学习git的教程
- char*,const char*和string的相互转换
- python爬虫--抽取百度百科名词的第一段存入数据库
- 在Ubuntu中安装Python3