Re: PostgreSQL Configuration Tool for Dummies

From: PFC <lists(at)peufeu(dot)com>
To: "Campbell, Lance" <lance(at)uiuc(dot)edu>, pgsql-performance(at)postgresql(dot)org
Subject: Re: PostgreSQL Configuration Tool for Dummies
Date: 2007-06-19 17:12:33
Message-ID: op.tt6h27arcigqcu@apollo13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> 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.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Kurt Overberg 2007-06-19 17:13:23 Re: Maintenance question / DB size anomaly...
Previous Message Richard Huxton 2007-06-19 17:09:56 Re: PostgreSQL Configuration Tool for Dummies