Re: Acclerating INSERT/UPDATE using UPS

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: gene(at)sotech(dot)us
Cc: "Bruce Momjian" <bruce(at)momjian(dot)us>, pgsql-hackers(at)postgresql(dot)org, "Hideyuki Kawashima" <kawasima(at)cs(dot)tsukuba(dot)ac(dot)jp>
Subject: Re: Acclerating INSERT/UPDATE using UPS
Date: 2007-02-13 00:27:11
Message-ID: 16732.1171326431@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gene <genekhart(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeremy Drake 2007-02-13 00:33:41 Re: pgsql: Fix backend crash in parsing incorrect tsquery.
Previous Message Tom Lane 2007-02-13 00:20:22 Re: pgsql: Fix backend crash in parsing incorrect tsquery.