Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group