Re: Modification of data in base folder and very large tables
Andrew Gierth <[email protected]> Wed, 09 Oct 2019 09:42:18 +0100
| Newsgroups | gmane.comp.db.postgresql.performance |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Ogden" == Ogden Brash <[email protected]> writes: Ogden> I have a question about the files in Ogden> .../data/postgresql/11/main/base, specifically in relation to Ogden> very large tables and how they are written. Ogden> I have been attempting to restore a relatively large database Ogden> with pg_restore and it has been running for more than a week. Did you do the restore into a completely fresh database? Or did you make the mistake of creating tables and indexes first? What relation does the filenode 27083 correspond to? You can find that with: select oid::regclass from pg_class where pg_relation_filenode(oid) = '27083'; -- Andrew (irc:RhodiumToad)