Re: Query only slow on first run
От
Tom Lane
Тема
Re: Query only slow on first run
Дата
Msg-id
23999.1196184368@sss.pgh.pa.us
Ответ на
Re: Query only slow on first run (Andrew Sullivan)
Список
Дерево обсуждения
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>
Andrew Sullivan writes: > On Tue, Nov 27, 2007 at 05:33:36PM +0100, cluster wrote: >> I have a query that takes about 7000 ms in average to complete the first >> time it runs. Subsequent runs complete in only 50 ms. That is more than >> a factor 100 faster! How can I make the query perform good in the first >> run too? > Probably by buying much faster disk hardware. Or buy more RAM, so that the data can stay cached. regards, tom lane
В списке pgsql-performance по дате отправления