Re: Acclerating INSERT/UPDATE using UPS - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Acclerating INSERT/UPDATE using UPS
Date
Msg-id 16732.1171326431@sss.pgh.pa.us
Whole thread Raw
In response to Re: Acclerating INSERT/UPDATE using UPS  (Gene <genekhart@gmail.com>)
Responses Re: Acclerating INSERT/UPDATE using UPS  (Hideyuki Kawashima <kawasima@cs.tsukuba.ac.jp>)
List pgsql-hackers
Gene <genekhart@gmail.com> writes:
> I was curious to see how postgres would perform with wal on a tmpfs vs disk
> here are some numbers I got from pgbench. Let me know if I did something
> stupid, this is the first time I've used pgbench. The wal on tmpfs method is
> not significantly faster.

This comparison is not very useful because you were using battery-backed
write cache, which gives pretty much all the performance improvement
that is to be looked for in this area.  Try it against a plain vanilla
disk drive (that's not lying about write complete) and you'll find the
maximum TPS rate is closely related to the disk's rotation rate.

At the same time though, the existence of BBWC solutions makes me wonder
why we need another.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Fix backend crash in parsing incorrect tsquery.
Next
From: Jeremy Drake
Date:
Subject: Re: pgsql: Fix backend crash in parsing incorrect tsquery.