Re: archived WALL files question

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Frederiko Costa" <frederiko(at)gmail(dot)com>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: archived WALL files question
Date: 2010-04-19 17:26:19
Message-ID: 4BCC4BEB0200002500030A75@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Frederiko Costa <frederiko(at)gmail(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Frederiko Costa 2010-04-19 17:49:51 Re: archived WALL files question
Previous Message Frederiko Costa 2010-04-19 17:10:14 Re: archived WALL files question