pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: Loic Petit <tls.wydd@free.fr>
Cc: max@nts.biz.ua
Cc: pgsql-performance@postgresql.org
Subject: Re: Large number of tables slow insert
Date: Sat, 23 Aug 2008 18:50:48 -0600
Message-ID: <dcc563d10808231750t6b04590bifdf8acc387777c05@mail.gmail.com> (raw)
In-Reply-To: <1775c5ea0808231747m71c4e75fn9b5c45ed604edfe8@mail.gmail.com>
References: <1775c5ea0808231747m71c4e75fn9b5c45ed604edfe8@mail.gmail.com>

On Sat, Aug 23, 2008 at 6:47 PM, Loic Petit <tls.wydd@free.fr> wrote:
> I was a bit confused about the read and write sorry ! I understand what you
> mean...
> But do you think that the IO cost (of only one page) needed to handle the
> index writing is superior than 300ms ? Because each insert in any of these
> tables is that slow.
> NB: between my "small" and my "big" tests the only difference is the number
> of table (10 and 3000), there is almost the same amount of on-disk data

It could be that the tables or indexes are heavily bloated.  What's
the churn rate on these tables / indexes?



view thread (24+ messages)  latest in thread

Message-ID: <dcc563d10808231750t6b04590bifdf8acc387777c05@mail.gmail.com>
Permalink:  ../dcc563d10808231750t6b04590bifdf8acc387777c05@mail.gmail.com/
Also on:    postgresql.org/message-id/dcc563d10808231750t6b04590bifdf8acc387777c05@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: scott.marlowe@gmail.com, tls.wydd@free.fr, max@nts.biz.ua
  Subject: Re: Large number of tables slow insert
  In-Reply-To: <dcc563d10808231750t6b04590bifdf8acc387777c05@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