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