Re: Query only slow on first run

From: cluster <skrald(at)amossen(dot)dk>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Query only slow on first run
Date: 2007-11-29 11:07:37
Message-ID: 474E9D79.6000407@amossen.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> You're essentially asking for a random sample of data that is not
> currently in memory. You're not going to get that without some I/O.

No, that sounds reasonable enough. But do you agree with the statement
that my query will just get slower and slower over time as the number of
posts increases while the part having status = 1 is constant?
(Therefore, as the relevant fraction becomes smaller over time, the
"Filter: status = 1" operation becomes slower.)

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Gregory Stark 2007-11-29 11:59:51 Re: TB-sized databases
Previous Message Scott Marlowe 2007-11-29 06:49:41 Re: Query only slow on first run