pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PFC <lists@boutiquenumerique.com>
To: jellej@pacbell.net
To: pgsql-performance@postgresql.org
Subject: Re: Questions about 2 databases.
Date: Sat, 12 Mar 2005 03:15:21 +0100
Message-ID: <opsnh5vvs2th1vuj@localhost> (raw)
In-Reply-To: <Pine.LNX.4.61.0503110945070.24097@localhost.localdomain>
References: <6.2.0.14.0.20050311155221.041aa528@pop.interactivemediafactory.net>
	<Pine.LNX.4.61.0503110945070.24097@localhost.localdomain>



> My web app does lots of inserts that aren't read until a session is  
> complete. The plan is to put the heavy insert session onto a ramdisk  
> based pg-db and transfer the relevant data to the master pg-db upon  
> session completion. Currently running 7.4.6.

	From what you say I'd think you want to avoid making one write  
transaction to the main database on each page view, right ?
	You could simply store the data in a file, and at the end of the session,  
read the file and do all the writes in one transaction.



view thread (6+ messages)  latest in thread

Message-ID: <opsnh5vvs2th1vuj@localhost>
Permalink:  ../opsnh5vvs2th1vuj@localhost/
Also on:    postgresql.org/message-id/opsnh5vvs2th1vuj@localhost

 · 

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: lists@boutiquenumerique.com, jellej@pacbell.net
  Subject: Re: Questions about 2 databases.
  In-Reply-To: <opsnh5vvs2th1vuj@localhost>

* 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