pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew <matthew@flymine.org>
To: Richard Huxton <dev@archonet.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Benchmark Data requested
Date: Tue, 5 Feb 2008 15:57:17 +0000 (GMT)
Message-ID: <Pine.LNX.4.64.0802051554010.20402@aragorn.flymine.org> (raw)
In-Reply-To: <47A8862A.1060205@archonet.com>
References: <1202150236.4252.521.camel@ebony.site>
	<Pine.GSO.4.64.0802041500460.799@westnet.com>
	<47A797E5.4000507@sun.com>
	<200802051506.51581.dfontaine@hi-media.com>
	<1202221496.4252.680.camel@ebony.site>
	<47A87618.1090203@archonet.com>
	<1202223268.4252.707.camel@ebony.site>
	<Pine.LNX.4.64.0802051523470.20402@aragorn.flymine.org>
	<47A8862A.1060205@archonet.com>

On Tue, 5 Feb 2008, Richard Huxton wrote:
>> Why would you need to lock the table?
>
> Because you're not really writing the WAL, which means you can't let anyone 
> else get their data into any of the blocks you are writing into. You'd 
> basically want to write the disk blocks then "attach" them in some way.

So what's wrong with "reserving" the space using the WAL, then everyone 
else will know. After all, when you write the data to the WAL, you must 
have an idea of where it is meant to end up. My suggestion is that you go 
through all the motions of writing the data to the WAL, just without the 
data bit.

Matthew

-- 
Failure is not an option. It comes bundled with your Microsoft product. 
                                                 -- Ferenc Mantfeld



view thread (51+ messages)  latest in thread

Message-ID: <Pine.LNX.4.64.0802051554010.20402@aragorn.flymine.org>
Permalink:  ../Pine.LNX.4.64.0802051554010.20402@aragorn.flymine.org/
Also on:    postgresql.org/message-id/Pine.LNX.4.64.0802051554010.20402@aragorn.flymine.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: matthew@flymine.org, dev@archonet.com
  Subject: Re: Benchmark Data requested
  In-Reply-To: <Pine.LNX.4.64.0802051554010.20402@aragorn.flymine.org>
  References: <1202150236.4252.521.camel@ebony.site> <Pine.GSO.4.64.0802041500460.799@westnet.com> <47A797E5.4000507@sun.com> <200802051506.51581.dfontaine@hi-media.com> <1202221496.4252.680.camel@ebony.site> <47A87618.1090203@archonet.com> <1202223268.4252.707.camel@ebony.site> <Pine.LNX.4.64.0802051523470.20402@aragorn.flymine.org> <47A8862A.1060205@archonet.com> <Pine.LNX.4.64.0802051554010.20402@aragorn.flymine.org>

* 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