Re: Time to insert

From: Einar Karttunen <ekarttun(at)cs(dot)Helsinki(dot)FI>
To: Renaud Thonnart <thonnart(at)amwdb(dot)u-strasbg(dot)fr>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Time to insert
Date: 2001-05-03 10:36:51
Message-ID: Pine.LNX.4.30.0105031331260.26159-100000@melkinpaasi.cs.Helsinki.FI
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 3 May 2001, Renaud Thonnart wrote:

> Hi everyone
> Could someone explain me why time of insertion become that long when
> table increase ?
> For the same kind of insertion:
> When table is empty : 0.03s/row
> Table has 3663 rows : 2.07s/row
> Is that normal ?
>
> Sincerely, Renaud THONNART
>
Have you performed a VACUUM [ANALYZE]? If you are inserting data in larger
patches consider using copy or dropping indexes. What version of pgsql are
you using? There used to be (if I remember correctly) a bug in 7.1 betas
that made the inserts slow down.

- Einar Karttunen

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Renaud Thonnart 2001-05-03 10:50:03 Re: Time to insert
Previous Message Renaud Thonnart 2001-05-03 10:26:56 Time to insert