Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Filesystem and PG configuration
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
RBN  
View profile  
 More options Jun 4 2010, 11:25 am
Newsgroups: pgsql.admin
From: rbn....@gmail.com (RBN)
Date: Fri, 4 Jun 2010 11:25:55 -0400
Local: Fri, Jun 4 2010 11:25 am
Subject: [ADMIN] Filesystem and PG configuration

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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
"Anh Ky Huynh"  
View profile  
 More options Jun 4 2010, 9:53 pm
Newsgroups: pgsql.admin
From: xky...@gmail.com ("Anh Ky Huynh")
Date: Sat, 5 Jun 2010 08:53:40 +0700
Local: Fri, Jun 4 2010 9:53 pm
Subject: Re: [ADMIN] Filesystem and PG configuration
On Fri, 4 Jun 2010 11:25:55 -0400

RBN <rbn....@gmail.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

--
Sent via pgsql-admin mailing list (pgsql-ad...@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andreas Schmitz  
View profile  
 More options Jun 7 2010, 2:31 am
Newsgroups: pgsql.admin
From: mailingl...@longimanus.net (Andreas Schmitz)
Date: Mon, 07 Jun 2010 08:31:11 +0200
Local: Mon, Jun 7 2010 2:31 am
Subject: Re: [ADMIN] Filesystem and PG configuration

Hi,

pgtune could be the thing you're looking for.

http://pgfoundry.org/projects/pgtune/

regards

andreas

--
Sent via pgsql-admin mailing list (pgsql-ad...@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg Spiegelberg  
View profile  
 More options Jun 9 2010, 2:45 pm
Newsgroups: pgsql.admin
From: gspiegelb...@gmail.com (Greg Spiegelberg)
Date: Wed, 9 Jun 2010 12:45:09 -0600
Local: Wed, Jun 9 2010 2:45 pm
Subject: Re: [ADMIN] Filesystem and PG configuration

On Fri, Jun 4, 2010 at 7:53 PM, Anh Ky Huynh <xky...@gmail.com> wrote:

Anh,

Were you using a EBS device in EC2 for that benchmark?

-Greg


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »