From: Marcos Ortiz <mlortiz@uci.cu>
To: Cesar Arrieta <cesar.cba@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Server Configuration
Date: Wed, 02 Feb 2011 21:49:12 -0430
Message-ID: <1296699552.7323.20.camel@marcosluis-Aspire-5251> (raw)
In-Reply-To: <AANLkTinr3QTVSet8GOCJWO0cFD9qfbLpNqw4NvMR4HGt@mail.gmail.com>
References: <AANLkTinr3QTVSet8GOCJWO0cFD9qfbLpNqw4NvMR4HGt@mail.gmail.com>
On Wed, 2011-02-02 at 15:15 -0300, Cesar Arrieta wrote:
> Hi, I have a Server with Fedora Core 11, Tomcat and Postgresql 8.3.
> With Hardware:
> * 8GB RAM
> * 8 processors Intel Xeon E5520 @2.27GHz
> * 250GB SATA DISK
>
> Actually, it serves at most 250 connections.
> The problem happends when it serves many many connections at a time,
> tables and queries began to get blocked, then I have to kill some
> processes
> in order to allow other people continue working.
>
> Wich recommendations could you give me for to configure
> postgresql.conf, and could it be eficcient to buy another server with
> almost same hardware
> in order to use pgPool2 with replication, load balance and parallel
> query?.
My first recommedation is to update your PostgreSQL version to 9.0 and
later you can use the PgPool-II version 3.0 in order to use the Hot
standby/Streaming Replication features with it.
Here is a example of the configuration of PgPool-II 3.0.1 and
PostgreSQL-9.0.2
http://lists.pgfoundry.org/pipermail/pgpool-general/2011-February/003338.html
Regards
--
Ing. Marcos Luís Ortíz Valmaseda
System Engineer -- Database Administrator
Centro de Tecnologías de Gestión de Datos (DATEC)
Universidad de las Ciencias Informáticas
http://postgresql.uci.cu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: mlortiz@uci.cu, cesar.cba@gmail.com
Subject: Re: Server Configuration
In-Reply-To: <1296699552.7323.20.camel@marcosluis-Aspire-5251>
References: <AANLkTinr3QTVSet8GOCJWO0cFD9qfbLpNqw4NvMR4HGt@mail.gmail.com> <1296699552.7323.20.camel@marcosluis-Aspire-5251>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox