X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id E46FAD1D25D for ; Thu, 20 Nov 2003 08:50:44 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 87955-01 for ; Thu, 20 Nov 2003 04:50:15 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 46896D1CA0F for ; Thu, 20 Nov 2003 04:50:13 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id hAK8oBO0070533 for ; Thu, 20 Nov 2003 08:50:13 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id hAK8laX2069938 for pgsql-admin@postgresql.org; Thu, 20 Nov 2003 08:47:36 GMT From: Ron Mayer X-Newsgroups: comp.databases.postgresql.admin Subject: Re: Postgresql DB on a live cd Date: Thu, 20 Nov 2003 00:47:34 -0800 Organization: Hub.Org Networking Services Lines: 16 Message-ID: <3FBC7FA6.8020706@cheapcomplexdevices.com> References: <200311191119.33444.luke@iond.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org To: Lucio User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6a) Gecko/20031029 X-Accept-Language: en-us, en In-Reply-To: <200311191119.33444.luke@iond.it> To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/366 X-Sequence-Number: 11353 Lucio wrote: > > This application uses a static (read-only, no insert, modify or delete) 200MB > postgresql db, so can't put pgsql/data/base and pgsql/data/pg_xlog in ramdisk. One thing I don't think I saw mentioned yet....I think certain queries create temporary tables (or at least use some temporary space) so ..../base/[whatevernumber]/pgsql_tmp should be a symlink to something on the ramdisk as well. (Kinda off-topic -- anecdotally it feels to me that some queries go faster if I put /pgsql_tmp on a different device & disk controller. If I verify this I'll post results to perform) Ron Mayer rm_pg@cheapcomplexdevices.com