zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    树莓派镜像拷贝
    zookeeper客户端Watcher管理
    设置ZooKeeper服务器地址列表源码解析及扩展
    利用zookeeper实现发布订阅模式
    maven依赖错误排查经验
    理解CMS GC日志
    深入分析ThreadLocal
    Fail-Fast分析
    Stream学习过程中遇到的一个问题记录
    ClassLoader 学习笔记
  • 原文地址:https://www.cnblogs.com/cyberbit/p/pt-variable-advisor.html
Copyright © 2011-2022 走看看