Hello,
> I have adjusted postgres parameters per your recommen-> dation. Work_mem is now 8GB,
GB is just a typo I guess? Otherwise the value is insanely high. See:http://stream.boxwatch.ru/docs/8.3/interactive/runtime-config-resource.html
Peter