Re: Acclerating INSERT/UPDATE using UPS

From: "Chad Wagner" <chad(dot)wagner(at)gmail(dot)com>
To: gene(at)sotech(dot)us
Cc: "Bruce Momjian" <bruce(at)momjian(dot)us>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(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:00:29
Message-ID: 81961ff50702121600p76d9b91w6354aba3e710ec8e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2/12/07, Gene <genekhart(at)gmail(dot)com> wrote:
>
> 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.
>

tmpfs uses virtual memory, so it is likely hitting the disk. I would try
and repeat your cases with ramfs, which uses real memory. Testing shows
that just putting pg_xlog on ramfs yields a 30% boost in performance over
disk with a stock configuration. So there is room for improvement, I am
sure.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2007-02-13 00:02:13 Re: pgsql: Fix backend crash in parsing incorrect tsquery.
Previous Message Peter Eisentraut 2007-02-12 23:58:36 Re: XML export function signatures