pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: Jan Kesten <jan.kesten@web.de>
Cc: pgsql-performance@postgresql.org
Subject: Re: Improving performance on multicolumn query
Date: Wed, 9 Nov 2005 14:00:17 +0100
Message-ID: <20051109130017.GA9229@uio.no> (raw)
In-Reply-To: <4371E6A7.50808@web.de>
References: <4371E6A7.50808@web.de>

On Wed, Nov 09, 2005 at 01:08:07PM +0100, Jan Kesten wrote:
> First, I'm using postgresql 7.4.7 on a 2GHz machine having 1.5GByte RAM
> and I have a table with about 220 columns and 20000 rows - and the first
> five columns build a primary key (and a unique index).

I forgot this, but it should be mentioned: A primary key works as an
unique index, so you don't need both.

/* Steinar */
-- 
Homepage: http://www.sesse.net/



view thread (6+ messages)  latest in thread

Message-ID: <20051109130017.GA9229@uio.no>
Permalink:  ../20051109130017.GA9229@uio.no/
Also on:    postgresql.org/message-id/20051109130017.GA9229@uio.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: sgunderson@bigfoot.com, jan.kesten@web.de
  Subject: Re: Improving performance on multicolumn query
  In-Reply-To: <20051109130017.GA9229@uio.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