pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Albertson <calbertson@logicon.com>
To: norbert.meissner@str.daimler-benz.com
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: HENAFF Mari-mai FTRD/DMI/LAN <marimai.henaff@rd.francetelecom.fr>
Cc: pgsql-admin@postgresql.org
Subject: Re: table size limit under Linux
Date: Wed, 31 May 2000 10:57:46 -0700
Message-ID: <3935529A.A4CB0435@logicon.com> (raw)
References: <200005311549.LAA06799@candle.pha.pa.us>
	<393546FB.57884026@syssun11f.rrz.debis.str.daimler-benz.com>

Norbert Meissner wrote:
> 
> > > How do you go beyond 2gigs on a single file on ext2fs (like
> > > the major linux distributions delivering) ? magic?
> >
> > Split the files into 1 gig segments.
> >
> 
> Excuse my dumb questions, but is this a capability of linux or postgresql ?
> Can you point me to a location where i can read more ?

In Postgresql this is done inside the storage manager.  The code is
acrually quite simple amd not hard to read.

The limit now is the OID.  This is a 32-bit integer and OIDs are
unique within a database not just a table. (Someone please correct me
if I am wrong) So you can have only 4 giga-rows in a database.  Our
project may bump into this limit in a few years but by then maybe
Postgresql will allow 64 bit OIDs
> 
> Thanks in advance
> Norbert

-- 
  Chris Albertson

  calbertson@logicon.com                  Voice: 626-351-0089  x17
  Logicon, Pasadena California            Fax:   626-351-0699



view thread (9+ messages)

Message-ID: <3935529A.A4CB0435@logicon.com>
Permalink:  ../3935529A.A4CB0435@logicon.com/
Also on:    postgresql.org/message-id/3935529A.A4CB0435@logicon.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: calbertson@logicon.com, norbert.meissner@str.daimler-benz.com, pgman@candle.pha.pa.us, marimai.henaff@rd.francetelecom.fr
  Subject: Re: table size limit under Linux
  In-Reply-To: <3935529A.A4CB0435@logicon.com>
  References: <200005311549.LAA06799@candle.pha.pa.us> <393546FB.57884026@syssun11f.rrz.debis.str.daimler-benz.com> <3935529A.A4CB0435@logicon.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox