Thread: max. size for a table

max. size for a table

From
"Albert"
Date:
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



Re: max. size for a table

From
Joel Burton
Date:
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


Re: Re: max. size for a table

From
Tom Lane
Date:
>> 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

Re: max. size for a table

From
"Oliver Elphick"
Date:
"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