Re: timestamp indexing - Mailing list pgsql-performance

From Jim C. Nasby
Subject Re: timestamp indexing
Date
Msg-id 20050609180453.GQ44623@decibel.org
Whole thread Raw
In response to Re: timestamp indexing  (Tobias Brox <tobias@nordicbet.com>)
Responses Re: timestamp indexing
List pgsql-performance
What does

SET enable_seqscan = false;
EXPLAIN ANALYZE SELECT * FROM ...

get you? Is it faster?

BTW, I suspect this behavior is because the estimates for the cost of an
index scan don't give an appropriate weight to the correlation of the
index. The 'sort and index' thread on this list from a few months ago
has more info.
--
Jim C. Nasby, Database Consultant               decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

pgsql-performance by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: Help specifying new web server/database machine
Next
From: Tobias Brox
Date:
Subject: Re: timestamp indexing