Re: Modification of data in base folder and very large tables

From: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
To: Ogden Brash <info(at)litika(dot)com>
Cc: pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: Modification of data in base folder and very large tables
Date: 2019-10-09 08:42:18
Message-ID: 87lftuz56q.fsf@news-spur.riddles.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

>>>>> "Ogden" == Ogden Brash <info(at)litika(dot)com> 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)

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Behrang Saeedzadeh 2019-10-09 12:07:02 Query slow again after adding an `OR` operation (was: Slow PostgreSQL 10.6 query)
Previous Message Behrang Saeedzadeh 2019-10-09 06:21:23 Get the planner used by a query?