From: Eugene M. Zheganin <emz@norma.perm.ru>
To: Thierry Missimilly <THIERRY.MISSIMILLY@BULL.NET>
Cc: pgsql-admin@postgresql.org
Subject: Re: Full vacuuming of BIG tables takes too long
Date: Thu, 22 May 2003 18:37:01 +0600
Message-ID: <94981743421.20030522183701@norma.perm.ru> (raw)
In-Reply-To: <3ECCB856.C3DB2926@BULL.NET>
References: <54953117843.20030522103956@norma.perm.ru>
<3ECCB856.C3DB2926@BULL.NET>
Hello Thierry,
Thursday, May 22, 2003, 5:45:26 PM, you wrote:
TM> Hi,
TM> I don't have a solution but :
TM> 1) Is your system spending time in Wait I/O, while vacuum analyze is running
TM> ?
Almost no. During fist 30 mins summary I/O (iostat 1) is 20/25
megs/sec, then only 3-5 megs/sec. the "i/o wait" counters in cpu
activity are not too high.
TM> Perhaps, you can save time by incrising I/O throughput.
I.e. to use SCSI-HDD ? 8)) May be. But I stall hope tha the problem
can be solved by increasing memory/tuning initialization parameters...
TM> 2) In the alternative dump/recreate/restore, do you recreate the Foreign Key
TM> ? This step takes long time (depending of your Database schema). I have try
TM> this scenario :
TM> Dump data / Drop Foreign Key / Truuncate Tables / restore / Recreate the
TM> Foreign Key
TM> The step Recreate FK takes 2 times the four first steps.
I don't use foreign keys. Only primary keys. There is only 3 tables in
that db. 99% of space is taken by one table.
--
Best regards,
Eugene mailto:emz@norma.perm.ru
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-admin@postgresql.org
Cc: emz@norma.perm.ru, THIERRY.MISSIMILLY@BULL.NET
Subject: Re: Full vacuuming of BIG tables takes too long
In-Reply-To: <94981743421.20030522183701@norma.perm.ru>
References: <54953117843.20030522103956@norma.perm.ru> <3ECCB856.C3DB2926@BULL.NET> <94981743421.20030522183701@norma.perm.ru>
* 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