Re: WAL Log Size
От | Erik Jones |
---|---|
Тема | Re: WAL Log Size |
Дата | |
Msg-id | 965CB986-7659-49B6-BA5F-6C0AB67A9C3F@myemma.com обсуждение исходный текст |
Ответ на | Re: WAL Log Size (Alan Hodgson <ahodgson@simkin.ca>) |
Ответы |
Re: WAL Log Size
|
Список | pgsql-general |
On Feb 28, 2008, at 12:51 PM, Alan Hodgson wrote: > On Thursday 28 February 2008, John Evans <admin@kilnar.com> wrote: >> I've heard that upgrading to 8.2 or 8.3 will allow me to setup a >> timeout value for WAL log creation, but upgrading at this time is >> not an >> option for various reasons. >> >> Any insight that you can provide will be greatly appreciated! > > Write a script that does "something" that results in 16MB of WAL > logging and > run it whenever you want a rotation to occur. Inserting a few hundred > thousand rows into an otherwise empty table should work. If it's not > indexed it won't impact your server much, especially if your normal > transaction volume is that low. Or, even simpler: SELECT pg_switch_xlog(); Erik Jones DBA | Emma® erik@myemma.com 800.595.4401 or 615.292.5888 615.292.0777 (fax) Emma helps organizations everywhere communicate & market in style. Visit us online at http://www.myemma.com
В списке pgsql-general по дате отправления: