From rdewan@cisco.com Mon Feb 25 21:36:02 2002 Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.24.11]) by postgresql.org (Postfix) with ESMTP id C366647626D for ; Mon, 25 Feb 2002 16:36:02 -0500 (EST) Received: from fedex.cisco.com (fedex.cisco.com [171.69.17.28]) by sj-msg-core-2.cisco.com (8.11.3/8.9.1) with ESMTP id g1PLa3E19071 for ; Mon, 25 Feb 2002 13:36:03 -0800 (PST) Received: from rdewanlaptop2 (dhcp-128-107-147-109.cisco.com [128.107.147.109]) by fedex.cisco.com (Mirapoint) with ESMTP id ABA13592; Mon, 25 Feb 2002 13:34:17 -0800 (PST) From: "Rohit Dewan" To: Subject: Minimum database size Date: Mon, 25 Feb 2002 13:36:02 -0800 Organization: Cisco Systems Message-ID: <003701c1be44$6c939770$6d936b80@amer.cisco.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0038_01C1BE01.5E705770" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Archive-Number: 200202/357 X-Sequence-Number: 3509 This is a multi-part message in MIME format. ------=_NextPart_000_0038_01C1BE01.5E705770 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit What is the size of an empty database? I heard somewhere that a DB created using CreateDB has a default size of about 20MB. Is that true and is that default size configurable. Thanks, Rohit ------=_NextPart_000_0038_01C1BE01.5E705770 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

What is the size of an empty database? I heard somewhere that a DB created using CreateDB has a default size of about 20MB. Is that = true and is that default size configurable.

 

Thanks,

Rohit

------=_NextPart_000_0038_01C1BE01.5E705770-- From peter_e@gmx.net Tue Feb 26 19:47:54 2002 Received: from student.gvsu.edu (unknown [148.61.7.124]) by postgresql.org (Postfix) with ESMTP id B8CF64767F1 for ; Tue, 26 Feb 2002 14:47:54 -0500 (EST) Received: from [148.61.250.38] [148.61.250.38] by student.gvsu.edu with Novonyx SMTP Server $Revision: 2.74 $; Tue, 26 Feb 2002 14:47:49 -0500 (EDT) Date: Tue, 26 Feb 2002 14:50:55 -0500 (EST) From: Peter Eisentraut X-Sender: To: Rohit Dewan Cc: Subject: Re: Minimum database size In-Reply-To: <003701c1be44$6c939770$6d936b80@amer.cisco.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200202/367 X-Sequence-Number: 3520 Rohit Dewan writes: > What is the size of an empty database? Have you considered just creating one and looking? > I heard somewhere that a DB created using CreateDB has a default size > of about 20MB. Is that true and is that default size configurable. The size of an empty database is not determined by the amount of useless data that's put in there. In other words, no, you can't configure it. In some installation I have here, the size of an empty database appears to be about 2MB, but you will find that the database cluster overhead is much more than that. You can control some aspect of that by reducing the number of WAL files, but that will really kill the performance for only a relatively small space gain. -- Peter Eisentraut peter_e@gmx.net