Re: Huge number of disk writes after migration to 8.1

From: Marcin <migor(at)op(dot)pl>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgreSQL(dot)org
Subject: Re: Huge number of disk writes after migration to 8.1
Date: 2006-01-18 08:39:10
Message-ID: 20060118083910.GA17134@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

On Tue, Jan 17, 2006 at 05:12:09PM -0500, Tom Lane wrote:
> However, that's always been the case, so I don't understand
> why your stats file is so much bigger in 8.1. Have you changed your
> vacuuming strategy at all since the 8.0 installation? Perhaps row or
> block statistics weren't enabled in the 8.0 installation and are now?

The only change was the upgrade to 8.1. I run VACUUM FULL everyday, and
double checked that it finished succesfully in last two days.
The block and row statistics are disabled:
stats_start_collector = on
stats_command_string = off
stats_block_level = off
stats_row_level = off
stats_reset_on_server_start = off

I have no idea, why the pgstat.stat is so large. I just shutdown the
idle backend connection, so there're only 30 left (instead of 200),
and the pgstat size decreases by 200KB from 8.8 to 8.6 MB. The lowest size
of pgstat in last six hours was 8.5 MB.

--
Marcin

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Steven Mooij 2006-01-18 12:44:46 Re: BUG #2168: 45.000.000 records too much?
Previous Message stephanie 2006-01-18 07:49:14 BUG #2179: psql can't show chinese

Browse pgsql-patches by date

  From Date Subject
Next Message ISHIDA Akio 2006-01-18 13:05:52 contrib/adddepend failed 8.1.2
Previous Message Neil Conway 2006-01-18 06:54:50 Re: patch to create system view that lists cursors