pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ray Stell <stellr@vt.edu>
To: Wells Oliver <wellsoliver@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Massive insert created 975 WAL segments.. what?
Date: Tue, 11 Sep 2012 21:45:41 -0400
Message-ID: <702E8E72-E666-4870-B7F2-0B8FAC0781BC@gmail.com> (raw)
In-Reply-To: <CAOC+FBXHz7uGwFgO+WNMWabx_zgqyA8UvdPgNhSCkHojR0LrOQ@mail.gmail.com>
References: <CAOC+FBXHz7uGwFgO+WNMWabx_zgqyA8UvdPgNhSCkHojR0LrOQ@mail.gmail.com>


On Sep 11, 2012, at 8:10 PM, Wells Oliver wrote:

> So, now I have 16GB of WAL segments, 974 of them. Will postgresql clean this up? Will it remove these files? Will it create more with big inserts?
> 
> What is the best way to manage this?

http://www.postgresql.org/docs/9.2/static/pgarchivecleanup.html

you can use this in conjunction with your backup facility/scipts.  Don't want to clean them up until you have a backup, right?



view thread (3+ messages)  latest in thread

Message-ID: <702E8E72-E666-4870-B7F2-0B8FAC0781BC@gmail.com>
Permalink:  ../702E8E72-E666-4870-B7F2-0B8FAC0781BC@gmail.com/
Also on:    postgresql.org/message-id/702E8E72-E666-4870-B7F2-0B8FAC0781BC@gmail.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: stellr@vt.edu, wellsoliver@gmail.com
  Subject: Re: Massive insert created 975 WAL segments.. what?
  In-Reply-To: <702E8E72-E666-4870-B7F2-0B8FAC0781BC@gmail.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