pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <kgrittn@ymail.com>
To: ERR ORR <rd0002@gmail.com>
Cc: David Johnston <polobo@yahoo.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: Re: 9.2.4: Strange behavior when wildcard is on left side of search string
Date: Sun, 7 Apr 2013 08:22:46 -0700 (PDT)
Message-ID: <1365348166.26064.YahooMailNeo@web162904.mail.bf1.yahoo.com> (raw)
In-Reply-To: <CALtFtELQuWSgGoAHthxkP12xcLzP+MdS=XnHT9VsTR5oNFsecw@mail.gmail.com>
References: <CALtFtELKoGnvCux3YzJK0RDyLuOafFV984Fi1KTjiC3utKcUBg@mail.gmail.com>
	<1365297561976-5751095.post@n5.nabble.com>
	<1365342728.67050.YahooMailNeo@web162902.mail.bf1.yahoo.com>
	<CALtFtELQuWSgGoAHthxkP12xcLzP+MdS=XnHT9VsTR5oNFsecw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

ERR ORR <rd0002@gmail.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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (7+ messages)  latest in thread

Message-ID: <1365348166.26064.YahooMailNeo@web162904.mail.bf1.yahoo.com>
Permalink:  ../1365348166.26064.YahooMailNeo@web162904.mail.bf1.yahoo.com/
Also on:    postgresql.org/message-id/1365348166.26064.YahooMailNeo@web162904.mail.bf1.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: kgrittn@ymail.com, rd0002@gmail.com, polobo@yahoo.com
  Subject: Re: 9.2.4: Strange behavior when wildcard is on left side of search string
  In-Reply-To: <1365348166.26064.YahooMailNeo@web162904.mail.bf1.yahoo.com>
  References: <CALtFtELKoGnvCux3YzJK0RDyLuOafFV984Fi1KTjiC3utKcUBg@mail.gmail.com> <1365297561976-5751095.post@n5.nabble.com> <1365342728.67050.YahooMailNeo@web162902.mail.bf1.yahoo.com> <CALtFtELQuWSgGoAHthxkP12xcLzP+MdS=XnHT9VsTR5oNFsecw@mail.gmail.com> <1365348166.26064.YahooMailNeo@web162904.mail.bf1.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox