From: reina@nsi.edu
To: pgsql-admin@postgresql.org
Subject: Re: Large Dump Files
Date: 19 Jul 2002 11:01:15 -0700
Message-ID: <f40d3195.0207191001.2b8f21a0@posting.google.com> (raw)
References: <20020718173602.10572.qmail@web13808.mail.yahoo.com>
Mike,
Are you sure that 'split' won't work? It is specifically designed
to break apart your files into smaller chunks:
pg_dump dbname | split -b 1000m - filename
Reload with
createdb dbname
cat filename* | psql dbname
-Tony
bakerlmike@yahoo.com (Mike Baker) wrote in message news:<20020718173602.10572.qmail@web13808.mail.yahoo.com>...
> Hi.
>
> I am running postgresql 7.1 on Red Hat Linux, kernel
> build 2.4.2-2. I am in the process of updating
> postresql to the latest version.
>
> When I dump my database using all the compressions
> tricks in:
> http://www.us.postgresql.org/users-lounge/docs/7.2/postgres/backup.html#BACKUP-DUMP-LARGE
>
> my dump file is still over 2gigs and thus the dump
> fails. We have a large amount of BLOB data in the
> database.
>
> I am wondering:
>
> will cat filename* | psql dbname work if my dump file
> has large binary objects in it?
>
> If not, does anyone have experience getting Red Hat to
> deal with large files. I can find no documentation
> that deals with large files for the kernel build have.
>
> Thanks.
>
> Mike Baker
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Autos - Get free new car price quotes
> http://autos.yahoo.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: reina@nsi.edu
Subject: Re: Large Dump Files
In-Reply-To: <f40d3195.0207191001.2b8f21a0@posting.google.com>
References: <20020718173602.10572.qmail@web13808.mail.yahoo.com> <f40d3195.0207191001.2b8f21a0@posting.google.com>
* 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