Seq Scan cost shown to be (cost=10000000000.00..10000000001.10)

Поиск
Список
Период
Сортировка
От Amit Langote
Тема Seq Scan cost shown to be (cost=10000000000.00..10000000001.10)
Дата
Msg-id CA+HiwqHjnZJ9eNs_-98aSSgixQ_YSJdqC9EQLMdcGWMOPp3J4w@mail.gmail.com
обсуждение исходный текст
Ответы Re: Seq Scan cost shown to be (cost=10000000000.00..10000000001.10)  (Sergey Konoplev <gray.ru@gmail.com>)
Re: Seq Scan cost shown to be (cost=10000000000.00..10000000001.10)  (Victor Yegorov <vyegorov@gmail.com>)
Список pgsql-general
Hello,

I set enable_seqscan=off and also accidentally dropped the only index
on a table (actually, drop extension pg_bigm cascade) and observe
following:

postgres=# explain select * from testdata where name like '%gi%';
                                 QUERY PLAN
-----------------------------------------------------------------------------
 Seq Scan on testdata  (cost=10000000000.00..10000000001.10 rows=2 width=71)
   Filter: (name ~~ '%gi%'::text)
(2 rows)

Although, I suspect the (dropped index + enable_seqscan) causes this,
is the cost shown in explain output some kind of default max or
something like that for such abnormal cases?



--
Amit Langote


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

Предыдущее
От: chiru r
Дата:
Сообщение: Re: error postgresql remote access windows 7
Следующее
От: Sergey Konoplev
Дата:
Сообщение: Re: Seq Scan cost shown to be (cost=10000000000.00..10000000001.10)