From: jelle <jellej@pacbell.net>
To: pgsql-performance@postgresql.org
Subject: Questions about 2 databases.
Date: Fri, 11 Mar 2005 10:54:30 -0800 (PST)
Message-ID: <Pine.LNX.4.61.0503110945070.24097@localhost.localdomain> (raw)
In-Reply-To: <6.2.0.14.0.20050311155221.041aa528@pop.interactivemediafactory.net>
References: <6.2.0.14.0.20050311155221.041aa528@pop.interactivemediafactory.net>
Hello All,
I have a couple of questions about running 2 databases:
1) on a single 7.4.6 postgres instance does each database have it own WAL
file or is that shared? Is it the same on 8.0.x?
2) what's the high performance way of moving 200 rows between similar
tables on different databases? Does it matter if the databases are
on the same or seperate postgres instances?
Background:
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.
Individual session data is not as critical as the master pg-db so the risk
associated with running the session pg-db on a ramdisk is acceptable.
All this is to get past the I/O bottleneck, already tweaked the config
files, run on multiple RAID-1 spindles, profiled the queries, maxed
the CPU/ram. Migrating to 64bit fedora soon.
Thanks, this mailing list has been invaluable.
Jelle
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: jellej@pacbell.net
Subject: Re: Questions about 2 databases.
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>
* 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