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

Re: Dump database more than 1 flat file

From: "A(dot)Burbello" <burbello3000(at)yahoo(dot)com(dot)br>
To: Postgres Adm List <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Dump database more than 1 flat file
Date: 2007-12-17 20:06:53
Message-ID: 866220.35252.qm@web36213.mail.mud.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-admin
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(dot)marlowe(at)gmail(dot)com> escreveu:

> On Dec 15, 2007 11:42 AM, A.Burbello
> <burbello3000(at)yahoo(dot)com(dot)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/

In response to

Responses

pgsql-admin by date

Next:From: Marco AntonioDate: 2007-12-17 21:02:21
Subject: Re: Looking for an E/R tool for Postgres
Previous:From: gunarthaDate: 2007-12-17 19:23:31
Subject: Re: server error

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