Re: index usage on timestamp without time zone

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Gerhard Hintermayer" <gerhard(dot)hintermayer(at)gmail(dot)com>, "pgsql-admin" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: index usage on timestamp without time zone
Date: 2011-04-28 15:07:19
Message-ID: 4DB93C57020000250003CFEB@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Gerhard Hintermayer <gerhard(dot)hintermayer(at)gmail(dot)com> wrote:

> Is there a way to make postgres use the index on the timestamp
> column ? The timing is from a test table, production tables have a
> lot more rows.

It's a mistake to assume that the plan you get on a small table will
resemble the plan you will get on a big table. If you want to know
what the plan will be on the big table, at least run an EXPLAIN of
the query on that big table.

-Kevin

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message c k 2011-04-28 16:27:23 Re: plpython module import errors
Previous Message Gerhard Hintermayer 2011-04-28 14:38:47 index usage on timestamp without time zone