Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

greenplum中给27亿条结构化数据创建索引,create index idx_gp1C1 on gp_1(C1);
报错如下:ERROR: invalid memory alloc request 1182583872 (context 'TupleSort') (mcxt.c:1257) (mcxt.c: 447) (seg2 GP1:40002 pid=9838)(cdbdisp:1320) ,如果不建索引则点查慢到根本不能接受,其中C1是分布列,环境是3台segment机,一个master机,机器配置2*12=24核,256GB内存,现在目测是greenplum的参数设置的不对,对传统数据库也不是很熟悉,很多思想没法借鉴,在网上查了很多,尝试过修改不同参数了,请问这个问题有没有什么解决方法?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
417 views
Welcome To Ask or Share your Answers For Others

1 Answer

申请的内存大于限制了。应该是某个参数值设置的过大了,看看你最近改动过什么和内存相关的参数,缩小试试。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...