From: Gourish Singbal <gourish@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Need Help with reindexing
Date: Mon, 14 Mar 2005 11:41:39 +0530
Message-ID: <674d1f8a050313221149c690bb@mail.gmail.com> (raw)
Guys,
I need some help to decide when i should reindex the indexes in the table.
Postgresql 7.4.5 and linux O.S.
Below is the results of vacuum analyze verbose on the table
INFO: vacuuming "public.rpt_metrics"
INFO: index "rpt_metrics_date_network_advertiser" now contains
102960776 row versions in 717963 pages
DETAIL: 198809 index pages have been deleted, 20000 are currently reusable.
CPU 30.95s/3.51u sec elapsed 770.69 sec.
INFO: index "rpt_metrics_date_network" now contains 102960776 row
versions in 517246 pages
DETAIL: 179291 index pages have been deleted, 20000 are currently reusable.
CPU 21.11s/2.69u sec elapsed 917.34 sec.
INFO: index "rpt_metrics_date" now contains 102960776 row versions in
516546 pages
DETAIL: 193753 index pages have been deleted, 20000 are currently reusable.
CPU 20.31s/2.70u sec elapsed 975.39 sec.
INFO: "rpt_metrics": found 0 removable, 102960776 nonremovable row
versions in 2920718 pages
DETAIL: 0 dead row versions cannot be removed yet.
There were 56377053 unused item pointers.
0 pages are entirely empty.
CPU 123.67s/17.41u sec elapsed 3132.89 sec.
INFO: analyzing "public.rpt_metrics"
INFO: "rpt_metrics": 2920718 pages, 3000 rows sampled, 176302
estimated total rows
VACUUM
When should i ideally reindex this table ?.
(once in a month, weekly....etc)
--
Best,
Gourish Singbal
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: gourish@gmail.com
Subject: Re: Need Help with reindexing
In-Reply-To: <674d1f8a050313221149c690bb@mail.gmail.com>
References: <674d1f8a050313221149c690bb@mail.gmail.com>
* 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