Re: Re: 9.2.4: Strange behavior when wildcard is on left side of search string

From: Kevin Grittner <kgrittn(at)ymail(dot)com>
To: ERR ORR <rd0002(at)gmail(dot)com>
Cc: David Johnston <polobo(at)yahoo(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Re: 9.2.4: Strange behavior when wildcard is on left side of search string
Date: 2013-04-07 15:22:46
Message-ID: 1365348166.26064.YahooMailNeo@web162904.mail.bf1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

ERR ORR <rd0002(at)gmail(dot)com> 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.  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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Christopher Browne 2013-04-07 15:45:49 Re: 9.2.4: Strange behavior when wildcard is on left side of search string
Previous Message ERR ORR 2013-04-07 14:45:49 Re: Re: 9.2.4: Strange behavior when wildcard is on left side of search string