Re: faster search
От
Steve Atkins
Тема
Re: faster search
Дата
Msg-id
20050610201240.GA9822@gp.word-to-the-wise.com
Ответ на
faster search (Clark Slater)
Список
Дерево обсуждения
faster search Clark Slater <list@slatech.com>
Re: faster search "Steinar H. Gunderson" <sgunderson@bigfoot.com>
Re: faster search Tobias Brox <tobias@nordicbet.com>
Re: faster search Steve Atkins <steve@blighty.com>
Re: faster search Cosimo Streppone <cosimo@streppone.it>
Re: faster search John A Meinel <john@arbash-meinel.com>
Re: faster search Clark Slater <list@slatech.com>
Re: faster search "Joshua D. Drake" <jd@commandprompt.com>
Re: faster search Clark Slater <list@slatech.com>
Re: faster search "Joshua D. Drake" <jd@commandprompt.com>
Re: faster search "Joshua D. Drake" <jd@commandprompt.com>
Re: faster search Clark Slater <list@slatech.com>
Re: faster search "Joshua D. Drake" <jd@commandprompt.com>
Re: faster search John A Meinel <john@arbash-meinel.com>
Re: faster search Tom Lane <tgl@sss.pgh.pa.us>
On Fri, Jun 10, 2005 at 01:45:05PM -0400, Clark Slater wrote: > Hi- > > Would someone please enlighten me as > to why I'm not seeing a faster execution > time on the simple scenario below? Because you need to extract a huge number of rows via a seqscan, sort them and then throw them away, I think. > explain analyze select * from test where productlistid=3 and typeid=9 > order by partnumber limit 15; Create an index on (productlistid, typeid, partnumber) then select * from test where productlistid=3 and typeid=9 order by productlistid, typeid, partnumber LIMIT 15; ? Cheers, Steve
В списке pgsql-performance по дате отправления