Re: LIKE query running slow

From: Jeff <threshar(at)torgo(dot)978(dot)org>
To: Garrett Bladow <bbladow(at)sendit(dot)nodak(dot)edu>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: LIKE query running slow
Date: 2003-09-24 12:12:17
Message-ID: Pine.BSF.4.44.0309240811530.80064-100000@torgo.978.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, 23 Sep 2003, Garrett Bladow wrote:

> Recently we upgraded the RAM in our server. After the install a LIKE query that used to take 5 seconds now takes 5 minutes. We have tried the usual suspects, VACUUM, ANALYZE and Re-indexing.
>
> Any thoughts on what might have happened?
>
Did you reload the db? If you did perhaps you didn't use the "C" locale?
That can cause a huge slowdown.

--
Jeff Trout <jeff(at)jefftrout(dot)com>
http://www.jefftrout.com/
http://www.stuarthamm.net/

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2003-09-24 14:01:09 Re: [HACKERS] osdl-dbt3 run results - puzzled by the execution
Previous Message Rigmor Ukuhe 2003-09-24 10:09:37 Index problem