From: | Peter T Mount <peter(at)retep(dot)org(dot)uk> |
---|---|
To: | fernan(at)iib(dot)unsam(dot)edu(dot)ar, Fernan Aguero <fernan(at)iib(dot)unsam(dot)edu(dot)ar> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Large files on linux |
Date: | 2000-12-12 09:07:33 |
Message-ID: | 976612053.3a35ead5931d0@webmail.retep.org.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Quoting Fernan Aguero <fernan(at)iib(dot)unsam(dot)edu(dot)ar>:
> Dear all:
>
> I am having trouble with large files on a Linux box (RH 6.2). I know
> there
> is a limit of 2 GB on the file size, but do not know if this is kernel
> related, filesystem related or both.
IIRC Partly Kernel, Partly FileSystem.
For large tables we split the tables at the 1Gb point. The Storage Manager then
deals with which file it needs to open when it knows that the file position is
beyond any one 1Gb point.
NB: The source was doing this at the 2Gb point but (6.3.x or 6.4.x I think) I
did some tests for another project and found that Linux didn't like files
exactly 2Gb in size. After discussion here, 1Gb was chosen as a nice round
figure.
--
Peter Mount peter(at)retep(dot)org(dot)uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/
From | Date | Subject | |
---|---|---|---|
Next Message | Peter T Mount | 2000-12-12 11:00:20 | Re: Unanswered questions about Postgre |
Previous Message | fabrizio.ermini | 2000-12-12 08:53:07 | Re: Unanswered questions about Postgre |