Re: PostgreSQL index usage discussion. - Mailing list pgsql-hackers

From Luis Alberto Amigo Navarro
Subject Re: PostgreSQL index usage discussion.
Date
Msg-id 007701c1ec26$5c64b220$cab990c1@atc.unican.es
Whole thread Raw
In response to PostgreSQL index usage discussion.  (mlw <markw@mohawksoft.com>)
List pgsql-hackers
> I was told that DB2 has per-table (or rather per-tablespace) knowledge
> of disk speeds, so keeping separate random and seqsqan costs for each
> table and index could be a good way here (to force use of a particular
> index make its use cheap)
>

I was wondering something even easier, keeping 1 cost per index, 1 cost per
seqscan, but being allowed to scale cost for each index on each
query(recommended, null or unrecommended)
Regards



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: PostgreSQL index usage discussion.
Next
From: Curt Sampson
Date:
Subject: Re: Sequential Scan Read-Ahead