Search Postgresql Archives

Deleted Records & file format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there any documentation of the binary format of the ‘base’ tables?

 

I found that I can find where a table’s data stored with:

 

SELECT oid FROM pg_database WHERE datname = current_database();

SELECT relfilenode, reltoastrelid FROM pg_class WHERE relname = 'table';

 

/usr/local/pgsql/data/base/$oid/$relfilenode

 

From what I understand, deleted records should still be there unless vacuum removes them.

Is that right?

 


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux