pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@postnewspapers.com.au>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Heikki Linnakangas <heikki@enterprisedb.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Very slow (2 tuples/second) sequential scan after bulk insert; speed returns to ~500 tuples/second after commit
Date: Tue, 11 Mar 2008 00:10:00 +0900
Message-ID: <47D54F48.2090904@postnewspapers.com.au> (raw)
In-Reply-To: <24005.1205161372@sss.pgh.pa.us>
References: <47D505AF.4040101@postnewspapers.com.au>
	<47D5150C.8090802@enterprisedb.com>
	<23588.1205159638@sss.pgh.pa.us>
	<47D54A47.3030608@postnewspapers.com.au>
	<24005.1205161372@sss.pgh.pa.us>

Tom Lane wrote:
> Craig Ringer <craig@postnewspapers.com.au> writes:
>   
>> It seems to happen with every statement run in the same transaction as, 
>> and after, the procedure with all the subtransactions. As soon as a 
>> COMMIT is executed, operations return to normal speed.
>>     
>
> Ah.  I misread your post as saying that it happened only once.
No worries - it's best to be sure.

Thanks for looking into it.

--
Craig Ringer




view thread (30+ messages)  latest in thread

Message-ID: <47D54F48.2090904@postnewspapers.com.au>
Permalink:  ../47D54F48.2090904@postnewspapers.com.au/
Also on:    postgresql.org/message-id/47D54F48.2090904@postnewspapers.com.au

 · 

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: craig@postnewspapers.com.au, tgl@sss.pgh.pa.us, heikki@enterprisedb.com
  Subject: Re: Very slow (2 tuples/second) sequential scan after bulk insert; speed returns to ~500 tuples/second after commit
  In-Reply-To: <47D54F48.2090904@postnewspapers.com.au>

* 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