From: Rod Taylor <rbt@rbt.ca>
To: Mindaugas Riauba <mind@bi.lt>
Cc: Postgresql Performance <pgsql-performance@postgresql.org>
Subject: Re: Need advice about triggers
Date: Tue, 09 Sep 2003 09:28:07 -0400
Message-ID: <1063114086.67981.5.camel@jester> (raw)
In-Reply-To: <00be01c376cf$91510620$f20214ac@bite.lt>
References: <00be01c376cf$91510620$f20214ac@bite.lt>
> How can I improve performance and will version 7.4 bring something
> valuable for my task? Rewrite to some other scripting language is not
> a problem. Trigger is simple enough.
Your best bet is to have additional clients connected to the database
requesting work. Approx NUMCPUs * 2 + 1 seems to be ideal. (+1 to ensure
there is something waiting when the others complete. *2 to ensure that
you can have 50% reading from disk, 50% doing calculations)
You may simply want to put vacuum into a loop of it's own so it executes
~1 second after the previous run finished. Work should still be going
on even though vacuum is running.
Attachments:
signature.asc (application/pgp-signature, 186B) download
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: rbt@rbt.ca, mind@bi.lt
Subject: Re: Need advice about triggers
In-Reply-To: <1063114086.67981.5.camel@jester>
References: <00be01c376cf$91510620$f20214ac@bite.lt> <1063114086.67981.5.camel@jester>
* 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