Skip site navigation (1) Skip section navigation (2)

Re: Examining very large dumps

From: Tino Schwarze <postgresql(at)tisc(dot)de>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Examining very large dumps
Date: 2008-04-16 09:52:45
Message-ID: 20080416095245.GC31097@easy2.in-chemnitz.de (view raw or flat)
Thread:
Lists: pgsql-admin
On Wed, Apr 16, 2008 at 12:35:26PM +0300, Achilleas Mantzios wrote:
> Hi, i just started the process of migrating from 7.4 to 8.3.1.
> On restoring, apart from the easily explainable ERRORs (both in DDL, COPY), i got some ugly ERRORs
> denoting foreign key constraint violations.
> Since the dump is 35 Gbytes, i'd like your advice for examining, editing, extracting portions of large dumps,
> in order to find the cause of the problem. vim (linux), vi (FreeBSD) or any other unix editor i tried, could not handle the
> volume.

Do you have a plain text dump or a compressed archive? Try using less
for a first view, then extract things with grep or alter with sed.

HTH,

Tino.

-- 
„What we resist, persists.” (Zen saying)

www.craniosacralzentrum.de
www.forteego.de

In response to

Responses

pgsql-admin by date

Next:From: Achilleas MantziosDate: 2008-04-16 09:58:29
Subject: Re: Examining very large dumps
Previous:From: Achilleas MantziosDate: 2008-04-16 09:35:26
Subject: Examining very large dumps

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group