pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedWhy idex scan not used?
2+ messages / 2 participants
[nested] [flat]
* Why idex scan not used?
@ 2000-02-29 10:22 Andrei N.Sobchuck <andrei@mart.cherkassy.ua>
2000-02-29 15:54 ` Re: [ADMIN] Why idex scan not used? Peter Eisentraut <e99re41@DoCS.UU.SE>
0 siblings, 1 reply; 2+ messages in thread
From: Andrei N.Sobchuck @ 2000-02-29 10:22 UTC (permalink / raw)
To: pgsql-admin@hub.org
=> create table t(id int4 primary key);
=> explain select min(id) from t;
NOTICE: QUERY PLAN:
Aggregate (cost=43.00 rows=1000 width=4)
-> Seq Scan on t (cost=43.00 rows=1000 width=4)
EXPLAIN
Is it possible to make postgresql to use index scan when it calculate
MIN(id).
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [ADMIN] Why idex scan not used?
2000-02-29 10:22 Why idex scan not used? Andrei N.Sobchuck <andrei@mart.cherkassy.ua>
@ 2000-02-29 15:54 ` Peter Eisentraut <e99re41@DoCS.UU.SE>
0 siblings, 0 replies; 2+ messages in thread
From: Peter Eisentraut @ 2000-02-29 15:54 UTC (permalink / raw)
To: Andrei N.Sobchuck <andrei@mart.cherkassy.ua>; +Cc: pgsql-admin@hub.org
On Tue, 29 Feb 2000, Andrei N.Sobchuck wrote:
> Is it possible to make postgresql to use index scan when it calculate
> MIN(id).
Not currently, but it's on the todo list.
--
Peter Eisentraut Sernanders vaeg 10:115
peter_e@gmx.net 75262 Uppsala
http://yi.org/peter-e/ Sweden
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-02-29 15:54 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-02-29 10:22 Why idex scan not used? Andrei N.Sobchuck <andrei@mart.cherkassy.ua>
2000-02-29 15:54 ` Peter Eisentraut <e99re41@DoCS.UU.SE>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox