pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: tech techie <techie@1stcounsel.com>
To: techie@1stcounsel.com
To: pgsql-admin@postgresql.org
Subject: Re: LargeObjectDrop and simple_heap_delete - Are these errors normal?
Date: Wed, 30 Jul 2003 12:15:38 -0700
Message-ID: <D9ACAF7797E9B6D4DB65C40525B2BE7C@techie.1stcounsel.com> (raw)

More information:
I'm running PostgreSQL version 7.3.2
on linux RH 8.0  (Linux version 2.4.18-14smp 
(bhcompile@stripples.devel.redhat.com) (gcc 
version 3.2 20020903 (Red Hat Linux 8.0 3.2-7))


After the most recent 'crash' I went into 
single user mode, and did the following:
1) reindex database dbname --> 5 minutes to run
2) vacuum full ----> 45 minutes with the 
following errors:
backend> vacuum full;
WARNING:  Index 
pg_attribute_relid_attnam_index: NUMBER OF 
INDEX' TUPLES (1191) IS NOT THE SAME AS HEAP' 
(1302).
        Recreate the index.
WARNING:  Index 
pg_attribute_relid_attnum_index: NUMBER OF 
INDEX' TUPLES (1191) IS NOT THE SAME AS HEAP' 
(1302).
        Recreate the index.
WARNING:  Index pg_class_oid_index: NUMBER OF 
INDEX' TUPLES (144) IS NOT THE SAME AS HEAP' 
(180).
        Recreate the index.
WARNING:  Index pg_class_relname_nsp_index: 
NUMBER OF INDEX' TUPLES (144) IS NOT THE SAME 
AS HEAP' (180).
        Recreate the index.
WARNING:  Rel pg_largeobject: Uninitialized 
page 399948 - fixing
WARNING:  Index pg_largeobject_loid_pn_index: 
NUMBER OF INDEX' TUPLES (227408) IS NOT THE 
SAME AS HEAP' (1147110).
        Recreate the index.
WARNING:  Index pg_attrdef_adrelid_adnum_index: 
NUMBER OF INDEX' TUPLES (145) IS NOT THE SAME 
AS HEAP' (147).
        Recreate the index.
WARNING:  Index pg_attrdef_oid_index: NUMBER OF 
INDEX' TUPLES (145) IS NOT THE SAME AS HEAP' 
(147).
        Recreate the index.
WARNING:  Index pg_statistic_relid_att_index: 
NUMBER OF INDEX' TUPLES (19) IS NOT THE SAME AS 
HEAP' (324).
        Recreate the index.
WARNING:  Index pg_toast_16408_index: NUMBER OF 
INDEX' TUPLES (0) IS NOT THE SAME AS HEAP' (3).
        Recreate the index.

3) I then recreated the offending indexes like 
the backend asked me to (except the backend 
complained on the last one, where the number of 
tuples was zero, claiming that the index did 
not exist).
4) reindex database dbname --> 45 seconds to 
run 
stoped the backend, and let my customers back 
in.


The LargeObjectDrop errors are still there, and 
If I have a corrupted database I'ld love to do 
WHATEVER it takes to fix it and ensure it 
doesn't happen again.  What did I do wrong?

THANKS AGAIN in advance,

techie@1stcounsel.com



Sent by 1stcounsel.com Mail
Premium Accounts for Legal Professionals
http://1stcounsel.com/



view thread (3+ messages)  latest in thread

Message-ID: <D9ACAF7797E9B6D4DB65C40525B2BE7C@techie.1stcounsel.com>
Permalink:  ../D9ACAF7797E9B6D4DB65C40525B2BE7C@techie.1stcounsel.com/
Also on:    postgresql.org/message-id/D9ACAF7797E9B6D4DB65C40525B2BE7C@techie.1stcounsel.com

 · 

reply

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: techie@1stcounsel.com
  Subject: Re: LargeObjectDrop and simple_heap_delete - Are these errors normal?
  In-Reply-To: <D9ACAF7797E9B6D4DB65C40525B2BE7C@techie.1stcounsel.com>
  References: <D9ACAF7797E9B6D4DB65C40525B2BE7C@techie.1stcounsel.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