Re: Is Linux 2.6.5 kernel good enough for production?

From: Richard Huxton <dev(at)archonet(dot)com>
To: Dirk Försterling <r(at)zorbla(dot)de>
Cc: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Is Linux 2.6.5 kernel good enough for production?
Date: 2004-05-17 17:08:48
Message-ID: 40A8F1A0.1030001@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dirk Försterling wrote:
> There were some dumb queries with timestamps, performing much slower
> with Linux-2.6.5 compared to Linux-2.4.25:
>
> The queries used something like this (ts is a TIMESTAMP):
> ... AND ts LIKE '2003-04-%'

I'm guessing an index isn't being used because your LANG is
something-UTF-8 and that got picked up when you recreated your database.
Try recreating the database with the C locale and see if that does it.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2004-05-17 17:13:36 Re: dbmirror
Previous Message Richard Huxton 2004-05-17 17:04:54 Re: filesystem option tuning