dbTalk Databases Forums  

[BUGS] Cache lookup failed !!!

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] Cache lookup failed !!! in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sivaraman K.G
 
Posts: n/a

Default [BUGS] Cache lookup failed !!! - 08-07-2005 , 11:47 PM






Hi all,

I have the following problem in my testbed :

PostgreSQL version: 8.0
Operating system: Solaris 8.0
Description: Cache lookup failed.

I am running PostgreSQL ver. 8.0 with table space setup'ed for
CTBLISTDB.

\d command used to give the existing relations in the database.
But now it is saying :
ERROR : Cache lookup failed for relation 17233.
I could not able to proceed further. Any help ??

$ psql CTBLISTDB
Welcome to psql 8.0.0, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit

CTBLISTDB=# \d
ERROR : Cache lookup failed for relation 17233


Thanks
Siva


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] Cache lookup failed !!! - 08-08-2005 , 10:31 AM






"Sivaraman K.G" <Ganapathy.Sivaraman (AT) alcatel (DOT) com> writes:
Quote:
\d command used to give the existing relations in the database.
But now it is saying :
ERROR : Cache lookup failed for relation 17233.
Not a lot of information to go on here. What do you get from

select * from pg_class where oid = 17233;

Can you do other operations besides \d?

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq


Reply With Quote
  #3  
Old   
tom cai (Offline)
Junior Member
 
Posts: 1
Join Date: May 2006

Default 05-04-2006 , 06:20 PM



[quote=Tom Lane]"Sivaraman K.G" <Ganapathy.Sivaraman (AT) alcatel (DOT) com> writes:

Not a lot of information to go on here. What do you get from

select * from pg_class where oid = 17233;

Can you do other operations besides \d?

regards, tom lane
----------------------------------------------------

I had same problem with \d. when I select * from pg_class where oid = xxxxxx;
I got the following
DBName=# select * from pg_class where oid=986410890;
relname | relnamespace | reltype | relowner | relam | relfilenode | reltablespace | relpages | reltuples | reltoastrelid | reltoastidxid | relhasindex | relisshared | relkind | relnatts | relchecks | reltriggers | relukeys | relfkeys | relrefs | relhasoids | relhaspkey | relhasrules | relhassubclass | relacl
------------+--------------+-----------+----------+-------+-------------+---------------+----------+------------+---------------+---------------+-------------+-------------+---------+----------+-----------+-------------+----------+----------+---------+------------+------------+-------------+----------------+--------
gtotap_tmp | 2200 | 986410891 | 100 | 0 | 986410890 | 0 | 347448 | 1.7985e+07 | 986410892 | 0 | f | f | r | 6 | 0 | 0 | 0 | 0 | 0 | t | f | f | f |
(1 row)


Is there way to recover the DB? what if I remove table "gtotap_tmp"? will it be recovered? However, I am still able to query the contents of the tables.

Thanks.

Last edited by tom cai : 05-04-2006 at 06:30 PM .

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.