pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Magnus Hagander <magnus@hagander.net>
To: Pierre Frédéric Caillaud <lists@peufeu.com>
Cc: fkater@googlemail.com <fkater@googlemail.com>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: Inserting 8MB bytea: just 25% of disk perf used?
Date: Fri, 15 Jan 2010 06:38:48 +0100
Message-ID: <9837222c1001142138m3a1d9aa0q215fd52751af2d39@mail.gmail.com> (raw)
In-Reply-To: <op.u6jpripycke6l8@soyouz>
References: <20100114142903.GB2973@comppasch2>
	<op.u6i5s9eicke6l8@soyouz>
	<20100114212807.GF2384@comppasch2>
	<op.u6jpripycke6l8@soyouz>

2010/1/15 Pierre Frédéric Caillaud <lists@peufeu.com>:
> On Thu, 14 Jan 2010 22:28:07 +0100, fkater@googlemail.com <fkater@googlemail.com> wrote:
>
>> Pierre Frédéric Caillaud:
>>
>>> > 4 Core CPU 3 Ghz, WinXP, 1 TB SATA disk.
>>>
>>>        Big CPU and slow disk...
>>>
>>>        You should add another disk just for the WAL -- disks are pretty cheap
>>> these days.
>>>        Writing the WAL on a second disk is the first thing to do on a
>>> configuration like yours, if you are limited by writes.
>>>        It also reduces the fsync lag a lot since the disk is only doing WAL.
>>
>> Good idea -- where can I set the path to WAL?
>
>        At install, or use a symlink (they exist on windows too !...)
>
>        http://stackoverflow.com/questions/1901405/postgresql-wal-on-windows
>
>        I've no idea of the other needed NTFS tweaks, like if there is a noatime/nodiratime ?...

It does. See http://www.hagander.net/talks/Advanced%20PostgreSQL%20on%20Windows.pdf


-- 
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/



view thread (16+ messages)  latest in thread

Message-ID: <9837222c1001142138m3a1d9aa0q215fd52751af2d39@mail.gmail.com>
Permalink:  ../9837222c1001142138m3a1d9aa0q215fd52751af2d39@mail.gmail.com/
Also on:    postgresql.org/message-id/9837222c1001142138m3a1d9aa0q215fd52751af2d39@mail.gmail.com

 · 

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 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: magnus@hagander.net, lists@peufeu.com, fkater@googlemail.com
  Subject: Re: Inserting 8MB bytea: just 25% of disk perf used?
  In-Reply-To: <9837222c1001142138m3a1d9aa0q215fd52751af2d39@mail.gmail.com>
  References: <20100114142903.GB2973@comppasch2> <op.u6i5s9eicke6l8@soyouz> <20100114212807.GF2384@comppasch2> <op.u6jpripycke6l8@soyouz> <9837222c1001142138m3a1d9aa0q215fd52751af2d39@mail.gmail.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