Re: Out of space situation and WAL log pre-allocation (was Tablespaces) - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Out of space situation and WAL log pre-allocation (was Tablespaces)
Date
Msg-id 004a01c400a9$225e3990$5baa87d9@LaptopDellXP
Whole thread Raw
In response to Re: Tablespaces  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Out of space situation and WAL log pre-allocation (was Tablespaces)
List pgsql-hackers
Tom Lane [mailto:tgl@sss.pgh.pa.us]
> "Simon Riggs" <simon@2ndquadrant.com> writes:
> > You're absolutely right about the not-knowing when you're out of
space
> > issue. However, if the xlog has been written then it is not
desirable,
> > but at least acceptable that the checkpoint/bgwriter cannot complete
on
> > an already committed txn. It's not the txn which is getting the
error,
> > that's all.
> 
> Right.  This is in fact not a fatal situation, as long as you don't
run
> out of preallocated WAL space.  

...following on also from thoughts on [PERFORM] list...

Clearly running out of pre-allocated WAL space is likely to be the next
issue. Running out of space in the first place is likely to be because
of an intense workload, which is exactly the thing which also makes you
run out of pre-allocated WAL space. Does that make sense?

Best regards, Simon Riggs




pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: IN and ANY
Next
From: Curt Sampson
Date:
Subject: Re: Check Constraints and pg_dump