Re: Have vacuum emit a warning when it runs out of maintenance_work_mem - Mailing list pgsql-patches

From Jim Nasby
Subject Re: Have vacuum emit a warning when it runs out of maintenance_work_mem
Date
Msg-id 788D3DB2-B3C7-49D9-B126-96C58D8E10B3@decibel.org
Whole thread Raw
In response to Re: Have vacuum emit a warning when it runs out of maintenance_work_mem  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
On May 9, 2007, at 1:27 PM, Tom Lane wrote:
> Jim Nasby <decibel@decibel.org> writes:
>> Any time this happens it's generally a nasty surprise for users.
>
> Really?  Running out of work memory is expected on large tables.

I guess I shouldn't complain since I've made some good money fixing
this in the past. And someone has been posting on -performance this
week with what looks like the same issue.

>> It would be nice to throw them an explicit warning that it's
>> occurring.
>
> I think this is a bad idea.  It's furthermore pretty useless in the
> autovacuum world, since no one is likely to see the warning.

Well, it would at least make it into the log file...
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)



pgsql-patches by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: ECPG patch to use prepare for improved performance
Next
From: "Guillaume Smet"
Date:
Subject: Re: Have vacuum emit a warning when it runs out of maintenance_work_mem