Re: Query only slow on first run

From: Bill Moran <wmoran(at)collaborativefusion(dot)com>
To: cluster <skrald(at)amossen(dot)dk>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Query only slow on first run
Date: 2007-11-27 18:55:50
Message-ID: 20071127135550.956f0f9e.wmoran@collaborativefusion.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

In response to cluster <skrald(at)amossen(dot)dk>:

> >> Probably by buying much faster disk hardware.
> > Or buy more RAM, so that the data can stay cached.
>
> So the only problem here is lack of RAM and/or disk speed?

Not automatically, but the chances that more RAM and/or faster disks will
improve this situation are probably 90% or better.

Other things that could cause this problem are poor schema design, and
unreasonable expectations.

--
Bill Moran
Collaborative Fusion Inc.
http://people.collaborativefusion.com/~wmoran/

wmoran(at)collaborativefusion(dot)com
Phone: 412-422-3463x4023

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Dave Dutcher 2007-11-27 19:04:28 Re: Query only slow on first run
Previous Message Steinar H. Gunderson 2007-11-27 18:38:55 Re: GiST indexing tuples