From: Greg Spiegelberg <gspiegelberg@cranel.com>
To: mail@iond.it
Cc: pgsql-admin@postgresql.org
Subject: Re: Postgresql DB on a live cd
Date: Wed, 19 Nov 2003 10:13:35 -0500
Message-ID: <3FBB889F.1050404@cranel.com> (raw)
In-Reply-To: <200311191445.36827.mail@iond.it>
References: <200311191133.05741.mail@iond.it>
<200311191445.36827.mail@iond.it>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: gspiegelberg@cranel.com, mail@iond.it
Subject: Re: Postgresql DB on a live cd
In-Reply-To: <3FBB889F.1050404@cranel.com>
References: <200311191133.05741.mail@iond.it> <200311191445.36827.mail@iond.it> <3FBB889F.1050404@cranel.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox