Questions about 2 databases. - Mailing list pgsql-performance

From jelle
Subject Questions about 2 databases.
Date
Msg-id Pine.LNX.4.61.0503110945070.24097@localhost.localdomain
Whole thread Raw
In response to Performance tuning  (Jacques Caron <jc@directinfos.com>)
Responses Re: Questions about 2 databases.
Re: Questions about 2 databases.
List pgsql-performance
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

pgsql-performance by date:

Previous
From: "Lou O'Quin"
Date:
Subject: Re: Query performance
Next
From: Tom Lane
Date:
Subject: Re: Query performance