Skip site navigation (1) Skip section navigation (2)

Re: Filesystem and PG configuration

From: "Anh Ky Huynh" <xkyanh(at)gmail(dot)com>
To: RBN <rbn(dot)ggl(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Filesystem and PG configuration
Date: 2010-06-05 01:53:40
Message-ID: 20100605085340.76006e62@icy.localdomain (view raw or flat)
Thread:
Lists: pgsql-admin
On Fri, 4 Jun 2010 11:25:55 -0400
RBN <rbn(dot)ggl(at)gmail(dot)com> wrote:

> Can someone suggest some appropriate initial configuration
> parameters and shared memory settings for the following hardware?
> 
> I'm running Debian on a Dell with 4x6 core CPU and 128GB memory and
> writing to  a coraid with 9 x 32GB SSDs RAID 10 using jfs with 8
> drives active and 1 as spare.
> 
> I'm considering changing to xfs.  I'm not sure what block size to
> use for the file system, is 8192 appropriate?  The OS page size is
> 4096.
> 
> The database is both write and read intensive, with about 750MB of
> new data added per week and old deleted every six months to one
> year.

A good start:

Tuning: http://www.westnet.com/~gsmith/content/postgresql/pgbench-scaling.htm
Benchmark: http://edoceo.com/liber/db-postgresql-benchmark

Here's my benchmark on `m1.medium` instance of Amazon EC2:
	http://gx.viettug.org/zen/kyanh/jobs/pgbench0.jpg.html

Good luck,

-- 
Anh Ky Huynh

In response to

Responses

pgsql-admin by date

Next:From: mnavahanDate: 2010-06-05 04:24:47
Subject: Re: Firebird To postgresql migration help needed
Previous:From: Florian PflugDate: 2010-06-05 00:00:39
Subject: Re: PITR Recovery Question

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group