Re: WAL Log Size - Mailing list pgsql-general

From Sam Mason
Subject Re: WAL Log Size
Date
Msg-id 20080229000020.GJ1653@frubble.xen.chris-lamb.co.uk
Whole thread Raw
In response to Re: WAL Log Size  (Greg Smith <gsmith@gregsmith.com>)
Responses Re: WAL Log Size
List pgsql-general
On Thu, Feb 28, 2008 at 04:35:44PM -0500, Greg Smith wrote:
> Courtesy of Simon (
> http://archives.postgresql.org/pgsql-general/2007-06/msg00015.php ) you
> can force 16MB worth of WAL activity that doesn't leave any changes behind
> with:
>
> create table xlog_switch as
> select '0123456789ABCDE' from generate_series(1,1000000);
> drop table xlog_switch;

Just out of interest, why doesn't it do the following?

  BEGIN;
  create table xlog_switch as
    select '0123456789ABCDE' from generate_series(1,1000000);
  ROLLBACK;


Thanks,
  Sam

pgsql-general by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: "Consider compacting this relation..." ???
Next
From: Tim Rupp
Date:
Subject: rule question