07-28-2015 05:00 AM
I have 3 greenplum tables (1.2 million recs,100+ numeric fields) each and then joined together with some small sas tables for lookup and then grouped by id. I have to run this process every month and from time to time I am able to process it successfully. But recently I have been hitting a sort execution failure when processing the join. MEMSIZE is already set to 8G(max) ever since. I have playing around with sortsize 1G, 2G up to 4G and this chunk still fails.
In terms of disk space of SAS server, we still have around 60gb in space. So I believe this shouldn't be much of an issue.
Greatly appreciate any advise on how to address this problem.
07-28-2015 07:08 AM
Do you join in PROC SQL or with a DATA step? If SQL, try sorting with PROC SORT and doing a DATA step MERGE.
07-28-2015 08:40 PM
Be careful, it is not MEMSIZE that matters here, it is REALMEMSIZE: you do not normally want your sort runs to use paging.
Here is how these options interact: