pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Frederiko Costa <frederiko@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: archived WALL files question
Date: Mon, 19 Apr 2010 12:26:19 -0500
Message-ID: <4BCC4BEB0200002500030A75@gw.wicourts.gov> (raw)
In-Reply-To: <4BCC8E76.2040105@gmail.com>
References: <7965A9DCF12CC14984420BCC37B1608F25AC0B99AD@Elzar.grant.co.uk>
	<4BC6F21D0200002500030956@gw.wicourts.gov>
	<7965A9DCF12CC14984420BCC37B1608F25AC0B99E4@Elzar.grant.co.uk>
	<4BCC7804.9070604@gmail.com>
	<4BCC415D0200002500030A6B@gw.wicourts.gov>
	<4BCC8E76.2040105@gmail.com>

Frederiko Costa <frederiko@gmail.com> wrote: 
> I have seen new 16 MB segments files created in pg_xlog directory
> as time goes on. Honestly, I did not understand why it got
> created, because I was running it on a VM and there was no
> activity. I got several new segments.
> 
> If I run the command you asked, this is the output. Neither
> segment is copied, nor a new segment file gets created:
> 
>   select pg_switch_xlog();
>   pg_switch_xlog
> ----------------
>   0/81000088
> (1 row)
 
What version of PostgreSQL is this?
 
What do you see if you run?:
 
show archive_command;
show archive_mode;
show archive_timeout;
 
Check your log file from the time you ran pg_switch_xlog to look for
any messages which might give a clue to what's happening.
 
-Kevin



view thread (15+ messages)  latest in thread

Message-ID: <4BCC4BEB0200002500030A75@gw.wicourts.gov>
Permalink:  ../4BCC4BEB0200002500030A75@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4BCC4BEB0200002500030A75@gw.wicourts.gov

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, frederiko@gmail.com
  Subject: Re: archived WALL files question
  In-Reply-To: <4BCC4BEB0200002500030A75@gw.wicourts.gov>
  References: <7965A9DCF12CC14984420BCC37B1608F25AC0B99AD@Elzar.grant.co.uk> <4BC6F21D0200002500030956@gw.wicourts.gov> <7965A9DCF12CC14984420BCC37B1608F25AC0B99E4@Elzar.grant.co.uk> <4BCC7804.9070604@gmail.com> <4BCC415D0200002500030A6B@gw.wicourts.gov> <4BCC8E76.2040105@gmail.com> <4BCC4BEB0200002500030A75@gw.wicourts.gov>

* 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