From: Bealach-na Bo <bealach_na_bo@hotmail.com>
To: jnasby@pervasive.com
Cc: pgsql-performance@postgresql.org
Subject: Re: Why so slow?
Date: Fri, 28 Apr 2006 17:37:30 +0000
Message-ID: <BAY101-F3027DA179AC8CEE9FAAF77ADB20@phx.gbl> (raw)
In-Reply-To: <20060428145842.GI97354@pervasive.com>
>The above shows that the indexes contained 10M rows and 160M of dead
>space each. That means you weren't vacuuming nearly enough.
How is it that a row in the table can grow to a size far exceeding the sum
of the maximum sized of the fields it consists of?
>13M dead rows, and the table is 1.4M pages, or 11GB. No wonder it's
>slow.
I had a look at the disk files and they are HUGE indeed.
>
>You need to run a vacuum full, and then you need to vacuum far more
>often. If you're running 8.1, turn on autovacuum and cut each default
>scale factor in half, to 0.2 and 0.1.
I'm not runing 8.1. Is there a way of doing this in 8.0 or do I need to
write a shell script + cron job?
Regards,
Bealach
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: bealach_na_bo@hotmail.com, jnasby@pervasive.com
Subject: Re: Why so slow?
In-Reply-To: <BAY101-F3027DA179AC8CEE9FAAF77ADB20@phx.gbl>
* 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