Re: Problem with planner choosing nested loop
От | Alban Hertroys |
---|---|
Тема | Re: Problem with planner choosing nested loop |
Дата | |
Msg-id | 74D87096-645C-499B-A8FD-28B15F959141@solfertje.student.utwente.nl обсуждение исходный текст |
Ответ на | Re: Problem with planner choosing nested loop (Alex Solovey <a.solovey@gmail.com>) |
Ответы |
Re: Problem with planner choosing nested loop
|
Список | pgsql-general |
On Apr 2, 2008, at 9:02 PM, Alex Solovey wrote: > The reduced database example has the same problem in EXPLAIN > ANALYZE as production one, here: > > Seq Scan on bar (cost=0.00..393.07 rows=1 width=4) (actual > time=0.098..3.561 rows=24 loops=1) Hang on... You prefer sequential scans because indexes make your database too slow, but you don't want a sequential scan now? What kind of solution do you expect then? An oracle maybe? You will need an index if this query is too slow for you, or you will have to live with the slowness of this query. Pick one ;) Regards, Alban Hertroys -- If you can't see the forest for the trees, cut the trees and you'll see there is no forest. !DSPAM:737,47f47a7a927661963919006!
В списке pgsql-general по дате отправления: