Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 7C40A632B4F for ; Tue, 13 Jul 2010 15:22:32 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 31455-05 for ; Tue, 13 Jul 2010 18:22:24 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 2DC6A63258B for ; Tue, 13 Jul 2010 15:22:25 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o6DIMN2H004030; Tue, 13 Jul 2010 14:22:23 -0400 (EDT) To: Deron cc: pgsql-admin@postgresql.org Subject: Re: cache lookup for operator ... In-reply-to: References: Comments: In-reply-to Deron message dated "Tue, 13 Jul 2010 10:29:42 -0700" Date: Tue, 13 Jul 2010 14:22:22 -0400 Message-ID: <4029.1279045342@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/62 X-Sequence-Number: 35081 Deron writes: > I am trying to determine what might cause an issue like this. This was a > large (several hundred GB) data warehouse server with PG 8.2.4. I can't > really determine what caused this issue. We ended up restoring the data > from a backup. > Here are some of the errors in the log: > postmaster.1:Jul 11 14:13:36 postgres[18051]: [8-1] ERROR: cache lookup > failed for operator 660 > postmaster.1:Jul 11 15:27:00 postgres[26428]: [2-1] ERROR: cache lookup > failed for operator 93 Evidently you had corruption in the pg_operator catalog. If you were lucky, a REINDEX of pg_operator might have fixed it, but unless you kept a physical copy of the corrupted database there's no way to investigate further now. 8.2.4 is extremely out of date btw, you should be using 8.2.17 or something close to that. regards, tom lane