Re: How to reduce WAL file Size

Поиск
Список
Период
Сортировка
От Emanuel Calvo Franco
Тема Re: How to reduce WAL file Size
Дата
Msg-id f205bb120910080958h5f7cff42v45a8863d61268346@mail.gmail.com
обсуждение исходный текст
Ответ на How to reduce WAL file Size  (Mitesh51 <mit_bca1@yahoo.com>)
Список 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 по дате отправления:

Предыдущее
От: Daniel Shane
Дата:
Сообщение: Tips/Hacks to create minial DB from the execution of several (simple) SQL requests.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Give me a HINT or I'll got crazy ;)