Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id CB887475934 for ; Mon, 22 Apr 2002 11:34:28 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g3MFYRF15457; Mon, 22 Apr 2002 11:34:27 -0400 (EDT) To: nickf@ontko.com Cc: "pgsql-admin" Subject: Re: An Analyze question In-reply-to: References: Comments: In-reply-to "Nick Fankhauser" message dated "Mon, 22 Apr 2002 10:16:42 -0500" Date: Mon, 22 Apr 2002 11:34:27 -0400 Message-ID: <15454.1019489667@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200204/198 X-Sequence-Number: 4086 "Nick Fankhauser" writes: > So on every primary & foreign key, I have executed this update: > update table set key = '18105'||key; > Now, a few queries that used to be swift are very slow, Could we see the queries? (No, I do not remember your view definitions.) Offhand I would think that 7.2 is smart enough to deal with this situation; at least it is supposed to. There might be some cases involving LIKE/regex matching where it would be overly impressed by the length of the fixed pattern, but for simple equality joins I don't see why this change would make any difference. regards, tom lane