pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PFC <lists@peufeu.com>
To: Campbell, Lance <lance@uiuc.edu>
To: pgsql-performance@postgresql.org
Subject: Re: PostgreSQL Configuration Tool for Dummies
Date: Tue, 19 Jun 2007 19:12:33 +0200
Message-ID: <op.tt6h27arcigqcu@apollo13> (raw)
In-Reply-To: <A3AC4FA47DC0B1458C3E5396E685E63302395E5D@SAB-DC1.sab.uiuc.edu>
References: <A3AC4FA47DC0B1458C3E5396E685E63302395E5D@SAB-DC1.sab.uiuc.edu>



> What version of PostgreSQL are you using?

	I think newbies should be pushed a bit to use the latest versions, maybe  
with some advice on how to setup the apt sources (in debian/ubuntu) to get  
them.

> How much memory will be available to PostgreSQL?
>
> How many connections will be made to PostgreSQL?

	I also think Postgres newbies using PHP should be encouraged to use  
something like ligttpd/fastcgi instead of Apache. The fastcgi model  
permits use of very few database connections and working PHP processes  
since lighttpd handles all the slow transfers to the client  
asynchronously. You can do the same with two Apache instances, one serving  
static pages and acting as a proxy for the second Apache serving dynamic  
pages.
	With this setup, even low-end server setups (For our personal sites, a  
friend and I share a dedicated server with 256MB of RAM, which we rent for  
20€ a month). This thing will never run 200 Apache processes, but we have  
no problem with lighttpd/php-fcgi and postgres.



view thread (42+ messages)  latest in thread

Message-ID: <op.tt6h27arcigqcu@apollo13>
Permalink:  ../op.tt6h27arcigqcu@apollo13/
Also on:    postgresql.org/message-id/op.tt6h27arcigqcu@apollo13

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: lists@peufeu.com, lance@uiuc.edu
  Subject: Re: PostgreSQL Configuration Tool for Dummies
  In-Reply-To: <op.tt6h27arcigqcu@apollo13>

* 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