X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 16215D1B56C for ; Wed, 24 Sep 2003 06:04:31 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 11938-05 for ; Wed, 24 Sep 2003 03:03:59 -0300 (ADT) Received: from smtp.pspl.co.in (unknown [202.54.11.65]) by svr1.postgresql.org (Postfix) with ESMTP id 94947D1B522 for ; Wed, 24 Sep 2003 03:03:57 -0300 (ADT) Received: (from root@localhost) by smtp.pspl.co.in (8.12.9/8.12.9) id h8O64fbD006110 for ; Wed, 24 Sep 2003 11:34:41 +0530 Received: from persistent.co.in (daithan.intranet.pspl.co.in [192.168.7.161]) (authenticated bits=0) by persistent.co.in (8.12.9/8.12.9) with ESMTP id h8O64cfl006030; Wed, 24 Sep 2003 11:34:39 +0530 Message-ID: <3F71344A.4090605@persistent.co.in> Date: Wed, 24 Sep 2003 11:36:02 +0530 From: Shridhar Daithankar Organization: Persistent Systems Pvt. Ltd. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030917 Thunderbird/0.3a X-Accept-Language: en-us, en MIME-Version: 1.0 To: bbladow@sendit.nodak.edu Cc: pgsql-performance@postgresql.org Subject: Re: LIKE query running slow References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/296 X-Sequence-Number: 3662 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? What all tuning you have done? Have you set effective cache size to take care of additional RAM. Just check out. Shridhar