Re: Meaning of "loops" in EXPLAIN ANALYSE output

From: Richard Huxton <dev(at)archonet(dot)com>
To: Aaron Bingham <bingham(at)cenix-bioscience(dot)com>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Meaning of "loops" in EXPLAIN ANALYSE output
Date: 2006-04-10 15:08:01
Message-ID: 443A74D1.9030806@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-04-10 15:17:53 Re: Meaning of "loops" in EXPLAIN ANALYSE output
Previous Message Aaron Bingham 2006-04-10 14:51:19 Meaning of "loops" in EXPLAIN ANALYSE output