Re: database tuning

From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: kelvan <kicmcewen(at)windowslive(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: database tuning
Date: 2007-12-12 00:07:38
Message-ID: Pine.GSO.4.64.0712111855520.21402@westnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Wed, 12 Dec 2007, kelvan wrote:

> my original question is what are the overheads for postgres but obviously no
> one knows or no one knows where a webpage containing this information is -_-

In addition to the documentation links people have already suggested, I'd
also suggest
http://andreas.scherbaum.la/blog/archives/282-table-size,-database-size.html
which gives some helpful suggestions on measuring the actual size of data
you've got in the database already. It's possible to make a mistake when
trying to compute overhead yourself; loading a subset of the data and
measuring the size is much less prone to error.

> if we were not using a Mac we would have none of the problems we have
> with connection issues such as php seems to want to take up 20 db
> connections at a time

I can't imagine why the connection pooling links I suggested before
wouldn't work perfectly fine on a Mac. You're correct to first nail down
why PHP is connecting more than you expect, but eventually I suspect
you'll need to wander toward pooling.

> neither I nor the web app developer are Mac savvy hell as far as we have
> seen no Mac tec is Mac savvy either

:)

> we cannot get parts of postgres to run on a Mac either such as pgagent
> which is necessary for us but we cannot seem to find a daemon that works
> on a Mac

You might want to give some specifics and ask about this on the pgAdmin
mailing list: http://www.pgadmin.org/support/list.php

OS X support is relatively recent for pgAdmin and I see some other recent
fixes for specific issues on that platform.

--
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Michael Stone 2007-12-12 00:10:26 Re: database tuning
Previous Message Simon Riggs 2007-12-11 23:37:57 Re: TB-sized databases