pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew Schumacher <matt.s@aptalaska.net>
To: Gavin Sherry <swm@alcove.com.au>
Cc: pgsql-performance@postgresql.org
Subject: Re: Performance problems testing with Spamassassin 3.1.0
Date: Thu, 28 Jul 2005 21:10:07 -0800
Message-ID: <42E9BA2F.1090900@aptalaska.net> (raw)
In-Reply-To: <Pine.LNX.4.58.0507291352460.10626@linuxworld.com.au>
References: <42E80C28.2040608@aptalaska.net>
	<1122532023.25574.1.camel@localhost.localdomain>
	<42E9749F.6000709@aptalaska.net>
	<Pine.LNX.4.58.0507291352460.10626@linuxworld.com.au>

Gavin Sherry wrote:

> 
> I had a look at your data -- thanks.
> 
> I have a question though: put_token() is invoked 120596 times in your
> benchmark... for 616 messages. That's nearly 200 queries (not even
> counting the 1-8 (??) inside the function itself) per message. Something
> doesn't seem right there....
> 
> Gavin

I am pretty sure that's right because it is doing word statistics on
email messages.

I need to spend some time studying the code, I just haven't found time yet.

Would it be safe to say that there isn't any glaring performance
penalties other than the sheer volume of queries?

Thanks,

schu



view thread (62+ messages)  latest in thread

Message-ID: <42E9BA2F.1090900@aptalaska.net>
Permalink:  ../42E9BA2F.1090900@aptalaska.net/
Also on:    postgresql.org/message-id/42E9BA2F.1090900@aptalaska.net

 · 

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: matt.s@aptalaska.net, swm@alcove.com.au
  Subject: Re: Performance problems testing with Spamassassin 3.1.0
  In-Reply-To: <42E9BA2F.1090900@aptalaska.net>

* 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