pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: A.Burbello <burbello3000@yahoo.com.br>
To: Postgres Adm List <pgsql-admin@postgresql.org>
Subject: Re: Dump database more than 1 flat file
Date: Mon, 17 Dec 2007 17:06:53 -0300 (ART)
Message-ID: <866220.35252.qm@web36213.mail.mud.yahoo.com> (raw)
In-Reply-To: <dcc563d10712151016s381f09e1m6637a8d4cb49f37e@mail.gmail.com>

I consider this way a good practice to transport the
files. This is because I have table that has more than
30GB.
But if the OS was windows, couldn't split the files
because postgres doesn't has this feature!
Could be a good option if postgres had native.

Weel, I will try this:
eg: $ pg_dump postgres -U postgres -f split.txt |
split --bytes=10m

Thank you.






--- Scott Marlowe <scott.marlowe@gmail.com> escreveu:

> On Dec 15, 2007 11:42 AM, A.Burbello
> <burbello3000@yahoo.com.br> wrote:
> > Hi people,
> >
> > How can I export (dump) database more than 1 file?
> > I have great table and can't split.
> > Like Oracle, just set the parameter filesize and
> the
> > files name, and dump in several files.
> 
> You could pipe the output of pg_dump to split, or
> split it after it's
> been created.
> 
> But is there a reason for doing this or is it just
> some practice you're into?
> 



      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/



view thread (15+ messages)  latest in thread

Message-ID: <866220.35252.qm@web36213.mail.mud.yahoo.com>
Permalink:  ../866220.35252.qm@web36213.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/866220.35252.qm@web36213.mail.mud.yahoo.com

 · 

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-admin@postgresql.org
  Cc: burbello3000@yahoo.com.br
  Subject: Re: Dump database more than 1 flat file
  In-Reply-To: <866220.35252.qm@web36213.mail.mud.yahoo.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