Canceling query because of high VMEM usage. Used: 4943MB, available 564MB, red zone: 5102MB

Posted 小徐xfg

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Canceling query because of high VMEM usage. Used: 4943MB, available 564MB, red zone: 5102MB相关的知识,希望对你有一定的参考价值。

运行最大的内存

gpconfig -s gp_vmem_protect_limit
gpconfig -c  gp_vmem_protect_limit -m 10240 -v 10240
gpconfig -c max_statement_mem -v 50MB
gpconfig -c statement_mem -v 30MB

设置触发终止查询的Greenplum数据库vmem内存的百分比。

 gpconfig -s runaway_detector_activation_percent 

值为0禁用基于使用vmem百分比的查询。

 gpconfig -c  runaway_detector_activation_percent -m 90  -v 90

计算公式平台

calc – Greenplum Database

官网解释

Configuration Parameters | Tanzu Greenplum Docs

 参考资料:

Dataphin集成任务报错"Canceling query because of high VMEM usage." - 阿里云

以上是关于Canceling query because of high VMEM usage. Used: 4943MB, available 564MB, red zone: 5102MB的主要内容,如果未能解决你的问题,请参考以下文章

The query can‘t be routed to all backend servers because it includes SELECT and SQL variable modific

The query can‘t be routed to all backend servers because it includes SELECT and SQL variable modific

Android Canceling Crop 不返回活动结果

Received empty response from Zabbix Agent at [xxx]. Assuming that agent dropped connection because o

Received empty response from Zabbix Agent at [xxx]. Assuming that agent dropped connection because o

Operating system error 995(The I/O operation has been aborted because of either a thread)