[GENERAL] explain analyze output: 0 rows, 1M loopa - Mailing list pgsql-general

From Scott Marlowe
Subject [GENERAL] explain analyze output: 0 rows, 1M loopa
Date
Msg-id CAOR=d=30NGEG=j6k4khHm59OG-Rg346AXmNN5yb6d4w1sT0bnw@mail.gmail.com
Whole thread Raw
Responses Re: [GENERAL] explain analyze output: 0 rows, 1M loopa
List pgsql-general
So some of my output from an explain analyze here has a line that says this:

ex Scan using warranty_order_item_warranty_order_id_idx on
warranty_order_item woi_1 (cost=0.57..277.53 rows=6 width=137) (actual
time=0.110..0.111 rows=0 loops=1,010,844)

How can you have 1M loops over 0 rows?

Running on PostgreSQL 9.5.6.

-- 
To understand recursion, one must first understand recursion.


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [GENERAL] Monitoring of a hot standby with a largely idle master
Next
From: "David G. Johnston"
Date:
Subject: Re: [GENERAL] explain analyze output: 0 rows, 1M loopa