Re: Heavy write activity on first vacuum of fresh TOASTa

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Matthew <matthew(at)flymine(dot)org>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Heavy write activity on first vacuum of fresh TOASTa
Date: 2007-12-14 16:22:49
Message-ID: 8116.1197649369@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Matthew <matthew(at)flymine(dot)org> writes:
> Interesting thread. Now, I know absolutely nothing about how the data is
> stored, but it strikes me as being non-optimal that every single block on
> the disc needs to be written again just to update some hint bits. Could
> those bits be taken out into a separate bitmap stored somewhere else?

You are trying to optimize the wrong thing. Making vacuum cheaper at
the cost of making every tuple lookup more expensive is not going to
be a win.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Matthew 2007-12-14 16:52:29 Re: Heavy write activity on first vacuum of fresh TOASTa
Previous Message Bill Moran 2007-12-14 16:18:49 Re: viewing source code