Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Admin > Recovering reco...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 4896 of 5124
Post > Topic >>

Recovering records after running out of disk space

by ken@[EMAIL PROTECTED] (Ken Ebling) Apr 9, 2008 at 06:55 AM

Hello.

I have a postgresql 8.2.4 server that ran low on disk space.  I was  
seeing messages
about some queries failing to run, and a hint about low disk space.

I noticed that the largest table in the database was returning 0 rows,  
while other tables
just seemed to be missing some rows.  One was missing about 10,000  
records.

Running "SELECT relname, relpages FROM pg_class ORDER BY relpages DESC;"
showed that the table with 0 rows is still the largest:

              relname              | relpages
-----------------------------------+----------
job_view_warehouse                |  3013632

I moved the data directory to bigger drives, and ran "vacuum full" and
"reindex database db_name" and "select count(*) ..."  still shows that  
the table has 0 rows.

Is there something else I should do to try to recover these records? I  
figure they must
still be there somewhere if it's relpages is so big.

Thanks in advance,

Ken




-- 
Sent via pgsql-admin mailing list (pgsql-admin@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
 




 1 Posts in Topic:
Recovering records after running out of disk space
ken@[EMAIL PROTECTED] (K  2008-04-09 06:55:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Sun Jul 6 17:34:21 CDT 2008.