Which table stored in which file in PGDATA/base/[db-oid]

From: Soroosh Sardari <soroosh(dot)sardari(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Which table stored in which file in PGDATA/base/[db-oid]
Date: 2013-06-01 10:41:50
Message-ID: CAFUsPDYVEX8HunpgByN8xrO3QCtXoXHz6jiKiUKZdKTo=UksZg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dear Hackers

I've created a new DB, and a bunch of files created in base/12054, 12054
is oid of the new DB.
I want to find what table stored in each file.
BTW, I read this
http://www.postgresql.org/docs/9.2/interactive/storage-file-layout.html
I have 156 files with numerical names, vm and fsm file are ignored.
107 files are same as pg_class.reltoastrelid,so I have 49 files that I do
not know what tables stored in them.
Any idea to find ?

Thanks,
Soroosh

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2013-06-01 10:50:42 Re: Which table stored in which file in PGDATA/base/[db-oid]
Previous Message Christoph Moench-Tegeder 2013-06-01 09:43:39 Re: detecting binary backup in progress