Re: Have vacuum emit a warning when it runs out of maintenance_work_mem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jim Nasby <decibel(at)decibel(dot)org>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Have vacuum emit a warning when it runs out of maintenance_work_mem
Date: 2007-05-09 18:27:57
Message-ID: 29158.1178735277@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Jim Nasby <decibel(at)decibel(dot)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.

> 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.

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message William Lawrance 2007-05-09 20:12:17 Re: ECPG patch to use prepare for improved performance
Previous Message Jim Nasby 2007-05-09 18:01:18 Have vacuum emit a warning when it runs out of maintenance_work_mem