pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Ivan Voras <ivoras@freebsd.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Re: Postgres insert performance and storage requirement compared to Oracle
Date: Wed, 27 Oct 2010 23:32:25 -0400
Message-ID: <3989.1288236745@sss.pgh.pa.us> (raw)
In-Reply-To: <AANLkTimB0FG2fPQPLL4SVgLWHTh8pYn3pJODTPDeaEM1@mail.gmail.com>
References: <402913.53404.qm@web65405.mail.ac4.yahoo.com>
	<AANLkTi=0iZDF7EHebukEJ+jxFN8giCy3iXxYuSe_mLUY@mail.gmail.com>
	<AANLkTi=cy67frLbx+YH_uUk5vqPsxt8u-Q_cpU74pYMq@mail.gmail.com>
	<208728.42197.qm@web65409.mail.ac4.yahoo.com>
	<AANLkTikeYj52q1v1RcwCYR=9Kv5mxJmh+Q+KvXcmibYK@mail.gmail.com>
	<770715.39613.qm@web29003.mail.ird.yahoo.com>
	<AANLkTinaW3ZtGJbzgAARG0WfAOJxSPAbdVAZa6X_2dh+@mail.gmail.com>
	<ia8tvj$15r$1@dough.gmane.org>
	<AANLkTimB0FG2fPQPLL4SVgLWHTh8pYn3pJODTPDeaEM1@mail.gmail.com>

Robert Haas <robertmhaas@gmail.com> writes:
> Gee, I wonder if it would possible for PG to automatically do an
> asynchronous commit of any transaction which touches only temp tables.

Hmm ... do we need a commit at all in such a case?  If our XID has only
gone into temp tables, I think we need to write to clog, but we don't
really need a WAL entry, synced or otherwise.

			regards, tom lane



view thread (53+ messages)  latest in thread

Message-ID: <3989.1288236745@sss.pgh.pa.us>
Permalink:  ../3989.1288236745@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3989.1288236745@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, robertmhaas@gmail.com, ivoras@freebsd.org
  Subject: Re: Re: Postgres insert performance and storage requirement compared to Oracle
  In-Reply-To: <3989.1288236745@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