pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Medora Schauer <mschauer@fairfield.com>
Cc: postgresql <pgsql-performance@postgresql.org>
Subject: Re: Odd performance results
Date: Thu, 31 Jul 2003 17:10:22 -0400
Message-ID: <19174.1059685822@sss.pgh.pa.us> (raw)
In-Reply-To: <906E2C446A276048A1BE283F17BCB12CB13185@encounter.fairind.fairfield.com>
References: <906E2C446A276048A1BE283F17BCB12CB13185@encounter.fairind.fairfield.com>

"Medora Schauer" <mschauer@fairfield.com> writes:
> I have a table with a 3 column key.  I noticed that when I update a non-key field
> in a record of the table that the update was taking longer than I thought it 
> should.  After much experimenting I discovered that if I changed the data
> types of two of the key columns to FLOAT8 that I got vastly improved
> performance.

Are there any foreign key linkages to or from this table?  Maybe the
other end of the foreign key is float8?

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <19174.1059685822@sss.pgh.pa.us>
Permalink:  ../19174.1059685822@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19174.1059685822@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mschauer@fairfield.com
  Subject: Re: Odd performance results
  In-Reply-To: <19174.1059685822@sss.pgh.pa.us>
  References: <906E2C446A276048A1BE283F17BCB12CB13185@encounter.fairind.fairfield.com> <19174.1059685822@sss.pgh.pa.us>

* 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