From: | Denis Braekhus <denis(at)startsiden(dot)no> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Lonni Friedman <netllama(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: vacuumdb is failing with NUMBER OF INDEX TUPLES NOT |
Date: | 2004-05-09 12:10:08 |
Message-ID: | 409E1FA0.1020809@startsiden.no |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tom Lane wrote:
|>Indicating that they should produce the same results, but that they work
|>differently. I am not sure what that implies, but maybe someone else
knows ?
| The only difference the docs are talking about is what kind of lock is
| held while the rebuild proceeds.
Yes I understood that, but the docs didn't (as you do now) excplicitly
explain the different ways they work. I expected it to be as you say,
however I was not 100% sure. Thanks for clarifying.
| A reindex builds a new index file from scratch, and AFAICS should give
| the same results as dropping/recreating the index --- at least in terms
| of what's in the file proper. The only theory I can come up with for
| your experience is that there was some corruption in the system catalog
| rows describing the index. That would not get fixed by a reindex.
| However, I haven't the foggiest idea what sort of corruption might
| allow the index to seem to work (and not, say, crash the reindex itself
| which is going to use that information...) yet allow problems to appear
| much later on. Too bad the evidence is gone now.
Yes, sorry about not bringing up the issue at the right time, however my
main focus at that time was to bring the production system back to normal..
Regards
- --
Denis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-nr2 (Windows XP)
iD8DBQFAnh+gvsCA6eRGOOARAlivAKCl8aIuii8GeSFLetWn+exBVXnptwCeKMUr
wjAEgS7gP1LQeS/xZdiC03g=
=ZRI6
-----END PGP SIGNATURE-----
From | Date | Subject | |
---|---|---|---|
Next Message | Denis Braekhus | 2004-05-09 12:33:22 | Re: Cache lookup failure for pg_restore? |
Previous Message | Christopher Kings-Lynne | 2004-05-09 05:32:58 | Re: Adding MERGE to the TODO list (resend with subject) |