X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BE54EDB567 for ; Mon, 31 Oct 2005 16:14:56 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 86607-04 for ; Mon, 31 Oct 2005 20:14:54 +0000 (GMT) Received: from mxca2.corp.netopia.com (mx-us-west.netopia.com [65.206.239.221]) by svr1.postgresql.org (Postfix) with ESMTP id 3A068DB556 for ; Mon, 31 Oct 2005 16:14:54 -0400 (AST) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5DE57.90590E9F" Subject: Vacuum Verbose output Date: Mon, 31 Oct 2005 12:13:27 -0800 Message-ID: <6B26A56846293C4488B54CF3E440335403E2F77A@mxca2.corp.netopia.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Vacuum Verbose output Thread-Index: AcXeV40ttfIKuhf/R7+zo0eQZe8++A== From: "Subbiah, Stalin" To: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.025 required=5 tests=[AWL=0.024, HTML_MESSAGE=0.001] X-Spam-Score: 0.025 X-Spam-Level: X-Archive-Number: 200510/294 X-Sequence-Number: 19366 This is a multi-part message in MIME format. ------_=_NextPart_001_01C5DE57.90590E9F Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, We vacuum busy tables in different frequencies depending on how busy the table is. Today I noticed that one of the task that was suppose to delete rows from a busy table was running for a long time. And below is the output of vacuum verbose after the task was stopped from running. Trying to understand if the table/index has been bloated or not. INFO: vacuuming "public.eventlog" INFO: index "ix_eventlog_eventtime" now contains 11465395 row versions in 77113 pages DETAIL: 8737797 index row versions were removed. Does it mean ix_eventlog_ index had 11.4mil row versions out of which 8.7mil were removed cause of deletes? 33189 index pages have been deleted, 0 are currently reusable. Does it mean out of 77113 index pages, 33189 were deleted? CPU 5.24s/13.76u sec elapsed 67.05 sec. INFO: "eventlog": removed 8737797 row versions in 361856 pages DETAIL: CPU 14.53s/22.00u sec elapsed 122.13 sec. INFO: index "ix_eventlog_eventtime" now contains 8023399 row versions in 77116 pages DETAIL: 3442698 index row versions were removed. 46439 index pages have been deleted, 0 are currently reusable. CPU 3.18s/5.35u sec elapsed 22.85 sec. INFO: "eventlog": removed 3442698 row versions in 143144 pages DETAIL: CPU 5.64s/8.74u sec elapsed 69.15 sec. INFO: "eventlog": found 12180495 removable, 8022620 nonremovable row versions in 837938 pages DETAIL: 0 dead row versions cannot be removed yet. There were 154716 unused item pointers. 0 pages are entirely empty. CPU 44.37s/54.07u sec elapsed 357.04 sec. Why does index and table INFO reported twice with different row version numbers on a vacuum run. Thanks, Subbiah Postgres v7.4.7 ------_=_NextPart_001_01C5DE57.90590E9F Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Vacuum Verbose output

Hi All,

We vacuum busy tables in different = frequencies depending on how busy the table is. Today I noticed that one = of the task that was suppose to delete rows from a busy table was = running for a long time. And below is the output of vacuum verbose after = the task was stopped from running. Trying to understand if the = table/index has been bloated or not.

INFO:  vacuuming = "public.eventlog"
INFO:  index = "ix_eventlog_eventtime" now contains 11465395 row versions in = 77113 pages
DETAIL:  8737797 index row = versions were removed.

Does it mean ix_eventlog_ index had = 11.4mil row versions out of which 8.7mil were removed cause of = deletes?

33189 index pages have been deleted, = 0 are currently reusable.

Does it mean out of 77113 index = pages, 33189 were deleted?

CPU 5.24s/13.76u sec elapsed 67.05 = sec.


INFO:  "eventlog": = removed 8737797 row versions in 361856 pages
DETAIL:  CPU 14.53s/22.00u sec = elapsed 122.13 sec.
INFO:  index = "ix_eventlog_eventtime" now contains 8023399 row versions in = 77116 pages
DETAIL:  3442698 index row = versions were removed.
46439 index pages have been deleted, = 0 are currently reusable.
CPU 3.18s/5.35u sec elapsed 22.85 = sec.
INFO:  "eventlog": = removed 3442698 row versions in 143144 pages
DETAIL:  CPU 5.64s/8.74u sec = elapsed 69.15 sec.
INFO:  "eventlog": = found 12180495 removable, 8022620 nonremovable row versions in 837938 = pages
DETAIL:  0 dead row versions = cannot be removed yet.

There were 154716 unused item = pointers.
0 pages are entirely empty.
CPU 44.37s/54.07u sec elapsed 357.04 = sec.

Why does index and table INFO = reported twice with different row version numbers on a vacuum = run.

Thanks,
Subbiah
Postgres v7.4.7




------_=_NextPart_001_01C5DE57.90590E9F--