pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mike Rylander <mrylander@gmail.com>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Sustained inserts per sec ... ?
Date: Mon, 4 Apr 2005 23:28:25 +0000
Message-ID: <b918cf3d05040416287bf95da2@mail.gmail.com> (raw)
In-Reply-To: <1112654640.16721.859.camel@localhost.localdomain>
References: <20050401140421.P18194@ganymede.hub.org>
	<59d991c4050401125956d6069d@mail.gmail.com>
	<59d991c40504040648457808e9@mail.gmail.com>
	<1112644015.16721.790.camel@localhost.localdomain>
	<59d991c4050404125611ad5af8@mail.gmail.com>
	<1112645479.16721.806.camel@localhost.localdomain>
	<59d991c405040413184699cfe1@mail.gmail.com>
	<1112648303.16721.816.camel@localhost.localdomain>
	<59d991c4050404140333bff1ed@mail.gmail.com>
	<1112654640.16721.859.camel@localhost.localdomain>

If I'm getting the point of this thread correctly, have a huge amount
of data in one table degrades INSERT/COPY performance even with just a
PKEY index.  If that's about the size of it, read on.  If not, ignore
me because I missed something.

On Apr 4, 2005 10:44 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
> Before I start to tunnel-vision on a particular coincidence...
> 

Don't worry too much about tunnel vision.  I see the same thing every
day with multi-million row tables.  The bigger the table gets (with
only a pkey index) the slower the inserts go.  If I start over
(truncate, drop/create table), or if I point the initial load at a new
table, everything gets speedy.  I've always figured it was a function
of table size and learned to live with it...

> How much memory have you got on the system?

On mine, 16G

> How much of that have you allocated to various tasks?

shared buffers: 15000

> What else is happening on your system?

Nothing on mine.

> Tell us more about disk set-up and other hardware related things.

6-disk RAID10 on a Compaq SmartArray 6404 with 256M BB cache, WAL on
2-disk mirror on built in SmartArray5 controller.

-- 
Mike Rylander
mrylander@gmail.com
GPLS -- PINES Development
Database Developer
http://open-ils.org



view thread (44+ messages)  latest in thread

Message-ID: <b918cf3d05040416287bf95da2@mail.gmail.com>
Permalink:  ../b918cf3d05040416287bf95da2@mail.gmail.com/
Also on:    postgresql.org/message-id/b918cf3d05040416287bf95da2@mail.gmail.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: mrylander@gmail.com, simon@2ndquadrant.com
  Subject: Re: Sustained inserts per sec ... ?
  In-Reply-To: <b918cf3d05040416287bf95da2@mail.gmail.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