Re: Query only slow on first run

Поиск
Список
Период
Сортировка
От cluster
Тема Re: Query only slow on first run
Дата
Msg-id 474E9D79.6000407@amossen.dk
обсуждение исходный текст
Ответ на Re: Query only slow on first run  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Query only slow on first run  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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.)

В списке pgsql-performance по дате отправления:

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Query only slow on first run
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: TB-sized databases