Re: Poor performance on very simple query ?

From: Tobias Brox <tobias(at)nordicbet(dot)com>
To: Arnaud Lesauvage <thewild(at)freesurf(dot)fr>
Cc: Tobias Brox <tobias(at)nordicbet(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Poor performance on very simple query ?
Date: 2006-10-03 12:17:09
Message-ID: 20061003121709.GF30211@oppetid.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

[Arnaud Lesauvage - Tue at 02:13:59PM +0200]
> Tobias Brox wrote:
> >Oh, the gid is not primary key. I guess I should also apologize for
> >adding noise here :-)
>
> Yes, it is a primary key, but I am the noise maker here ! ;-)

Oh - it is. How can you have a default value on a primary key? Will it
use the index if you do "analyze"? Is there an index on the table at
all, do you get it up if you ask for a description of the table (\d
tablename)?

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Arnaud Lesauvage 2006-10-03 12:25:28 Re: Poor performance on very simple query ?
Previous Message Arnaud Lesauvage 2006-10-03 12:13:59 Re: Poor performance on very simple query ?