数据库
适合使用innodb的几个数据表
drupal6的数据库表默认是MYISAM引擎,可以手动将以下几个表转换成INNODB:users, sessions, votingapi_vote
此外,以下频繁insert/update的表也建议转用INNODB。
comments
node
node_comment_statistics
node_counter
term_node
url_alias
MySQL Server Error:Unknown character set: 'gbk' ( 1115 )
/usr/local/etc/rc.d/mysql-server.sh stop
cd /usr/ports/databases/mysql50-server
make deinstall clean
MySQL数据库备份和还原的常用命令
备份MySQL数据库的命令
linux高负载下彻底优化mysql数据库
同时在线访问量继续增大 对于1G内存的服务器明显感觉到吃力严重时甚至每天都会死机 或者时不时的服务器卡一下 这个问题曾经困扰了我半个多月MySQL使用是很具伸缩性的算法,因此你通常能用很少的内存运行或给MySQL更多的被存以得到更好的性能。
Mysql编译安装参数优化
1. -static 13%
--with-client-ldflags=-all-static
--with-mysqld-ldflags=-all-static
静态链接提高13%性能
Mysql中校对集utf8_unicode_ci与utf8_general_ci的区别
一直对utf8_unicode_ci与utf8_general_ci这2个校对集很迷惑,今天查了手册有了点眉目。不过对中文字符集来说采用utf8_unicode_ci与utf8_general_ci时有何区别还是不清楚?
my-huge.cnf
# Example MySQL config file for very large systems.
#
# This is for a large system with memory of 1G-2G where the system runs mainly
# MySQL.
#
my-large.cnf
# Example MySQL config file for large systems.
#
# This is for a large system with memory = 512M,
# where the system runs mainly MySQL.
#