From: david@lang.hm
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Neil Whelchel <neil.whelchel@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Slow count(*) again...
Date: Wed, 13 Oct 2010 12:37:45 -0700 (PDT)
Message-ID: <alpine.DEB.2.00.1010131237010.30818@asgard.lang.hm> (raw)
In-Reply-To: <24768.1286977752@sss.pgh.pa.us>
References: <201010091626.18636.neil.whelchel@gmail.com>
<4CB2410C.6010603@postnewspapers.com.au>
<201010102115.58729.neil.whelchel@gmail.com>
<201010122347.20542.neil.whelchel@gmail.com>
<24768.1286977752@sss.pgh.pa.us>
On Wed, 13 Oct 2010, Tom Lane wrote:
> Neil Whelchel <neil.whelchel@gmail.com> writes:
>
> That's probably got little to do with caching and everything to do with
> setting hint bits on the first SELECT pass.
>
> I concur with Mark's question about whether your UPDATE pushed the table
> size across the limit of what would fit in RAM.
Neil, can you just double the size of your initial test to make sure that
it's too large to fit in ram to start with?
David Lang
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-performance@postgresql.org
Cc: david@lang.hm, tgl@sss.pgh.pa.us, neil.whelchel@gmail.com
Subject: Re: Slow count(*) again...
In-Reply-To: <alpine.DEB.2.00.1010131237010.30818@asgard.lang.hm>
References: <201010091626.18636.neil.whelchel@gmail.com> <4CB2410C.6010603@postnewspapers.com.au> <201010102115.58729.neil.whelchel@gmail.com> <201010122347.20542.neil.whelchel@gmail.com> <24768.1286977752@sss.pgh.pa.us> <alpine.DEB.2.00.1010131237010.30818@asgard.lang.hm>
* 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