X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 45A20D1C4BF for ; Thu, 31 Jul 2003 21:10:26 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 80396-09 for ; Thu, 31 Jul 2003 18:09:19 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 5610AD1C4BD for ; Thu, 31 Jul 2003 18:10:24 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h6VLANQ3019175; Thu, 31 Jul 2003 17:10:23 -0400 (EDT) To: "Medora Schauer" Cc: "postgresql" Subject: Re: Odd performance results In-reply-to: <906E2C446A276048A1BE283F17BCB12CB13185@encounter.fairind.fairfield.com> References: <906E2C446A276048A1BE283F17BCB12CB13185@encounter.fairind.fairfield.com> Comments: In-reply-to "Medora Schauer" message dated "Thu, 31 Jul 2003 15:29:14 -0500" Date: Thu, 31 Jul 2003 17:10:22 -0400 Message-ID: <19174.1059685822@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/516 X-Sequence-Number: 2809 "Medora Schauer" 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