pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Ogden Brash <info@litika.com>
Cc: pgsql-performance@lists.postgresql.org
Subject: Re: Modification of data in base folder and very large tables
Date: Wed, 09 Oct 2019 09:42:18 +0100
Message-ID: <87lftuz56q.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <CAFCR_K3KraRUTKxZeYEGVyNd_6VMa+cgdW_WYn6k4JZz_m3prA@mail.gmail.com>
References: <CAFCR_K3KraRUTKxZeYEGVyNd_6VMa+cgdW_WYn6k4JZz_m3prA@mail.gmail.com>

>>>>> "Ogden" == Ogden Brash <info@litika.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)





view thread (7+ messages)  latest in thread

Message-ID: <87lftuz56q.fsf@news-spur.riddles.org.uk>
Permalink:  ../87lftuz56q.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/87lftuz56q.fsf@news-spur.riddles.org.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: andrew@tao11.riddles.org.uk, info@litika.com, pgsql-performance@lists.postgresql.org
  Subject: Re: Modification of data in base folder and very large tables
  In-Reply-To: <87lftuz56q.fsf@news-spur.riddles.org.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox