pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tobias Brox <tobias@nordicbet.com>
To: Arnaud Lesauvage <thewild@freesurf.fr>
Cc: Tobias Brox <tobias@nordicbet.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Poor performance on very simple query ?
Date: Tue, 3 Oct 2006 14:17:09 +0200
Message-ID: <20061003121709.GF30211@oppetid.no> (raw)
In-Reply-To: <45225407.7090805@freesurf.fr>
References: <45224896.7040708@freesurf.fr>
	<20061003121004.GC30211@oppetid.no>
	<20061003121109.GD30211@oppetid.no>
	<45225407.7090805@freesurf.fr>

[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)? 



view thread (14+ messages)  latest in thread

Message-ID: <20061003121709.GF30211@oppetid.no>
Permalink:  ../20061003121709.GF30211@oppetid.no/
Also on:    postgresql.org/message-id/20061003121709.GF30211@oppetid.no

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tobias@nordicbet.com, thewild@freesurf.fr
  Subject: Re: Poor performance on very simple query ?
  In-Reply-To: <20061003121709.GF30211@oppetid.no>

* 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