V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
MySQL 5.5 Community Server
MySQL 5.6 Community Server
Percona Configuration Wizard
XtraBackup 搭建主从复制
Great Sites on MySQL
Percona
MySQL Performance Blog
Severalnines
推荐管理工具
Sequel Pro
phpMyAdmin
推荐书目
MySQL Cookbook
MySQL 相关项目
MariaDB
Drizzle
参考文档
http://mysql-python.sourceforge.net/MySQLdb.html
Livid
267.72D
571.1D
V2EX  ›  MySQL

一份不错的 my.cnf

  •  
  •   Livid ·
    PRO
    · Mar 26, 2013 · 5230 views
    This topic created in 4784 days ago, the information mentioned may be changed or developed.
    10 replies    1970-01-01 08:00:00 +08:00
    kennedy32
        1
    kennedy32  
       Mar 26, 2013 via Android   ❤️ 1
    好在哪?
    dongsheng
        2
    dongsheng  
       Mar 26, 2013
    这个东西如果不明白原理还是不要直接把别人的拷贝来用。
    比如innodb_log_file_size的最佳值内存总量有关的,innodb_flush_log_at_trx_commit设成1是ACID compliance,但如果你想要更好的性能就要设置成2,这个跟应用场景有关。

    这本书很好: http://shop.oreilly.com/product/0636920022343.do 右边栏应该推荐下 :-)
    tarsier
        3
    tarsier  
       Mar 26, 2013
    @dongsheng +1

    这份配置不适合vps的,要根据内存大小来调整
    emptyhua
        4
    emptyhua  
       Mar 26, 2013
    注释都没有。。。
    Ebola
        5
    Ebola  
       Mar 26, 2013
    Error establishing a database connection
    Kvm
        6
    Kvm  
       Mar 26, 2013
    Error establishing a database connection
    atom
        7
    atom  
       Mar 27, 2013
    整理google reader星标条目的时候,正好看到一份适合VPS的my.cnf配置
    http://taink.iteye.com/blog/868059
    twm
        8
    twm  
       Mar 27, 2013
    我猜是作者装逼
    summic
        9
    summic  
       Mar 27, 2013
    这个域名让我想起了realazy
    napoleonu
        10
    napoleonu  
       Mar 27, 2013
    @kennedy32 好在 @realzyy 把所有该重视的参数都列出来了,并且分类清晰。如果要在自己的生产环境使用具体配置肯定要根据自己的情况调整的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2692 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 74ms · UTC 13:22 · PVG 21:22 · LAX 06:22 · JFK 09:22
    ♥ Do have faith in what you're doing.