Re: Need for speed - Mailing list pgsql-performance

From Josh Berkus
Subject Re: Need for speed
Date
Msg-id 200508171028.05028.josh@agliodbs.com
Whole thread Raw
In response to Re: Need for speed  (Ulrich Wisser <ulrich.wisser@relevanttraffic.se>)
List pgsql-performance
Ulrich,

> I believe the biggest problem is disc io. Reports for very recent data
> are quite fast, these are used very often and therefor already in the
> cache. But reports can contain (and regulary do) very old data. In that
> case the whole system slows down. To me this sounds like the recent data
> is flushed out of the cache and now all data for all queries has to be
> fetched from disc.

How large is the database on disk?

> My machine has 2GB memory, please find postgresql.conf below.

hmmmm ...
effective_cache_size?
random_page_cost?
cpu_tuple_cost?
etc.

--
Josh Berkus
Aglio Database Solutions
San Francisco

pgsql-performance by date:

Previous
From: "Jeffrey W. Baker"
Date:
Subject: Re: Need for speed
Next
From: Chris Hoover
Date:
Subject: Re: Tuning Effective Cache Question