Re: Heavy write activity on first vacuum of fresh TOAST data

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Heavy write activity on first vacuum of fresh TOAST data
Date: 2007-12-13 16:11:23
Message-ID: 1197562283.4255.1829.camel@ebony.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Thu, 2007-12-13 at 09:46 -0600, Kevin Grittner wrote:

> The data was inserted through a Java program using a prepared
> statement with no indexes on the table. The primary key was then
> added, and now I've started a vacuum. The new table wound up being
> the first big table vacuumed, and I noticed something odd. Even
> though there have been no rollbacks, updates, or deletes on this
> table, the vacuum is writing as much as it is reading while dealing
> with the TOAST data.

Writing hint bits. Annoying isn't it? :-(

--
Simon Riggs
2ndQuadrant http://www.2ndQuadrant.com

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Simon Riggs 2007-12-13 16:23:45 Re: Limited performance on multi core server
Previous Message Kevin Grittner 2007-12-13 15:46:17 Heavy write activity on first vacuum of fresh TOAST data