Re: archived WALL files question - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: archived WALL files question
Date
Msg-id 4BCC4BEB0200002500030A75@gw.wicourts.gov
Whole thread Raw
In response to Re: archived WALL files question  (Frederiko Costa <frederiko@gmail.com>)
Responses Re: archived WALL files question
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Frederiko Costa
Date:
Subject: Re: archived WALL files question
Next
From: Frederiko Costa
Date:
Subject: Re: archived WALL files question