From: Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
To: Postgresql Performance <pgsql-performance@postgresql.org>
Subject: Re: can multiple vacuums gain speed?
Date: Fri, 04 Jul 2003 18:55:21 +0530
Message-ID: <3F05CD99.2125.1AAF2D@localhost> (raw)
In-Reply-To: <3F02E98E.8070001@kling.nu>
On 2 Jul 2003 at 16:17, Mats Kling wrote:
>
> Hi all!
>
> I have a big trouble with a database and hope you can help out on how to
> improve the time vacuum takes.
>
> The database grovs to ~60Gb and after a 'vacuum full' it's ~31Gb, after
> about a week the database it up to 55-60Gb again and i have to do a
> 'vacuum alalyze full' to gain disk (the disk is 70Gb so I'm living on
> the edge here ;(
> I have a maintenancewindow once a week but vacuuming this database takes
> around 10-14 hours and I really wanna cut that time down.
> Since the disk is >85% full i tried to vacuum table by table instead of
> doing the whole database and my feeling was that i think I gained a
> speedup if I vacuumed the tables that takes most disk first (so the rest
> of the tables have more disk to work on)..
> can this be true or was it just a feeling?
I know this is a very late reply but it might be of some help.
1. What is nature of your updates/deletes? Do you have many deletes or few
updates or other way round.
2. Have you tried using pgavd?
If your load involves lot's of updates, pgavd can definitely help you.
HTH
Bye
Shridhar
--
Bumper sticker: All the parts falling off this car are of the very finest
British manufacture.
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: shridhar_daithankar@persistent.co.in
Subject: Re: can multiple vacuums gain speed?
In-Reply-To: <3F05CD99.2125.1AAF2D@localhost>
References: <3F02E98E.8070001@kling.nu> <3F05CD99.2125.1AAF2D@localhost>
* 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