• 31. pt-variable-advisor


    pt-variable-advisor h=192.168.100.101,P=3306,u=admin,p=admin

    mysqladmin var>/root/test/pt-variables.txt
    pt-variable-advisor --source-of-variables /root/test/pt-variables.txt


    # WARN delay_key_write: MyISAM index blocks are never flushed until necessary.

    # WARN innodb_lock_wait_timeout: This option has an unusually long value, which can cause system overload if locks are not being released.

    # WARN innodb_log_buffer_size: The InnoDB log buffer size generally should not be set larger than 16MB.

    # NOTE innodb_max_dirty_pages_pct: The innodb_max_dirty_pages_pct is lower than the default.

    # NOTE read_buffer_size-1: The read_buffer_size variable should generally be left at its default unless an expert determines it is necessary to change it.

    # NOTE read_rnd_buffer_size-1: The read_rnd_buffer_size variable should generally be left at its default unless an expert determines it is necessary to change it.

    # NOTE sort_buffer_size-1: The sort_buffer_size variable should generally be left at its default unless an expert determines it is necessary to change it.

    # NOTE tx_isolation-1: This server's transaction isolation level is non-default.

    # NOTE innodb_data_file_path: Auto-extending InnoDB files can consume a lot of disk space that is very difficult to reclaim later.

    # WARN myisam_recover_options: myisam_recover_options should be set to some value such as BACKUP,FORCE to ensure that table corruption is noticed.

    wechat: nick753159 qq: 417966852 email: nzq42@qq.com base: shanghai
  • 相关阅读:
    Java 测试代码模板
    git 保存用户名和密码
    git 高级命令
    git 最常用命令
    git 冲突解决
    git diff命令
    nginx静态服务器的配置
    使用SFTP工具下载文件
    git log 格式化输出
    9-angular.fromJson
  • 原文地址:https://www.cnblogs.com/cyberbit/p/pt-variable-advisor.html
Copyright © 2020-2023  润新知