[ADMIN] - Need Clarification about filenodes under base database directory - Mailing list pgsql-admin

From Panneer Selvam
Subject [ADMIN] - Need Clarification about filenodes under base database directory
Date
Msg-id CAFoj0_kvvjS02vieV5gspUGFNRFFRCsm06at14QTmfUvsErszQ@mail.gmail.com
Whole thread Raw
Responses Re: [ADMIN] - Need Clarification about filenodes under base database directory
List pgsql-admin
Dear All,

We have a database with no active relations on it. ( I.e. No tables or Indexes exist as of now ).
But when we look at our base directory for this database, it's having many relations pointing pg_type & pg_toast.

Curious to know the necessity of these objects and is this normal scenario ?

/pgDATA/base/102999

ls
1247
1247_fsm
1247_vm
13111
14702
3599

test_ora=# SELECT pg_filenode_relation(0,1247);
 pg_filenode_relation
----------------------
 pg_type
(1 row)

test_ora=# SELECT pg_filenode_relation(0,13111);
  pg_filenode_relation
-------------------------
 pg_toast.pg_toast_13109
(1 row)

test_ora=# SELECT pg_filenode_relation(0,14702);
     pg_filenode_relation
-------------------------------
 pg_toast.pg_toast_14697_index
(1 row)

test_ora=# SELECT pg_filenode_relation(0,3599);
     pg_filenode_relation
------------------------------
 pg_toast.pg_toast_3596_index

Regards,
​Panneerselvam D​




pgsql-admin by date:

Previous
From: Scott Whitney
Date:
Subject: Re: [ADMIN] unable to find data folder postgres9.4
Next
From: Panneer Selvam
Date:
Subject: [ADMIN] Replication Between heterogeneous Databases