Re: Table seems empty but its size is in gigabytes - Mailing list pgsql-general

From Juan Carlos Michaca Lucero
Subject Re: Table seems empty but its size is in gigabytes
Date
Msg-id 422305726.1809828.1460486237343.JavaMail.yahoo@mail.yahoo.com
Whole thread Raw
In response to Table seems empty but its size is in gigabytes  (Juan Carlos Michaca Lucero <jc_mich2c3c1@yahoo.com.mx>)
List pgsql-general
I want to recover the dead data


El Martes, 12 de abril, 2016 11:38:22, David G. Johnston <david.g.johnston@gmail.com> escribió:


Send all replies to the list please.  In this specific case I'm not going to be of much help but others should be.  You are likely going to need to supply additional context.

On Tue, Apr 12, 2016 at 9:22 AM, Juan Carlos Michaca Lucero <jc_mich2c3c1@yahoo.com.mx> wrote:
I want to recover the dead data.


El Martes, 12 de abril, 2016 11:16:15, David G. Johnston <david.g.johnston@gmail.com> escribió:


On Tue, Apr 12, 2016 at 9:11 AM, Juan Carlos Michaca Lucero <jc_mich2c3c1@yahoo.com.mx> wrote:
Hi PostgreSQL,
 
I'm using PostgreSQL 9.3 running on Ubuntu Server. 
 
I have a complex function to populate a big table, in order to improve performance; data is prepared in temporary tables before it will be inserted. I called this function many times from my application, but something goes wrong with the disk assigned to my temporary tablespace and all threads were dropped. Now my big table statistics shows tuples inserted and its size is in order of gigabytes, but a simple SELECT has no rows, is there any way to recover the data in this table?

​Do you want to recover the dead data or the space ​that it consumes?

David J.






pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Freezing localtimestamp and other time function on some value
Next
From: Tom Lane
Date:
Subject: Re: pg_upgrade error regarding hstore operator