Enable optimizer_use_gpdb_allocators guc by default and fix resgroup test (#8780)
This guc makes ORCA use gpdb allocators. This allows for faster
optimization due to less overhead, reduced memory during optimization
due to smaller/fewer headers, and makes ORCA observe vmem limits instead
of crashing.
With setting optimizer_use_gpdb_allocators, we now track orca's memory
usage within resource groups/vmem. As a result, we need to update the test as
we go OOM slightly earlier when ORCA is enabled.
Authored-by: NChris Hajas <chajas@pivotal.io>
Showing
想要评论请 注册 或 登录