From: Alex Deucher <alexdeucher@gmail.com>
To: Florian Weimer <fweimer@bfk.de>
Cc: pgsql-performance@postgresql.org
Subject: Re: strange performance regression between 7.4 and 8.1
Date: Fri, 2 Mar 2007 10:16:37 -0500
Message-ID: <a728f9f90703020716g45b2d281u9894973abad3e68a@mail.gmail.com> (raw)
In-Reply-To: <82slco6n9t.fsf@mid.bfk.de>
References: <a728f9f90703011244r577d56d7y422ab4bd71bb760e@mail.gmail.com>
<82slco6n9t.fsf@mid.bfk.de>
On 3/2/07, Florian Weimer <fweimer@bfk.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
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: alexdeucher@gmail.com, fweimer@bfk.de
Subject: Re: strange performance regression between 7.4 and 8.1
In-Reply-To: <a728f9f90703020716g45b2d281u9894973abad3e68a@mail.gmail.com>
References: <a728f9f90703011244r577d56d7y422ab4bd71bb760e@mail.gmail.com> <82slco6n9t.fsf@mid.bfk.de> <a728f9f90703020716g45b2d281u9894973abad3e68a@mail.gmail.com>
* 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