Re: How to reduce WAL file Size - Mailing list pgsql-general

From Emanuel Calvo Franco
Subject Re: How to reduce WAL file Size
Date
Msg-id f205bb120910080958h5f7cff42v45a8863d61268346@mail.gmail.com
Whole thread Raw
In response to How to reduce WAL file Size  (Mitesh51 <mit_bca1@yahoo.com>)
List pgsql-general
> By setting postgres.conf params...log files are generated of 16 MB each. How
> can I reduce the size of this files? & can I force the log files to switch
> with any command as we do in mysql like flush log? where we force the new
> log creation ?


pg_switch_xlog() is the switch function.

The option
--with-wal-segsize=SEGSIZE
                          set WAL segment size in MB [16]
when you compile postgresql allow you to change the size of these files (but you
can't do it only restarting :S )



--
              Emanuel Calvo Franco
             DBA at:  www.siu.edu.ar
        www.emanuelcalvofranco.com.ar

pgsql-general by date:

Previous
From: Daniel Shane
Date:
Subject: Tips/Hacks to create minial DB from the execution of several (simple) SQL requests.
Next
From: Tom Lane
Date:
Subject: Re: Give me a HINT or I'll got crazy ;)