From: Mirko Zeibig <mirko-individual@zeibig.net>
To: pgsql-performance@postgresql.org
Subject: Re: Questions about 2 databases.
Date: Mon, 14 Mar 2005 11:43:52 +0100
Message-ID: <42356AE8.8080907@zeibig.net> (raw)
In-Reply-To: <Pine.LNX.4.61.0503111323180.24097@localhost.localdomain>
References: <6.2.0.14.0.20050311155221.041aa528@pop.interactivemediafactory.net>
<Pine.LNX.4.61.0503110945070.24097@localhost.localdomain>
<5055.1110573222@sss.pgh.pa.us>
<Pine.LNX.4.61.0503111323180.24097@localhost.localdomain>
jelle wrote:
> The insert heavy sessions average 175 page hits generating XML, 1000
> insert/updates which comprise 90% of the insert/update load, of which
> 200 inserts need to be transferred to the master db. The other
> sessions are read/cache bound. I hoping to get a speed-up from moving
> the temporary stuff off the master db and using 1 transaction
> instead of 175 to the disk based master db.
Just a thought:
Wouldn't it be sufficient to have the "temporary", fast session-table
in a RAM-disk? I suspect you could do this rather easily using a TABLESPACE.
All the indices could be in this TABLESPACE as well (at least after
having a quick look at the short help for CREATE TABLE and assuming you are
using PostgreSQL >= 8.0).
Regards
Mirko
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: mirko-individual@zeibig.net
Subject: Re: Questions about 2 databases.
In-Reply-To: <42356AE8.8080907@zeibig.net>
* 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