From: | "Alex Deucher" <alexdeucher(at)gmail(dot)com> |
---|---|
To: | "Florian Weimer" <fweimer(at)bfk(dot)de> |
Cc: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: strange performance regression between 7.4 and 8.1 |
Date: | 2007-03-02 15:16:37 |
Message-ID: | a728f9f90703020716g45b2d281u9894973abad3e68a@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On 3/2/07, Florian Weimer <fweimer(at)bfk(dot)de> wrote:
> * Alex Deucher:
>
> > I have noticed a strange performance regression and I'm at a loss as
> > to what's happening. We have a fairly large database (~16 GB).
>
> Sorry for asking, but is this a typo? Do you mean 16 *TB* instead of
> 16 *GB*?
>
> If it's really 16 GB, you should check if it's cheaper to buy more RAM
> than to fiddle with the existing infrastructure.
>
Yes, 16 GB. I'd rather not shell out for more ram, if I'm not even
sure that will help. The new system should be faster, or at least as
fast, so I'd like to sort out what's going on before I buy more ram.
> > however the table structure is almost identical (UTF8 on the new one
> > vs. C on the old).
>
> Locale settings make a huge difference for sorting and LIKE queries.
> We usually use the C locale and SQL_ASCII encoding, mostly for
> performance reasons. (Proper UTF-8 can be enforced through
> constraints if necessary.)
>
I suppose that might be a factor. How much of a performance
difference do you see between utf-8 and C?
Alex
From | Date | Subject | |
---|---|---|---|
Next Message | Ron | 2007-03-02 15:21:17 | Re: strange performance regression between 7.4 and 8.1 |
Previous Message | Alvaro Herrera | 2007-03-02 15:01:29 | Re: [kris@obsecurity.org: Progress on scaling of FreeBSD on 8 CPU systems] |