Re: [GENERAL] explain analyze output: 0 rows, 1M loopa

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: [GENERAL] explain analyze output: 0 rows, 1M loopa
Дата
Msg-id CAKFQuwZ2HDDP+78CAytgZ0hsDa-7AjVuur_-FDVY8TWKLCLgCQ@mail.gmail.com
обсуждение исходный текст
Ответ на [GENERAL] explain analyze output: 0 rows, 1M loopa  (Scott Marlowe <scott.marlowe@gmail.com>)
Ответы Re: [GENERAL] explain analyze output: 0 rows, 1M loops  (Justin Pryzby <pryzby@telsasoft.com>)
Re: [GENERAL] explain analyze output: 0 rows, 1M loopa  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-general
On Wed, Nov 1, 2017 at 11:59 AM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
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)

​Not my strong suit but, I'm pretty sure that reads: "The index was queried 1M+ times and none of those inqueries resulted in a record being found".  IIUC I'd be wondering why some form of hash join wasn't used...

David J.​

В списке pgsql-general по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: [GENERAL] explain analyze output: 0 rows, 1M loopa
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: [GENERAL] explain analyze output: 0 rows, 1M loops