pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
To: pgsql-performance@postgresql.org
Subject: Re: Peformance of Update
Date: Mon, 11 Aug 2003 18:56:08 +0530
Message-ID: <3F37E6C8.24039.1A81422F@localhost> (raw)
In-Reply-To: <001a01c35ffc$651e7cc0$71327f81@joey>

On 11 Aug 2003 at 19:33, whchung@popularworld.com wrote:
>  Currently we are using postgresql 7.3 with Redhat linux 9. We find that 
> when we try to execute 200,000 update statement through JDBC, the performance 
> of degraded obviously for each update statement when comparing with less update 
> statement(eg. 5000). Is there any suggestion that we can improve the 
> performance for executing update statementat postgresql ? Thanks.

How are you bunching your transactions? I mean how many updates per 
transaction?

And have you tried moving WAL to separate disk for such a update heavy 
environment? Have you are tuned FSM to take care of dead tuples generated in 
vacuum? Are you running autovacuum daemon?

All these things are almost a must for such update heavy environment..

Bye
 Shridhar

--
Moore's Constant:	Everybody sets out to do something, and everybody	does 
something, but no one does what he sets out to do.




view thread (2+ messages)

Message-ID: <3F37E6C8.24039.1A81422F@localhost>
Permalink:  ../3F37E6C8.24039.1A81422F@localhost/
Also on:    postgresql.org/message-id/3F37E6C8.24039.1A81422F@localhost

 · 

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 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: shridhar_daithankar@persistent.co.in
  Subject: Re: Peformance of Update
  In-Reply-To: <3F37E6C8.24039.1A81422F@localhost>
  References: <001a01c35ffc$651e7cc0$71327f81@joey> <3F37E6C8.24039.1A81422F@localhost>

* 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