Received: from daimler-benz.com (pluto5.daimler-benz.com [53.122.2.35]) by hub.org (8.9.3/8.9.3) with SMTP id HAA11396 for ; Wed, 31 May 2000 07:46:04 -0400 (EDT) (envelope-from norbert.meissner@str.daimler-benz.com) Received: by daimler-benz.com; id NAA00233; Wed, 31 May 2000 13:50:06 +0200 Received: from unknown(53.113.75.10) by pluto5.daimler-benz.com via smap (V5.0) id xma000141; Wed, 31 May 00 13:49:55 +0200 Received: from syssun11f.rrz.debis.str.daimler-benz.com (C007FB66.ut.str.daimler-benz.com [53.114.91.4]) by syssun11.rrz.debis.str.daimler-benz.com (8.8.8/8.8.8) with ESMTP id NAA13969; Wed, 31 May 2000 13:45:16 +0200 (MET DST) Message-ID: <3934F989.15BCDFE7@syssun11f.rrz.debis.str.daimler-benz.com> Date: Wed, 31 May 2000 13:37:45 +0200 From: Norbert Meissner Reply-To: norbert.meissner@str.daimler-benz.com X-Mailer: Mozilla 4.51 [de]C-CCK-MCD BS/IKB Version 4.51.01 (WinNT; I) X-Accept-Language: de-DE,en MIME-Version: 1.0 To: HENAFF Mari-mai FTRD/DMI/LAN CC: pgsql-admin@postgresql.org Subject: Re: table size limit under Linux References: <7D59335FDAE0D011A3350060974B1C7202EBC832@l-mhs3.lannion.cnet.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200005/54 Hi Mari, as far as i know is the table size limited through the size of int4 (=size of oid, 32 Bits). This means that you can have an amount 4 "Gigarows" in one table. There are some people working on the 2 GB Limitation on the Linux filesystem. I remember an article about this in a german computer magazine. It seems that they will break the barrier in autumn. In the moment you have to patch many things in the system to get filesizes over 2 GB and no one will guarantee that it will work stable then. If you aren't bound to linux, you can use FreeBSD, another free *ix OS. It has a maximum filesize of 2 TB and it is even more stable than linux. Of course it will run PostgreSQL too ;-) Norbert HENAFF Mari-mai FTRD/DMI/LAN schrieb: > I read that postgres table size is unlimited. > But, a postgres table is stored into a file, and the size of a file is > limited to approximately 2 Giga Bytes under Linux. > > I tried to test this by inserting hundreds of thousands of rows into a table > : my insert queries failed when the file containing the table reached > approximately 2 Giga Bytes (under Linux). > > So, it seems that the size of a Postgres table is limited to the maximum > file size under Linux (approximately 2 Giga Bytes). > Can anyone confirm that to me ? > If it is possible to have tables of unlimited size under Linux, can anyone > tell me how to do that ? > > Thanks.