From: Dror Matalon <dror@zapatec.com>
To: pgsql-performance@postgresql.org
Subject: Re: Maximum Possible Insert Performance?
Date: Wed, 26 Nov 2003 10:54:21 -0800
Message-ID: <20031126185421.GN30893@rlx11.zapatec.com> (raw)
In-Reply-To: <bq2pu0$e5$1@news.hub.org>
References: <bprv1q$1j5o$1@news.hub.org>
<3FC19C2C.4050704@myrealbox.com>
<bpteip$13d$1@news.hub.org>
<200311240925.58070.josh@agliodbs.com>
<bq2la9$2jh1$1@news.hub.org>
<16109.1069869356@sss.pgh.pa.us>
<bq2pu0$e5$1@news.hub.org>
But the permissions of the base ramdisk might be wrong. I'd su to the
user that you run postgres as (probably postgres), and make sure that
you can go to the directory where the log and the database files are and
make sure you can see the files.
On Wed, Nov 26, 2003 at 10:03:47AM -0800, William Yu wrote:
> Tom Lane wrote:
> >William Yu <wyu@talisys.com> writes:
> >
> >>I then tried to put the WAL directory onto a ramdisk. I turned off
> >>swapping, created a tmpfs mount point and copied the pg_xlog directory
> >>over. Everything looked fine as far as I could tell but Postgres just
> >>panic'd with a "file permissions" error. Anybody have thoughts to why
> >>tmpfs would not work?
> >
> >
> >I'd say you got the file or directory ownership or permissions wrong.
>
> I did a mv instead of a cp which duplicates ownership & permissions exactly.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
--
Dror Matalon
Zapatec Inc
1700 MLK Way
Berkeley, CA 94709
http://www.fastbuzz.comhttp://www.zapatec.com
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: dror@zapatec.com
Subject: Re: Maximum Possible Insert Performance?
In-Reply-To: <20031126185421.GN30893@rlx11.zapatec.com>
References: <bprv1q$1j5o$1@news.hub.org> <3FC19C2C.4050704@myrealbox.com> <bpteip$13d$1@news.hub.org> <200311240925.58070.josh@agliodbs.com> <bq2la9$2jh1$1@news.hub.org> <16109.1069869356@sss.pgh.pa.us> <bq2pu0$e5$1@news.hub.org> <20031126185421.GN30893@rlx11.zapatec.com>
* 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