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 60FAD310A59 for ; Tue, 1 Jul 2003 19:14:05 +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 03439-08 for ; Tue, 1 Jul 2003 16:13:54 -0300 (ADT) Received: from www.postgresql.com (www.postgresql.com [64.117.225.209]) by svr1.postgresql.org (Postfix) with ESMTP id 57661310CAD for ; Tue, 1 Jul 2003 16:12:47 -0300 (ADT) Received: from exchange_geral.intra.cet.pt (unknown [194.65.138.11]) by www.postgresql.com (Postfix) with ESMTP id 3C765CF76B1 for ; Tue, 1 Jul 2003 15:41:12 -0300 (ADT) Received: from [10.112.80.105] (10.112.80.105 [10.112.80.105]) by exchange_geral.intra.cet.pt with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 3CMCK259; Tue, 1 Jul 2003 19:44:58 +0100 Subject: embed postgresql installation : tuning size/performance [off-topic] From: Pedro Salazar To: pgsql-admin@postgresql.org Content-Type: text/plain Organization: Portugal Telecom Inovação, S.A. Message-Id: <1057084731.4468.39.camel@vitoria.intra.cet.pt> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 01 Jul 2003 19:38:52 +0100 Content-Transfer-Encoding: 7bit X-Archive-Number: 200307/21 X-Sequence-Number: 9362 Greetings, I'm working on small linux distribution (about 80Mb) to put it in on a USB flash device (128Mb probably). I'm interested to deploy a postgresql database but I would like to reduce its size to the maximum possible - space is vital. 1) I have one installation in my workstation (7.3.2) with java support and the size in /usr/local/pgqsl (bin,lib,include) is about 9.2Mb. The installation of postgresql binaries+lib files are only inside /usr/local/pgsql directory (--prefix)? So, can I assume I have to add only this space to my linux distribution? Or there are other files? 2) Can I strip out the debug and symbols information from the libraries and binaries? 3) Is possible to limit the size of my database in a similar way we do in oracle datafiles, or should we put it in a separate partition to avoid the growing of a database files? 4) The read/write access to the USB device is weak point of my platform (USB1.1 ~1Mb/s and USB2.0 ~4.7Mb/s). I'm thinking in ext2/ext3/reiserfs to the filesystem. Do you have any advice to the tuning of my database? thanks, Pedro Salazar. -- PS pedro-b-salazar@ptinovacao.pt PGP:0E129E31D803BC61