Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




2013/5/27 Amit Langote <amitlangote09@xxxxxxxxx>
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@xxxxxxxxxxxx


--
Victor Y. Yegorov

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux