Re: An Analyze question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: nickf(at)ontko(dot)com
Cc: "pgsql-admin" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: An Analyze question
Date: 2002-04-22 15:34:27
Message-ID: 15454.1019489667@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Nick Fankhauser" <nickf(at)ontko(dot)com> 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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Nick Fankhauser 2002-04-22 16:05:20 Re: An Analyze question
Previous Message Nick Fankhauser 2002-04-22 15:16:42 An Analyze question