搜索
您的当前位置:首页正文

postgreSQL,遇到can't have more than 2048 different append-only tables open for writing data at the

2012-11-06 来源:哗拓教育

有网友碰到这样的问题“postgreSQL,遇到can't have more than 2048 different append-only tables open for writing data at the”。小编为您整理了以下解决方案,希望对您有帮助:

解决方案1:

打开 poetgresql.conf (GreenPlum里要搜搜max_appendonly_tables,看看到底在哪里), 找到 max_appendonly_tables =
这一行,删除#注释,而后改大。这个错误是同时刻打开了2048个表写入,超过了造成的。

ps. 如果是在单机上运行,这是很不推荐的!!因为除非使用固态硬盘(SSD),并发写入会导致频繁的磁头移动,效率奇差、损害硬盘寿命,降低稳定性。

解决方案2:

把postgresql.conf配置文件中的max_appendonly_tables改大点,大于2048.
比喻:max_appendonly_tables=3000.

Top