Re: Explain returns extremely high cost - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Explain returns extremely high cost
Date
Msg-id 20060815102232.GA30802@svana.org
Whole thread Raw
In response to Explain returns extremely high cost  ("Andrii Vasyliev" <andrii.vasyliev@gmail.com>)
List pgsql-general
On Tue, Aug 15, 2006 at 10:14:49AM +0300, Andrii Vasyliev wrote:
> Hi!
>
> I have a database just recreated from scratch with SQL script.
> (My PostgreSQL version is 8.1.3).
> All of the tables are pretty empty, but that's what I've got with explain:
>
> EXPLAIN SELECT * FROM account;
>                               QUERY PLAN
> ------------------------------------------------------------------------
> Seq Scan on account  (cost=100000000.00..100000001.05 rows=5 width=41)

Looks like someone did an "enable_seqscan=no" somewhere, do a "show
all" and check the planner variables...

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment

pgsql-general by date:

Previous
From: Kari Lavikka
Date:
Subject: Excluding a table from pg_dump
Next
From: MaXX
Date:
Subject: Partial indexes Vs standard indexes : Insert performance