Re: log file? - Mailing list pgsql-general

From Richard Huxton
Subject Re: log file?
Date
Msg-id 200211051047.40020.dev@archonet.com
Whole thread Raw
In response to log file?  (Florian Litot <flitot@besancon.sema.slb.com>)
Responses Re: log file?  (Florian Litot <flitot@besancon.sema.slb.com>)
List pgsql-general
On Tuesday 05 Nov 2002 8:56 am, Florian Litot wrote:
> hi
> i have got a lot of file which is create
> DEBUG:  recycled transaction log file 0000000100000037
> DEBUG:  recycled transaction log file 0000000100000038
> DEBUG:  recycled transaction log file 0000000100000039
> DEBUG:  recycled transaction log file 000000010000003A
> DEBUG:  recycled transaction log file 000000010000003B
> DEBUG:  recycled transaction log file 000000010000003C
> why is it create?
> and what is this folder? pg_xlog
> how i can reduce the number of this files because it takes a lot of place
> thanks

PG writes all transactions to disk before actually making changes so that you
can recover in the event of a crash. It splits this transaction log into
chunks and recycles them when all the transactions it refers to are no longer
of interest.

Read up on WAL for more details and configuration options in the
postgresql.conf file.

--
  Richard Huxton

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: executing delete in a case statement?
Next
From: Florian Litot
Date:
Subject: Re: log file?