Re: Select not using primary key index

From: Doug McNaught <doug(at)wireboard(dot)com>
To: Sergio Freue <sfreue(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Select not using primary key index
Date: 2002-03-14 15:51:34
Message-ID: m3it7zqha1.fsf@varsoon.denali.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sergio Freue <sfreue(at)yahoo(dot)com> writes:

> I'm trying to run a simple query on a big (1,500,000 rows) table and
> I'm getting bad performance.

What version are you using? 7.2 keeps much better statistics for query
planning than 7.1.

-Doug
--
Doug McNaught Wireboard Industries http://www.wireboard.com/

Custom software development, systems and network consulting.
Java PostgreSQL Enhydra Python Zope Perl Apache Linux BSD...

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Doug McNaught 2002-03-14 15:54:06 Re: order by a XML column
Previous Message Stephan Szabo 2002-03-14 15:49:35 Re: Question about function