zoukankan      html  css  js  c++  java
  • mysql5.7在线更改innodb_buffer_pool_size

    show variables like 'innodb_buffer_pool_size';
    
    set global innodb_buffer_pool_size=53687091200;
    # 在线更改该值时,不会立即生效,大概需要30s左右的时间才会完全生效。 ########################################################
    > show variables like 'innodb_buffer_pool_size'; +-------------------------+-------------+ | Variable_name | Value | +-------------------------+-------------+ | innodb_buffer_pool_size | 85899345920 | +-------------------------+-------------+ 1 row in set (0.00 sec) Fri Oct 25 12:34:46 2019> set global innodb_buffer_pool_size=53687091200; Query OK, 0 rows affected (0.00 sec) Fri Oct 25 12:35:25 2019> show variables like 'innodb_buffer_pool_size'; +-------------------------+-------------+ | Variable_name | Value | +-------------------------+-------------+ | innodb_buffer_pool_size | 85899345920 | +-------------------------+-------------+ 1 row in set (0.00 sec) Fri Oct 25 12:35:28 2019> show variables like 'innodb_buffer_pool_size'; +-------------------------+-------------+ | Variable_name | Value | +-------------------------+-------------+ | innodb_buffer_pool_size | 85899345920 | +-------------------------+-------------+ 1 row in set (0.00 sec) Fri Oct 25 12:35:38 2019 > show variables like 'innodb_buffer_pool_size'; +-------------------------+-------------+ | Variable_name | Value | +-------------------------+-------------+ | innodb_buffer_pool_size | 85899345920 | +-------------------------+-------------+ 1 row in set (0.00 sec) Fri Oct 25 12:35:55 2019> show variables like 'innodb_buffer_pool_size'; +-------------------------+-------------+ | Variable_name | Value | +-------------------------+-------------+ | innodb_buffer_pool_size | 52848230400 | +-------------------------+-------------+ 1 row in set (0.00 sec) Fri Oct 25 12:36:16 2019 >
  • 相关阅读:
    【SSM电商项目后台开发】004-用户模块
    【SSM电商项目后台开发】003-项目架构概览
    C#面向对象编程「字段与属性」
    C#基本语法
    C#学习笔记-简介
    软件工程团队作业展示
    “消灭选择困难症”软件设计规格说明书
    “消灭选择困难APP”软件需求规格说明书
    消灭选择困难APP
    消灭选择困难
  • 原文地址:https://www.cnblogs.com/igoodful/p/11737397.html
Copyright © 2011-2022 走看看