> getrusage() is used. xxx - sec in system mode, yyy - in user.
>
> BTW, upgrade to 6.5.X - vacuum is now (much) faster in some cases.
Ahhh, ok, makes sense :)
And we are looking into a way to upgrade from 6.4.2. Problem is that
it is a production system that is very busy 24x7, as we have customers
all over the globe, and it can't afford to be down for any appreciable
length of time :(
We currently can't even do the table updates on the live system because
of the length of time it takes.. usually somewhere between 4-6 hours
per update cycle. We have found that during the update, the DB
effectivly cannot be used by anyone else. This involves deleting
anywhere between 200,000 to 400,000 rows, a vacuum, then an insert.
Our solution was to break the table into 10 chunks, (originally one
big ~3,000,000 row table which began taking over 36 hours for the
vacuum alone!) which now makes each table much more manageable
in terms of updating. All updates are done on a second system that
is a duplicate of the production one, then moving the entire
/data/... tree over to the production system when done. This gives
us roughly a 10 minute downtime as opposed to several hours if done
on the live system. BTW, both systems are 450Mhz machines w/256Meg
memory and ultra-wide fast scsi drives...
Brad
--
Bradford L. Barrett [EMAIL PROTECTED]
A free electron in a sea of neutrons DoD#1750 KD4NAW
Those that can, do... Those that can't... Run Windows!!