Re: Query only slow on first run

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Query only slow on first run
Дата
Msg-id
24967.1196288664@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Query only slow on first run cluster <skrald@amossen.dk>
Re: Query only slow on first run Kevin Kempter <kevin@kevinkempterllc.com>
Re: Query only slow on first run Andrew Sullivan <ajs@crankycanuck.ca>
Re: Query only slow on first run Tom Lane <tgl@sss.pgh.pa.us>
Re: Query only slow on first run cluster <skrald@amossen.dk>
Re: Query only slow on first run "Dave Dutcher" <dave@tridecap.com>
Re: Query only slow on first run cluster <skrald@amossen.dk>
Re: Query only slow on first run "Dave Dutcher" <dave@tridecap.com>
Re: Query only slow on first run "Steinar H. Gunderson" <sgunderson@bigfoot.com>
Re: Query only slow on first run Tom Lane <tgl@sss.pgh.pa.us>
Re: Query only slow on first run "Steinar H. Gunderson" <sgunderson@bigfoot.com>
Re: Query only slow on first run tmp <skrald@amossen.dk>
Re: Query only slow on first run "Dave Dutcher" <dave@tridecap.com>
Re: Query only slow on first run Tom Lane <tgl@sss.pgh.pa.us>
Re: Query only slow on first run Craig James <craig_james@emolecules.com>
Re: Query only slow on first run cluster <skrald@amossen.dk>
Re: Query only slow on first run "Steinar H. Gunderson" <sgunderson@bigfoot.com>
Re: Query only slow on first run cluster <skrald@amossen.dk>
Re: Query only slow on first run Tom Lane <tgl@sss.pgh.pa.us>
Re: Query only slow on first run cluster <skrald@amossen.dk>
Re: Query only slow on first run Tom Lane <tgl@sss.pgh.pa.us>
Re: Query only slow on first run Jean-David Beyer <jeandavid8@verizon.net>
Re: Query only slow on first run "Scott Marlowe" <scott.marlowe@gmail.com>
Re: Query only slow on first run Bill Moran <wmoran@collaborativefusion.com>
cluster  writes:
> I could really use any kind of suggestion on how to improve the query in 
> order to make it scale better for large data sets The 6-7000 ms for a 
> clean run is really a showstopper. Need to get it below 70 ms somehow.

Buy a faster disk?

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.

			regards, tom lane
В списке pgsql-performance по дате отправления
От: Jean-David Beyer
Дата:
От: Scott Marlowe
Дата:
FAQ