- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 创建合适的/etc/my.cnf
创建合适的/etc/my.cnf,一定要指定datadir,其他具体配置没有定论,不过mysql5.6 默认的配置比较OK,推荐通过percona的工具在线配置一个https://tools.percona.com/这里暂且贴一份,机器配置是6核,16G内存[mysql] # CLIENT # port = 3306 soc
2015-06-05 16:37:28
911
原创 mysql 高性能的索引
1 建立独立的列. 独立的列 指索引列不能是表达式的一个部分, 也不能是函数的参数. select actor_id from actor where actor_id +1 = 5; 错误写法. select ..... from .. where to_days(current_d
2015-06-02 14:54:23
238
原创 mysql memory 索引
1. 建立 内存数据库 create table test_memory( id int unsigned not null auto_increment, url varchar(255) not null,
2015-06-02 14:27:13
499
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人