| От | Alexander Staubo |
|---|---|
| Тема | Re: Yet another slow nested loop |
| Дата | |
| Msg-id | 88daf38c0906160816w78a34c0dwd7741e7d8236242e@mail.gmail.com обсуждение |
| Ответ на | Re: Yet another slow nested loop (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Yet another slow nested loop
|
| Список | pgsql-performance |
On Tue, Jun 16, 2009 at 4:36 PM, Tom Lane<tgl@sss.pgh.pa.us> wrote: > Actually the easiest way to fix that is to get rid of the LIMIT. > (Maybe use a cursor instead, and fetch only twenty rows.) LIMIT > magnifies the risks from any estimation error, and you've got a lot > of that here ... There's no cursor support in ActiveRecord, the ORM library we use, and I'm not going to write it. Anyway, I would prefer not to gloss over the underlying problem with something that requires a "TODO" next to it. What can be done to fix the underlying problem? Nothing? A.
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера