Re: vacuum full 100 mins plus?

From: Patrick Hatcher <PHatcher(at)macys(dot)com>
To: "Patrick Hatcher <PHatcher" <PHatcher(at)macys(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org, pgsql-performance-owner(at)postgresql(dot)org
Subject: Re: vacuum full 100 mins plus?
Date: 2004-07-14 22:36:46
Message-ID: OFE37D67EB.C42A1B3B-ON88256ED1.007C0430-88256ED1.007D08AB@fds.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Answered my own question. I gave up the vacuum full after 150 mins. I was
able to export to a file, vacuum full the empty table, and reimport in less
than 10 mins. I suspect the empty item pointers and the sheer number of
removable rows was causing an issue.


Patrick Hatcher
<PHatcher(at)macys(dot)c
om> To
Sent by: pgsql-performance(at)postgresql(dot)org
pgsql-performance cc
-owner(at)postgresql
.org Subject
[PERFORM] vacuum full 100 mins
plus?
07/14/2004 02:29
PM



Should I be concerned that my vacuum process has taken upwards of 100 +
minutes to complete? I dropped all indexes before starting and also
increased the vacuum_mem before starting.
Looking at the output below, it appears that a vacuum full hasn't been done
on this table for quite sometime. Would I be better off exporting the data
vacuuming the table and reimporting the data? I cannot drop the table do
to views attached to the table

mdc_oz=# set vacuum_mem = 10240;
SET
mdc_oz=# vacuum full verbose cdm.cdm_ddw_Tran_item;
INFO: vacuuming "cdm.cdm_ddw_tran_item"
INFO: "cdm_ddw_tran_item": found 15322404 removable, 10950460 nonremovable
row versions in 934724 pages
DETAIL: 0 dead row versions cannot be removed yet.
Nonremovable row versions range from 233 to 308 bytes long.
There were 1081 unused item pointers.
Total free space (including removable row versions) is 4474020460 bytes.
544679 pages are or will become empty, including 0 at the end of the table.
692980 pages containing 4433398408 free bytes are potential move
destinations.
CPU 29.55s/4.13u sec elapsed 107.82 sec.

TIA
Patrick Hatcher

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Steinar H. Gunderson 2004-07-14 23:11:20 Re: Odd sorting behaviour
Previous Message Hervé Piedvache 2004-07-14 21:32:05 Re: Insert are going slower ...