Re: [GENERAL] Basic question on recovery and disk snapshotting

2013-05-01 Thread Jeff Janes
On Saturday, April 27, 2013, Yang Zhang wrote: On Sat, Apr 27, 2013 at 11:55 AM, Jeff Janes jeff.ja...@gmail.comjavascript:; wrote: On Sat, Apr 27, 2013 at 10:40 AM, Yang Zhang yanghates...@gmail.comjavascript:; wrote: My question really boils down to: if we're interested in using COW

Re: [GENERAL] Basic question on recovery and disk snapshotting

2013-05-01 Thread Yang Zhang
On Wed, May 1, 2013 at 4:56 PM, Jeff Janes jeff.ja...@gmail.com wrote: That brings up another point to consider. If wal level is minimal, then tables which you bulk load in the same transaction as you created them or truncated them will not get any WAL records written. (That is the main

Re: [GENERAL] Basic question on recovery and disk snapshotting

2013-04-30 Thread Ben Chobot
On Apr 27, 2013, at 10:40 AM, Yang Zhang wrote: My question really boils down to: if we're interested in using COW snapshotting (a common feature of modern filesystems and hosting environments), would we necessarily need to ensure the data and pg_xlog are on the same snapshotted volume? If

Re: [GENERAL] Basic question on recovery and disk snapshotting

2013-04-27 Thread Tom Lane
Yang Zhang yanghates...@gmail.com writes: My question really boils down to: if we're interested in using COW snapshotting (a common feature of modern filesystems and hosting environments), would we necessarily need to ensure the data and pg_xlog are on the same snapshotted volume? Yeah, I

Re: [GENERAL] Basic question on recovery and disk snapshotting

2013-04-27 Thread Jeff Janes
On Sat, Apr 27, 2013 at 10:40 AM, Yang Zhang yanghates...@gmail.com wrote: On Sat, Apr 27, 2013 at 4:25 AM, Jov am...@amutu.com wrote: Are you sure the EBS snapshot is consistent? if the snapshot is not consistent,enven on the same volume,you will have prolbems with your backup. I think

Re: [GENERAL] Basic question on recovery and disk snapshotting

2013-04-27 Thread Yang Zhang
On Sat, Apr 27, 2013 at 11:55 AM, Jeff Janes jeff.ja...@gmail.com wrote: On Sat, Apr 27, 2013 at 10:40 AM, Yang Zhang yanghates...@gmail.com wrote: My question really boils down to: if we're interested in using COW snapshotting (a common feature of modern filesystems and hosting environments),

[GENERAL] Basic question on recovery and disk snapshotting

2013-04-26 Thread Yang Zhang
We're running on EBS volumes on EC2. We're interested in leveraging EBS snapshotting for backups. However, does this mean we'd need to ensure our pg_xlog is on the same EBS volume as our data? (I believe) the usual reasoning for separating pg_xlog onto a separate volume is for performance.