pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: George Essig <george_essig@yahoo.com>
To: Slavisa Garic <Slavisa.Garic@infotech.monash.edu.au>
To: pgsql-performance@postgresql.org
Subject: Re: INSERT extremely slow with large data sets (fwd)
Date: Fri, 14 Nov 2003 14:02:38 -0800 (PST)
Message-ID: <20031114220238.87764.qmail@web80210.mail.yahoo.com> (raw)

Slavisa Garic wrote:

> Hi Everyone,
 
> I am using PostgreSQL 7.3.2 and have used earlier versions (7.1.x 
> onwards) 
> and with all of them I noticed same problem with INSERTs when there is 
> a
> large data set. Just to so you guys can compare time it takes to insert
> one row into a table when there are only few rows present and when 
> there
> are thousands:

Try running VACUUM ANALYZE periodically during inserts.  I found this to help.

George Essig




view thread (6+ messages)  latest in thread

Message-ID: <20031114220238.87764.qmail@web80210.mail.yahoo.com>
Permalink:  ../20031114220238.87764.qmail@web80210.mail.yahoo.com/
Also on:    postgresql.org/message-id/20031114220238.87764.qmail@web80210.mail.yahoo.com

 · 

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: george_essig@yahoo.com, Slavisa.Garic@infotech.monash.edu.au
  Subject: Re: INSERT extremely slow with large data sets (fwd)
  In-Reply-To: <20031114220238.87764.qmail@web80210.mail.yahoo.com>

* 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