From: Merlin Moncure <mmoncure@gmail.com>
To: Magnus Hagander <magnus@hagander.net>
Cc: James Mansion <james@mansionfamily.plus.com>
Cc: Ron <rjpeace@earthlink.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: compact flash disks?
Date: Thu, 8 Mar 2007 09:11:41 -0500
Message-ID: <b42b73150703080611y64be6b11s2f580671d731cc09@mail.gmail.com> (raw)
In-Reply-To: <20070308084823.GA7216@svr2.hagander.net>
References: <E1HOxqf-0005Mn-Uw@elasmtp-kukur.atl.sa.earthlink.net>
<HCEPKPMCAJLDGJIBCLGHOEDCHEAA.james@mansionfamily.plus.com>
<20070308084823.GA7216@svr2.hagander.net>
On 3/8/07, Magnus Hagander <magnus@hagander.net> wrote:
> On Thu, Mar 08, 2007 at 06:24:35AM -0000, James Mansion wrote:
> >
> > In the long run, we are going to have to seriously rethink pg's use
> > of WAL as the way we implement MVCC as it becomes more and more of a
> > performance bottleneck.
> > We have WAL because Stonebreaker made an assumption about the future
> > dominance of optical media that has turned out to be false.
> > ...and it's been one of pg's big issues every since.
>
> Uh. pg didn't *have* WAL back when Stonebreaker was working on it. It
> was added in PostgreSQL 7.1, by Vadim. And it significantly increased
> performance at the time, since we no longer had to sync the datafiles
> after every transaction commit.
> (We also didn't have MVCC back in the Stonebreaker days - it was added
> in 6.5)
Exactly, and WAL services other purposes than minimizing the penalty
from writing to high latency media. WAL underlies PITR for example.
Near-zero latency media is coming, eventually...and I don't think the
issue is reliability (catastrophic failure is extremely unlikely) but
cost. I think the poor write performance is not an issue because you
can assemble drives in a giant raid 0 (or even 00 or 000) which will
blow away disk based raid 10 systems at virtually everything.
Solid State Drives consume less power (a big deal in server farms) and
the storage density and life-span will continue to improve. I give it
five years (maybe less) before you start to see SSD penetration in a
big way. It will simply become cheaper to build a box with SSD than
without since you won't need to buy as much RAM, draws less power, and
is much more reliable.
Disk drives will displace tape as low speed archival storage but will
probably live on in super high storage enterprise environments.
my 0.02$, as usual,
merlin
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: mmoncure@gmail.com, magnus@hagander.net, james@mansionfamily.plus.com, rjpeace@earthlink.net
Subject: Re: compact flash disks?
In-Reply-To: <b42b73150703080611y64be6b11s2f580671d731cc09@mail.gmail.com>
References: <E1HOxqf-0005Mn-Uw@elasmtp-kukur.atl.sa.earthlink.net> <HCEPKPMCAJLDGJIBCLGHOEDCHEAA.james@mansionfamily.plus.com> <20070308084823.GA7216@svr2.hagander.net> <b42b73150703080611y64be6b11s2f580671d731cc09@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