pg_dump 2GB limit? 
Author Message
 pg_dump 2GB limit?

The archives search is not working on postgresql.org so I need to ask this
question...

We are using postgresql 7.2 and when dumping one of our larger databases,
we get the following error:

File size limit exceeded (core dumped)

We suspect pg_dump.  Is this true?  Why would there be this limit in
pg_dump?  Is it scheduled to be fixed?

Thanks,

--
Laurette Cisneros
Database Roadie
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
Where's my bus?

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate

message can get through to the mailing list cleanly



Tue, 14 Sep 2004 08:30:42 GMT
 pg_dump 2GB limit?

Quote:

> The archives search is not working on postgresql.org so I need to ask this
> question...

> We are using postgresql 7.2 and when dumping one of our larger databases,
> we get the following error:

> File size limit exceeded (core dumped)

> We suspect pg_dump.  Is this true?  Why would there be this limit in
> pg_dump?  Is it scheduled to be fixed?

This means one of two things:

1) Your ulimits are set too low, or
2) Your pg_dump wasn't compiled against a C library with large file
   support (greater than 2GB).

Is this on Linux?

-Doug
--
Doug McNaught       Wireboard Industries      http://www.wireboard.com/

      Custom software development, systems and network consulting.
      Java PostgreSQL Enhydra Python Zope Perl Apache Linux BSD...

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate

message can get through to the mailing list cleanly



Tue, 14 Sep 2004 08:37:54 GMT
 pg_dump 2GB limit?

Are you on linux (most likely)?  If so, then your pgsql was compiled
without large file support.

Dru Nelson
San Carlos, California

Quote:
> The archives search is not working on postgresql.org so I need to ask this
> question...

> We are using postgresql 7.2 and when dumping one of our larger databases,
> we get the following error:

> File size limit exceeded (core dumped)

> We suspect pg_dump.  Is this true?  Why would there be this limit in
> pg_dump?  Is it scheduled to be fixed?

> Thanks,

> --
> Laurette Cisneros
> Database Roadie
> (510) 420-3137
> NextBus Information Systems, Inc.
> www.nextbus.com
> Where's my bus?

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



Tue, 14 Sep 2004 08:47:50 GMT
 pg_dump 2GB limit?
Hi,

I'm on Red Hat.  Here's the uname info:
Linux visor 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown

What do I need to do to "turn on large file support" in the compile?

Thanks,

L.

Quote:

> > The archives search is not working on postgresql.org so I need to ask this
> > question...

> > We are using postgresql 7.2 and when dumping one of our larger databases,
> > we get the following error:

> > File size limit exceeded (core dumped)

> > We suspect pg_dump.  Is this true?  Why would there be this limit in
> > pg_dump?  Is it scheduled to be fixed?

> This means one of two things:

> 1) Your ulimits are set too low, or
> 2) Your pg_dump wasn't compiled against a C library with large file
>    support (greater than 2GB).

> Is this on Linux?

> -Doug

--
Laurette Cisneros
Database Roadie
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
Where's my bus?

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html



Tue, 14 Sep 2004 08:48:19 GMT
 pg_dump 2GB limit?

Quote:

> Oops sent the wrong uname, here's the one from the machine we compiled on:
> Linux lept 2.4.16 #6 SMP Fri Feb 8 13:31:46 PST 2002 i686 unknown

> and has: libc-2.2.2.so

> We use ./configure

> Still a problem?

Might be.  Make sure you have up to date kernel and libs on the
compile machine and the one you're running on.  Make sure your
filesystem supports files greater than 2GB.

Also, if you are using shell redirection to create the output file,
it's possible the shell isn't using the right open() flags.

-Doug
--
Doug McNaught       Wireboard Industries      http://www.wireboard.com/

      Custom software development, systems and network consulting.
      Java PostgreSQL Enhydra Python Zope Perl Apache Linux BSD...

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



Tue, 14 Sep 2004 09:26:18 GMT
 pg_dump 2GB limit?

Quote:

> Hi,

> I'm on Red Hat.  Here's the uname info:
> Linux visor 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown

You should really upgrade (kernel and the rest), but this kernel
supports large files.

--
Trond Eivind Glomsr?d
Red Hat, Inc.

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



Tue, 14 Sep 2004 11:38:07 GMT
 pg_dump 2GB limit?

Quote:

> Laurette Cisneros writes:

> > We are using postgresql 7.2 and when dumping one of our larger databases,
> > we get the following error:

> > File size limit exceeded (core dumped)

> > We suspect pg_dump.  Is this true?

> No, it's your operating sytem.

Red Hat Linux 7.x which he seems to be using supports this.
--
Trond Eivind Glomsr?d
Red Hat, Inc.

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



Tue, 14 Sep 2004 11:46:13 GMT
 pg_dump 2GB limit?

Quote:
> > File size limit exceeded (core dumped)

> > We suspect pg_dump.  Is this true?  Why would there be this limit in
> > pg_dump?  Is it scheduled to be fixed?

Try piping the output of pg_dump through bzip2 before writing it to disk.
Or else, I think that pg_dump has -z or something parameters for turning
on compression.

Chris

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster



Tue, 14 Sep 2004 12:19:22 GMT
 
 [ 8 post ] 

 Relevant Pages 

1. MaximDevice limit for SQl Server 11-11.5 (was: Sybase 2Gb Limit)

2. pgsql-server/src/bin/pg_dump pg_dump.c pg_dump.h

3. pgsql/src/bin/pg_dump (pg_dump.c pg_dump.h pg_dumpall.sh)

4. pgsql/src/bin/pg_dump pg_dump.c pg_dump.h

5. pgsql-server/src/bin/pg_dump pg_dump.c pg_dump ...

6. pgsql/src/bin/pg_dump (common.c pg_backup_archiver.h pg_dump.c pg_dump.h)

7. pgsql/src/bin/pg_dump pg_dump.c pg_dump.h

8. pgsql/src/bin/pg_dump pg_dump.c pg_dump.h

9. pgsql/src/bin/pg_dump common.c pg_dump.c pg_dump.h

10. pgsql/src/bin/pg_dump common.c pg_dump.c pg_dump.h

11. pgsql-server/src/bin/pg_dump pg_dump.c pg_dump ...

12. pgsql/src/bin/pg_dump pg_dump.c pg_dump.h


 
Powered by phpBB® Forum Software