Re: 2 gig file size limit

From: "Neil Conway" <nconway(at)klamath(dot)dyndns(dot)org>
To: nwalker(at)eldocomp(dot)com
Cc: pgman(at)candle(dot)pha(dot)pa(dot)us, pgsql-hackers(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: 2 gig file size limit
Date: 2001-07-10 23:17:05
Message-ID: 2585.192.168.40.6.994807025.squirrel@klamath.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-jdbc pgsql-patches

(This question was answered several days ago on this list; please check
the list archives before posting. I believe it's also in the FAQ.)

> If PostgreSQL is run on a system that has a file size limit (2
> gig?), where might cause us to hit the limit?

Postgres will never internally use files (e.g. for tables, indexes,
etc) larger than 1GB -- at that point, the file is split.

However, you might run into problems when you export the data from Pg
to another source, such as if you pg_dump the contents of a database >
2GB. In that case, filter pg_dump through gzip or bzip2 to reduce the
size of the dump. If that's still not enough, you can dump individual
tables (with -t) or use 'split' to divide the dump into several files.

Cheers,

Neil

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mikheev, Vadim 2001-07-10 23:18:36 RE: Re: MVCC article
Previous Message Stephan Szabo 2001-07-10 23:10:24 Re: Grab data WHERE table.ID NOT LIKE otherTable.ID

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-07-10 23:36:06 Re: Re: Time to read pg_hba.conf (Re: [PATCHES] [PATCH] Patch to make...)
Previous Message Tom Lane 2001-07-10 22:47:13 Re: grant and SQL92

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bruce Momjian 2001-07-11 01:01:48 Re: 2 gig file size limit
Previous Message Peter Eisentraut 2001-07-10 22:03:34 Re: Re: Too much data received?

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2001-07-10 23:20:28 Re: patch for spelling mistake
Previous Message Tom Lane 2001-07-10 21:42:37 Re: Time to read pg_hba.conf (Re: [PATCHES] [PATCH] Patch to make...)