Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UOrQm-0005eY-Gf for pgsql-bugs@arkaria.postgresql.org; Sun, 07 Apr 2013 15:22:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UOrQm-0007Ht-1B for pgsql-bugs@arkaria.postgresql.org; Sun, 07 Apr 2013 15:22:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UOrQl-0007Ho-D6 for pgsql-bugs@postgresql.org; Sun, 07 Apr 2013 15:22:55 +0000 Received: from nm17-vm0.bullet.mail.bf1.yahoo.com ([98.139.213.157]) by magus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UOrQd-0001Wg-Ci for pgsql-bugs@postgresql.org; Sun, 07 Apr 2013 15:22:54 +0000 Received: from [98.139.215.141] by nm17.bullet.mail.bf1.yahoo.com with NNFMP; 07 Apr 2013 15:22:46 -0000 Received: from [98.139.212.249] by tm12.bullet.mail.bf1.yahoo.com with NNFMP; 07 Apr 2013 15:22:46 -0000 Received: from [127.0.0.1] by omp1058.mail.bf1.yahoo.com with NNFMP; 07 Apr 2013 15:22:46 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 304212.26772.bm@omp1058.mail.bf1.yahoo.com Received: (qmail 27421 invoked by uid 60001); 7 Apr 2013 15:22:46 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1365348166; bh=Nt1xO08rWIwOeu4cxr8n9Z3KmlAkw6vzRFlvzytrXYs=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=zgntY23YGH2v5qp3Rtu6BSj4j6tN26qm5pmBtWha/aAZS3u+pbyv1+m/lckVnD9yITQ6ObOOjncDhfoIiCAyqpURWQ3ZPm8F3kVWjQAnswq0O/pxBmWheVuCzH0pOHiXHVtmxkweje1729l1aQVHKSevg3+lt4xMxncxU3ZwOJU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=sz72ZZf6OYW0T8Y4B1hFQG0aLWm7ErkBo9HrX3Up2Js6HVXh92YANeL8ibzRHJFGuV4dkp0sdHwkohM1XR/JWZkdeZBHsNh3kwnxx+ItSWfAuZCG0hCoMhOQeHmvsBwtoXVK6LB8eeHVZbA92Ssd6KFFBXe5VclS44YvYPsMiOs=; X-YMail-OSG: NqrrK7AVM1lh0Wmkyuz77LBM9if8bBMU2MH8uuMKCEkXzMC 3cGRVd.RlpYiniNW9n37LkRdr7R6DmK0iwYDZBVWHWIgDut4KZBRUyNSC0Jh TCLcq5jv1Kl5ds9ga1ZTw6hINlfzd1bMDWYH18wjGORiK2RuScUVx_Y1g4jz t2q94nvGbO1w_ZDJbmsIkqgYsfktz9SzfPPKuU9EwgB4K.P.UWBaaeCY0MZR EiZQZcy3.wSvV6IxFbFJzPh3VM_f_09BTLi2tzKJ1KCnpNoh6XI7aeXWdbGj P2ASwxS3zJDnCaqMYFLXf1WHjiUNUI2tQ3wixSYmdd.eWAUm7.jjCFkV1Azz oq10qdff9P6nzDgb6iwR_LMMwY4PcQeqNHH5HOjC4DxuPgQoYYsYhnZUpNOK omfCZ7ygncodVQPt_gyUjkkE9p1WC6_rnKajOAyKxOnTJIRlP49340LjXYUA eAiZtmo.pgfUfI1bgse.c2qF4alqK4vjDtmDd.dRA8v33ChuuY2JmY3_.NRe SFNcGJ7L6tKpwj7iKX3im6Aa0uDbWA1.ragZ6kbkkF1YQQtqU_u_x9j40y4b b.pKdE.MHUIA3MbnYQQ6shnBnR4Dxucgegd2TVOITSVQzeLqm.tlFO5g- Received: from [76.255.18.237] by web162904.mail.bf1.yahoo.com via HTTP; Sun, 07 Apr 2013 08:22:46 PDT X-Rocket-MIMEInfo: 002.001, RVJSIE9SUiA8cmQwMDAyQGdtYWlsLmNvbT4gd3JvdGU6Cgo.IHRoZSBmYWN0IHRoYXQgaW4gOS4yLjQgaXQgaXMgc28gYmFkIHRoYXQgYSBzaW1wbGUgcXVlcnkgc29tZXRpbWVzCj4gZG9lcyBub3QgZmluaXNoIGFmdGVyIDEwKyBtaW51dGVzIHdpdGggaW5jZXNzYW50IGRpc2sgYWN0aXZpdHkKPiB0ZW5kcyB0byBsb29rIGxpa2UgYSBwcm9ibGVtIHRvIG1lLgoKVHJ5IHJ1bm5pbmcgYSBWQUNVVU0gRlJFRVpFIEFOQUxZWkU7IGNvbW1hbmQgb24gdGhlIGRhdGFiYXNlLCB1bmRlcgphIGRhdGFiYXNlIHN1cGUBMAEBAQE- X-Mailer: YahooMailWebService/0.8.140.532 References: <1365297561976-5751095.post@n5.nabble.com> <1365342728.67050.YahooMailNeo@web162902.mail.bf1.yahoo.com> Message-ID: <1365348166.26064.YahooMailNeo@web162904.mail.bf1.yahoo.com> Date: Sun, 7 Apr 2013 08:22:46 -0700 (PDT) From: Kevin Grittner Reply-To: Kevin Grittner Subject: Re: Re: 9.2.4: Strange behavior when wildcard is on left side of search string To: ERR ORR Cc: David Johnston , "pgsql-bugs@postgresql.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org ERR ORR wrote: > the fact that in 9.2.4 it is so bad that a simple query sometimes > does not finish after 10+ minutes with incessant disk activity > tends to look like a problem to me. Try running a VACUUM FREEZE ANALYZE; command on the database, under a database superuser ID.=A0 If you upgraded with pg_dump (or some other logical population of the data, versus a pg_upgrade run) you are probably getting bitten by the initial setting of hint bits. http://wiki.postgresql.org/wiki/Hint_Bits See if it is still slow after that.... -- Kevin Grittner EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs