Re: Postgres 9.0 has a bias against indexes

From: "Igor Neyman" <ineyman(at)perceptron(dot)com>
To: "Mladen Gogala" <mladen(dot)gogala(at)vmsinfo(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "David Wilson" <david(dot)t(dot)wilson(at)gmail(dot)com>, "Kenneth Marshall" <ktm(at)rice(dot)edu>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Postgres 9.0 has a bias against indexes
Date: 2011-01-27 20:10:56
Message-ID: F4C27E77F7A33E4CA98C19A9DC6722A2070C2531@EXCHANGE.corp.perceptron.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> -----Original Message-----
> From: Mladen Gogala [mailto:mladen(dot)gogala(at)vmsinfo(dot)com]
> Sent: Thursday, January 27, 2011 12:00 PM
> To: Tom Lane
> Cc: David Wilson; Kenneth Marshall; pgsql-performance(at)postgresql(dot)org
> Subject: Re: Postgres 9.0 has a bias against indexes
>
> On 1/27/2011 11:40 AM, Tom Lane wrote:
> > It is worth noting that EXPLAIN results should not be extrapolated
> > to situations other than the one you are actually testing; for
> > example, results on a toy-sized table cannot be
> assumed to apply to
> > large tables.
> Well, that's precisely what I tried. Bummer, I will have to
> copy a large table over.
>
> --
> Mladen Gogala
> Sr. Oracle DBA
> 1500 Broadway
> New York, NY 10036
> (212) 329-5251
> www.vmsinfo.com
>
>

Mladen,

I don't think, this is exclusive Postgres feature.
I'm pretty sure, Oracle optimizer will do "TABLE ACCESS (FULL)" instead
of using index on 14-row table either.

Regards,
Igor Neyman

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Ing. Marcos Ortiz Valmaseda 2011-01-27 20:21:16 Re: High load,
Previous Message DM 2011-01-27 19:26:43 Re: pgbench - tps for Postgresql-9.0.2 is more than tps for Postgresql-8.4.1