Re: Seq Scan cost shown to be (cost=10000000000.00..10000000001.10) - Mailing list pgsql-general

From Victor Yegorov
Subject Re: Seq Scan cost shown to be (cost=10000000000.00..10000000001.10)
Date
Msg-id CAGnEboiSB6bsdVUfPOJjf0+Rczgrd+H-i5V-Q5aiGC4ayi8CDg@mail.gmail.com
Whole thread Raw
In response to Seq Scan cost shown to be (cost=10000000000.00..10000000001.10)  (Amit Langote <amitlangote09@gmail.com>)
Responses Re: Seq Scan cost shown to be (cost=10000000000.00..10000000001.10)
List pgsql-general

2013/5/27 Amit Langote <amitlangote09@gmail.com>
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?

When one uses “enable_” settings to adjust planner behavior, PostgreSQL
just sets really high costs for the operations affected (like the one you see).

As SeqScan is the only possible way to execute your query, it is still choosen.

Somewhat related thread: http://www.postgresql.org/message-id/4D5B06AC.2020700@lelarge.info


--
Victor Y. Yegorov

pgsql-general by date:

Previous
From: Sergey Konoplev
Date:
Subject: Re: Seq Scan cost shown to be (cost=10000000000.00..10000000001.10)
Next
From: Amit Langote
Date:
Subject: Re: Seq Scan cost shown to be (cost=10000000000.00..10000000001.10)