X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 184A830F6BE for ; Tue, 1 Jul 2003 13:31:34 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 67894-03 for ; Tue, 1 Jul 2003 10:31:23 -0300 (ADT) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by svr1.postgresql.org (Postfix) with ESMTP id 1521130F623 for ; Tue, 1 Jul 2003 10:31:23 -0300 (ADT) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.9/8.12.9) with ESMTP id h61DUBQX019177; Tue, 1 Jul 2003 07:30:11 -0600 (MDT) Date: Tue, 1 Jul 2003 07:24:30 -0600 (MDT) From: "scott.marlowe" To: Greg Spiegelberg Cc: Subject: Re: Max file size In-Reply-To: <3F0179A8.2010208@cranel.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner: Found to be clean X-MailScanner-SpamCheck: X-Archive-Number: 200307/17 X-Sequence-Number: 9358 On Tue, 1 Jul 2003, Greg Spiegelberg wrote: > scott.marlowe wrote: > > On Tue, 1 Jul 2003, mauricio wrote: > > > > > >>Hi, > >>I'm evaluating some DB and one of the things i'd like to know is the > >>maximum size of a file that postgres can handle with. cause i'm planning > >>to have a centalized database the must have some billion records. > > > > > > In it's default configuration Postgresql autosplits table at approximately > > 1 gigabyte. Therefore, it has no built in limit to table size. > > > > If you have an OS that can handle larger files, you can compile postgresql > > to use larger file sizes. I have seen no great improvement in speed in > > using one large file for a table over splitting at 1Gig. > > Hrm. This all ought to be dependent on record size and operating > system limits on the number of file descriptors, shouldn't it? not sure what you mean. The number of file descriptors isn't usually a big issue unless you've got a default installation of an older OS, the number of file descriptors won't likely be an issue unless you need to startup a lot of backends.