pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: Problem with index
2+ messages / 2 participants
[nested] [flat]

* Re: Problem with index
@ 2001-01-25 20:39  Stephan Szabo <sszabo@megazone23.bigpanda.com>
  parent: eriko <eriko@radix.com.br>
  0 siblings, 0 replies; 2+ messages in thread

From: Stephan Szabo @ 2001-01-25 20:39 UTC (permalink / raw)
  To: eriko <eriko@radix.com.br>; +Cc: pgsql-admin


Have you run a vacuum analyze on the table in question?  
How many rows does the optimizer think the query is going to
get (from the explain output)?

On Thu, 25 Jan 2001, eriko wrote:

> Hello all, I have a problem.
> 
> When a try to use EXPLAIN <select * from table where pk=value>
> 
> The optimize don't user the index of primary key.




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Problem with index
@ 2001-01-25 23:59  eriko <eriko@radix.com.br>
  0 siblings, 1 reply; 2+ messages in thread

From: eriko @ 2001-01-25 23:59 UTC (permalink / raw)
  To: pgsql-admin

Hello all, I have a problem.

When a try to use EXPLAIN <select * from table where pk=value>

The optimize don't user the index of primary key.

Why ?

Thanks

Eriko






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-01-25 23:59 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-01-25 23:59 Problem with index eriko <eriko@radix.com.br>
2001-01-25 20:39 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>

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