pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vladimir Dobrokhotov <dvs@rybvod.kamchatka.su>
To: pgsql-sql@postgreSQL.org
Subject: index on int2.
Date: Fri, 29 Jan 1999 17:40:37 +1200
Message-ID: <01be4b49$e63ce980$9065a8c0@dvs.rybvod.kamchatka.su> (raw)

Hello,

I create index on int2 field, and it never used:

create index xxx on ttt using btree(int2_field);
vacuum ttt; (2600 tuples)
explain select * from ttt where int2_field>1;
... Seq Scan on ttt ...

What I need to do to use index search?

Thanks.
Vladimir Dobrokhotov





view thread (3+ messages)  latest in thread

Message-ID: <01be4b49$e63ce980$9065a8c0@dvs.rybvod.kamchatka.su>
Permalink:  ../01be4b49$e63ce980$9065a8c0@dvs.rybvod.kamchatka.su/
Also on:    postgresql.org/message-id/01be4b49$e63ce980$9065a8c0@dvs.rybvod.kamchatka.su

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: dvs@rybvod.kamchatka.su
  Subject: Re: index on int2.
  In-Reply-To: <01be4b49$e63ce980$9065a8c0@dvs.rybvod.kamchatka.su>
  References: <01be4b49$e63ce980$9065a8c0@dvs.rybvod.kamchatka.su>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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