max. size for a table

Started by Albertalmost 25 years ago4 messagesgeneral
Jump to latest
#1Albert
mhjuang@gennet.com.tw

Hi all~~

In the documentation of "Limitations of PostgreSQL", the maximum size for a
table is 64TB on all operating system.
I am using Linux(the limitation size of ext2 file is 2GB).
Would anyone tell me if there is any solution to make a table large than 2GB
in Linux using PostgreSQL.
Thank you very much.

Best Regards

Albert

#2Joel Burton
jburton@scw.org
In reply to: Albert (#1)
Re: max. size for a table

On Mon, 23 Apr 2001, Albert wrote:

Hi all~~

In the documentation of "Limitations of PostgreSQL", the maximum size for a
table is 64TB on all operating system.
I am using Linux(the limitation size of ext2 file is 2GB).
Would anyone tell me if there is any solution to make a table large than 2GB
in Linux using PostgreSQL.
Thank you very much.

There are many patches for Linux kernels that remove the 2GB limit (or
alternate filesystems to ext2).

If you're not sure where to start, try a google search : '2GB limitation
remove', which returns a bunch of hits.

Good luck,
--
Joel Burton <jburton@scw.org>
Director of Information Systems, Support Center of Washington

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Joel Burton (#2)
Re: Re: max. size for a table

In the documentation of "Limitations of PostgreSQL", the maximum size for a
table is 64TB on all operating system.

And you disbelieved that why, exactly?

I am using Linux(the limitation size of ext2 file is 2GB).

Doesn't bother Postgres. If you've got the disk space, we'll gladly
eat it up ;-)

regards, tom lane

#4Oliver Elphick
olly@lfix.co.uk
In reply to: Albert (#1)
Re: max. size for a table

"Albert" wrote:

Hi all~~

In the documentation of "Limitations of PostgreSQL", the maximum size for a
table is 64TB on all operating system.
I am using Linux(the limitation size of ext2 file is 2GB).
Would anyone tell me if there is any solution to make a table large than 2GB
in Linux using PostgreSQL.

PostgreSQL splits the table into chunks that the filesystem can handle.

--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"That Christ may dwell in your hearts by faith; that
ye, being rooted and grounded in love, May be able to
comprehend with all saints what is the breadth, and
length, and depth, and height; And to know the love of
Christ, which passeth knowledge, that ye might be
filled with all the fullness of God."
Ephesians 3:17-19