)
1
colorfulberry 2016 年 4 月 8 日
postgres sql 可以用的
|
2
xuhaoyangx 2016 年 4 月 8 日
这好像不是老问题吗
performance_schema_max_table_instances table_definition_cache table_open_cache 调低点值就好了 |
3
xuhaoyangx 2016 年 4 月 8 日 虽然系统不一样,但是这方面都差不多吧,我这个是 etc 配置中就只设定了 sql_mode 的值。
|
4
idblife 2016 年 4 月 8 日
|
5
kn007 2016 年 4 月 8 日
把初始配置调低不就好了。
|
6
nellace OP |
8
xujif 2016 年 4 月 8 日
mysql 版本越高越费内存啊
|
12
tcdw 2016 年 4 月 8 日 via Android
顺便推荐使用 htop ,比 top 功能丰富,而且界面看上去比较友好。
当然如果是不喜欢 htop 之类的,可以另当别论。 |
13
gamexg 2016 年 4 月 8 日
@xuhaoyangx 原来还能限制数量,我是直接 performance_schema=OFF 。
|
14
gamexg 2016 年 4 月 8 日 楼主,你 #performance_schema_max_table_instances=200 注释掉了啊,这个是一个占内存很大的项目,我记得测试时占 500M 内存。
我一般直接关闭这个: [mysqld] performance_schema=OFF |
15
shengyueming 2016 年 4 月 9 日 for (说三遍){
postgres 不错 } |
17
nellace OP @shengyueming 今天撸一下 postgre ,以前没用过
|
18
overlords 2016 年 4 月 9 日
内存还值钱么?
|
19
letitbesqzr 2016 年 4 月 9 日
@xuhaoyangx 请问你那个 iTerm2 是什么配色?
|
20
xuhaoyangx 2016 年 4 月 10 日
|
21
wanghanlin 2016 年 4 月 10 日
|
22
tcsky 2016 年 9 月 22 日
```
[mysqld] performance_schema = 0 ``` performance_schema 这个选项式分析用的,小内存机器可以关了, 能省好多内存 https://gist.github.com/tiancheng91/c9b605cd7cdd363c75a1 |