pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-performance@postgresql.org
Cc: Ulrich Wisser <ulrich.wisser@relevanttraffic.se>
Subject: Re: Need for speed
Date: Wed, 17 Aug 2005 10:28:04 -0700
Message-ID: <200508171028.05028.josh@agliodbs.com> (raw)
In-Reply-To: <4303003B.3020407@relevanttraffic.se>
References: <Pine.LNX.4.44.0508162045480.2995-100000@zigo.dhs.org>
	<4303003B.3020407@relevanttraffic.se>

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



view thread (16+ messages)  latest in thread

Message-ID: <200508171028.05028.josh@agliodbs.com>
Permalink:  ../200508171028.05028.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200508171028.05028.josh@agliodbs.com

 · 

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: josh@agliodbs.com, ulrich.wisser@relevanttraffic.se
  Subject: Re: Need for speed
  In-Reply-To: <200508171028.05028.josh@agliodbs.com>

* 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