pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christopher Petrilli <petrilli@gmail.com>
Cc: Marc G. Fournier <scrappy@postgresql.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Sustained inserts per sec ... ?
Date: Fri, 01 Apr 2005 15:42:08 -0500
Message-ID: <28353.1112388128@sss.pgh.pa.us> (raw)
In-Reply-To: <59d991c4050401113857086517@mail.gmail.com>
References: <20050401140421.P18194@ganymede.hub.org>
	<59d991c4050401113857086517@mail.gmail.com>

Christopher Petrilli <petrilli@gmail.com> writes:
> I can start at about 4,000 rows/second, but at about 1M rows, it
> plummets, and by 4M it's taking 6-15 seconds to insert 1000 rows. 
> That's only about 15 rows/second, which is quite pathetic.   The
> problem seems to be related to my indexes, since I have to keep them
> online (the system in continually querying, as well).

I doubt it has anything to do with your indexes.  I'm wondering about
foreign key checks, myself.  What FKs exist on these tables?  Is the
"start" condition zero rows in every table?  Which PG version exactly?

			regards, tom lane



view thread (44+ messages)  latest in thread

Message-ID: <28353.1112388128@sss.pgh.pa.us>
Permalink:  ../28353.1112388128@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28353.1112388128@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, petrilli@gmail.com, scrappy@postgresql.org
  Subject: Re: Sustained inserts per sec ... ?
  In-Reply-To: <28353.1112388128@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