Re: Highload website database architecture - Mailing list pgsql-general

From Michael Glaesemann
Subject Re: Highload website database architecture
Date
Msg-id 4ECB25A6-E7A6-4693-BCD3-189FB1AF4240@seespotcode.net
Whole thread Raw
In response to Highload website database architecture  ("a" <a@tempinbox.com>)
List pgsql-general
On Dec 2, 2006, at 10:09 , a wrote:

> The database folder has a file called postgresql.cons

I assume you mean postgresql.conf?

> where we can
> specify no of active connections to the database -N which is currently
> 1024 and also specify the shared buffers. Is there any thumbrule in
> deciding the -N and also the no of shared buffers for my config of 4
> frontend servers and 1 database backend server. There is no global or
> memcached mechanisms in use.

I believe you'll want to look at how to tune your PostgreSQL server.
Here are some pointers:

http://www.powerpostgresql.com/PerfList
http://www.varlena.com/varlena/GeneralBits/116.php
http://www.revsys.com/writings/postgresql-performance.html

You may also be interested in joining the PostgreSQL Performance
list, which often deals with issues like this.

http://archives.postgresql.org/pgsql-performance/

Hope this helps.

Michael Glaesemann
grzm seespotcode net



pgsql-general by date:

Previous
From: Bob Pawley
Date:
Subject: Version 8.1
Next
From: Chander Ganesan
Date:
Subject: Re: CertFirst Legit?