pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew McMillan <andrew@catalyst.net.nz>
Cc: Matthew Schumacher <matt.s@aptalaska.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: Performance problems testing with Spamassassin 3.1.0
Date: Fri, 29 Jul 2005 17:01:57 -0400
Message-ID: <19405.1122670917@sss.pgh.pa.us> (raw)
In-Reply-To: <1122668371.5691.352.camel@lamb.mcmillan.net.nz>
References: <42E80C28.2040608@aptalaska.net>
	<1122532023.25574.1.camel@localhost.localdomain>
	<42E9749F.6000709@aptalaska.net>
	<1122616211.5691.340.camel@lamb.mcmillan.net.nz>
	<42EA6966.8090402@aptalaska.net>
	<1122668371.5691.352.camel@lamb.mcmillan.net.nz>

Andrew McMillan <andrew@catalyst.net.nz> writes:
> On Fri, 2005-07-29 at 09:37 -0800, Matthew Schumacher wrote:
>> How often should this table be vacuumed, every 5 minutes?

> I would be tempted to vacuum after each e-mail, in this case.

Perhaps the bulk of the transient states should be done in a temp table,
and only write into a real table when you're done?  Dropping a temp
table is way quicker than vacuuming it ...

			regards, tom lane



view thread (62+ messages)  latest in thread

Message-ID: <19405.1122670917@sss.pgh.pa.us>
Permalink:  ../19405.1122670917@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19405.1122670917@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andrew@catalyst.net.nz, matt.s@aptalaska.net
  Subject: Re: Performance problems testing with Spamassassin 3.1.0
  In-Reply-To: <19405.1122670917@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox