器量大者,福泽必厚
全部博文(587)
发布时间:2016-07-28 11:01:00
How to decrease InnoDB shutdown timesBaron Schwartz | April 15, 2009 | Posted In: Insight for DBAsSometimes a MySQL server running InnoDB takes a long time to shut down. The usual culprit is flushing dirty pages from the buffer pool. These are page.........【阅读全文】
发布时间:2016-07-01 12:17:50
和以前的mysql版本不同了!留为备份!1、在[client]字段里加入default-character-set=utf8,如下: [client]port = 3306socket = /var/lib/mysql/mysql.sockdefault-character-set=utf8 2、在[mysqld]字段里加入character-set-server=utf8,如下: [mysqld]por.........【阅读全文】
发布时间:2016-06-29 16:22:32
Haproxy作为MySQL中间层如何避免TCP端口耗尽作者: 李 彬 | 2,478 浏览 | 2013/04/19 7:32 下午Haproxy作为MySQL中间层是很成熟的方案,特别是解决从库的负载均衡和故障切换,在生产环境中有着广泛的应用。在实际使用过程中,有两个问题.........【阅读全文】
发布时间:2016-06-03 10:48:13
1:explain sql ? 在mysql5.6 下无论是insert/update/delete 都是可以的2:show create ?table tbname3:只导出表结构mysqldump -uroot -p'password' ?--no-data ?表名> biaoming.sql4: ?show index from ?tablename; ##一般一个表上最多有5个索引5:show table status like '表名'; #.........【阅读全文】
发布时间:2016-06-02 16:18:02
1:local&Remote backupsmysqldump can ?connect to local or remote serversmysqlhotcopy performs only local backupselect ?..... into outfilesnapshotlvm2:full & incremental ba lckupsA full backup includes all data managed by a mysql ?server at a given point timeAn incremental back.........【阅读全文】