pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Craig Ringer <craig@postnewspapers.com.au>
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: Mon, 10 Mar 2008 11:02:52 -0400
Message-ID: <24005.1205161372@sss.pgh.pa.us> (raw)
In-Reply-To: <47D54A47.3030608@postnewspapers.com.au>
References: <47D505AF.4040101@postnewspapers.com.au>
	<47D5150C.8090802@enterprisedb.com>
	<23588.1205159638@sss.pgh.pa.us>
	<47D54A47.3030608@postnewspapers.com.au>

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.

			regards, tom lane



view thread (30+ messages)  latest in thread

Message-ID: <24005.1205161372@sss.pgh.pa.us>
Permalink:  ../24005.1205161372@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24005.1205161372@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, craig@postnewspapers.com.au, 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: <24005.1205161372@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