Re: Highload website database architecture

From: Michael Glaesemann <grzm(at)seespotcode(dot)net>
To: a <a(at)tempinbox(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Highload website database architecture
Date: 2006-12-04 00:59:32
Message-ID: 4ECB25A6-E7A6-4693-BCD3-189FB1AF4240@seespotcode.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message wheel 2006-12-04 01:36:31 Re: Restore database from files (not dump files)?
Previous Message Bob Pawley 2006-12-03 23:42:22 Version 8.1