Re: postgres 7.4 at 100% - Mailing list pgsql-performance

From Josh Berkus
Subject Re: postgres 7.4 at 100%
Date
Msg-id 200406281547.38742.josh@agliodbs.com
Whole thread Raw
In response to Re: postgres 7.4 at 100%  (Frank Knobbe <frank@knobbe.us>)
List pgsql-performance
Frank,

> I understand tuning PG is almost an art form, yet it should be based on
> actual usage patterns, not just by system dimensions, don't you agree?

Well, it's both.   It's more that available RAM determines your *upper* limit;
that is, on Linux, you don't really want to have more than 20% allocated to
the shared_buffers or you'll be taking memory away from the kernel.

Within that limit, data size, query complexity and volume, and whether or not
you have long-running procedures tell you whether you're at the low end or
the high end.

To futher complicate things, these calculations are all going to change with
7.5.

--
-Josh Berkus
 Aglio Database Solutions
 San Francisco


pgsql-performance by date:

Previous
From: Frank Knobbe
Date:
Subject: Re: postgres 7.4 at 100%
Next
From: "Harald Lau (Sector-X)"
Date:
Subject: no index-usage on aggregate-functions?