Re: big select is resulting in a large amount of disk writing by kjournald

From: Joseph S <jks(at)selectacast(dot)net>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: big select is resulting in a large amount of disk writing by kjournald
Date: 2009-12-09 20:50:57
Message-ID: hfp2jf$1kdm$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Greg Smith wrote:
> Joseph S wrote:
>> So I run "select count(*) from large_table" and I see in xosview a
>> solid block of write activity. Runtime is 28125.644 ms for the first
>> run. The second run does not show a block of write activity and takes
>> 3327.441 ms
> http://wiki.postgresql.org/wiki/Hint_Bits
>

Hmm. A large select results in a lot of writes? This seems broken. And
if we are setting these hint bits then what do we need VACUUM for? Is
there any way to tune this behavior? Is there any way to get stats on
how many rows/pages would need hint bits set?

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Greg Smith 2009-12-09 22:04:47 Re: big select is resulting in a large amount of disk writing by kjournald
Previous Message Greg Smith 2009-12-09 19:53:56 Re: big select is resulting in a large amount of disk writing by kjournald