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 4A01ED1D587 for ; Wed, 19 Nov 2003 15:14:10 +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 90922-03 for ; Wed, 19 Nov 2003 11:13:43 -0400 (AST) Received: from colsweeper.cranel.com (newmail.cranel.com [12.32.71.147]) by svr1.postgresql.org (Postfix) with ESMTP id 5FB8ED1C914 for ; Wed, 19 Nov 2003 11:13:38 -0400 (AST) Received: from colmail01.cranel.com (colmail01.cranel.com) by colsweeper.cranel.com (Content Technologies SMTPRS 4.2.5) with ESMTP id ; Wed, 19 Nov 2003 10:15:19 -0500 Received: from cranel.com (gspiegelberg.cranel.com [192.168.11.134]) by colmail01.cranel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id XCPXWAG3; Wed, 19 Nov 2003 10:16:51 -0500 Message-ID: <3FBB889F.1050404@cranel.com> Date: Wed, 19 Nov 2003 10:13:35 -0500 From: Greg Spiegelberg Organization: Cranel, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: mail@iond.it Cc: pgsql-admin@postgresql.org Subject: Re: Postgresql DB on a live cd References: <200311191133.05741.mail@iond.it> <200311191445.36827.mail@iond.it> In-Reply-To: <200311191445.36827.mail@iond.it> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/352 X-Sequence-Number: 11339 Why not have a static copy of the pg_clog on boot, copy it to a ramdisk and point Postgres there? Greg mail@iond.it wrote: >>http://www.varlena.com/varlena/GeneralBits/42.php >>Regards >>Inaki > > > Thank you Inaki for the direction, > > This is the interesting part : > > --> log file -- this can be directed to /dev/null > --> There are ways to stop the writing to the log file and pgstat.stat, but pg_clog cannot be turned off. > > Sorry for my questions but I'm a newbie postgresql user. > > Real data are only in pgsql/data/base ? > Does postmaster open these files in read-write mode ? > > What is defined as "log file" is in pgsql/data/pg_xlog ? > Here I have the biggest files and if these ones are only logs I could turning off them. > Please, can you give me any direction how to do it, or how to redirect them to /dev/null ? > > I don't care about turning off pc_clog, can put it in ramdisk. > > Thanks > > Lucio > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) -- Greg Spiegelberg Sr. Product Development Engineer Cranel, Incorporated. Phone: 614.318.4314 Fax: 614.431.8388 Email: gspiegelberg@Cranel.com Cranel. Technology. Integrity. Focus.