GBase 8a
运维管理
文章
group_concat函数常见的两个使用报错问题
发表于2024-02-22 11:15:25772次浏览3个评论
报错1:(GBA-01EX-700) Gbase general error: Aggregation function group_concat(***********)overflow
报错2:(GBA-01EX-700) Express out of resources error:too large gbase_buffer, has exceeded the gbase_buffer_hgrby.
报错1解决办法:
出现(GBA-01EX-700) Gbase general error: Aggregation function group_concat(***********)overflow报错时
解决办法是需要将group_conat_max_len参数调大。
group_conat_max_len(单位为字节,默认值为 1024),可以session基本设置set group_conat_max_len=2048;
报错2解决办法:
出现Express out of resources error:too large gbase_buffer, has exceeded the gbase_buffer_hgrby.报错时
说明多半是图省事将group_conat_max_len参数设置过大导致,调小,调到一个合理大小即可。
该函数详细使用说明可以参考sql手册:

热门帖子
- 12025-12-01浏览数:182759
- 22023-05-09浏览数:25044
- 42023-09-25浏览数:18519
- 52020-05-11浏览数:17526