try raising work_mem before the delete; on single connection : set work_mem=512000; DELETE FROM ......; -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general