GBase 8a数据库集群执行报错(GBA-01EX-0006) Express out of resources error:result of 'in' subquery is too large.

GBase 8a数据库集群,在执行 in 子查询询是如果结果集太大,会报Express out of resources error:result of 'in' subquery is too large错误,请用临时表或join方式改造。

原因

in 子查询的结果集太大了。

解决方案

减少子查询行数,比如建立临时表,使用join代替in等方案