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