Re: Meaning of "loops" in EXPLAIN ANALYSE output
Вложения
В списке pgsql-general по дате отправления:
| От | Martijn van Oosterhout |
|---|---|
| Тема | Re: Meaning of "loops" in EXPLAIN ANALYSE output |
| Дата | |
| Msg-id | 20060410151753.GD22409@svana.org обсуждение |
| Ответ на | Re: Meaning of "loops" in EXPLAIN ANALYSE output (Richard Huxton <dev@archonet.com>) |
| Список | pgsql-general |
On Mon, Apr 10, 2006 at 04:08:01PM +0100, Richard Huxton wrote: > Aaron Bingham wrote: > >Unique (cost=9775.21..10015.32 rows=1 width=8) (actual > >time=264.889..264.889 rows=1 loops=791) > > > >Does that mean that the entire operation took 264.889 ms, or that a > >single iteration took that long? The time for the entire query would > >suggest the latter interpretation > > You're quite right - multiply the time by the number of loop iterations > to find the total. Or rather, the time given is the total time divided by the number of loops i.e. the average. It's done this way because the planning estimate is also done on those terms (average per iteration not grand total). Have a nice day, -- Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/ > Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a > tool for doing 5% of the work and then sitting around waiting for someone > else to do the other 95% so you can sue them.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера