Re: [PERFORM] LVM and Postgres

2005-12-08 Thread Rory Campbell-Lange
On 06/12/05, Michael Stone ([EMAIL PROTECTED]) wrote: > On Tue, Dec 06, 2005 at 07:52:25PM -0500, Alex Turner wrote: > >I would argue that almost certainly won't by doing that as you will > >create a new place even further away for the disk head to seek to > >instead of just another file on the sam

Re: [PERFORM] LVM and Postgres

2005-12-06 Thread Kevin Brown
Michael Stone wrote: > Note that the WAL will > wander around the disk as files are created and deleted, whereas tables > are basically updated in place. Huh? I was rather under the impression that the WAL files (in pg_xlog, right?) were reused once they'd been created, so their locations on the

Re: [PERFORM] LVM and Postgres

2005-12-06 Thread Michael Stone
On Tue, Dec 06, 2005 at 07:52:25PM -0500, Alex Turner wrote: I would argue that almost certainly won't by doing that as you will create a new place even further away for the disk head to seek to instead of just another file on the same FS that is probably closer to the current head position. I

Re: [PERFORM] LVM and Postgres

2005-12-06 Thread Alex Turner
I would argue that almost certainly won't by doing that as you will create a new place even further away for the disk head to seek to instead of just another file on the same FS that is probably closer to the current head position. Alex On 12/6/05, Michael Stone <[EMAIL PROTECTED]> wrote: > On Tu

Re: [PERFORM] LVM and Postgres

2005-12-06 Thread Michael Stone
On Tue, Dec 06, 2005 at 09:36:23PM +, Rory Campbell-Lange wrote: Yes, we don't have any spare disks unfortunately. We have enabled the BBU write, so we are hoping for good performance. Even if you don't use seperate disks you'll probably get better performance by putting the WAL on a sepera

Re: [PERFORM] LVM and Postgres

2005-12-06 Thread Rory Campbell-Lange
Hi August. Thanks very much for your mail. On 06/12/05, August Zajonc ([EMAIL PROTECTED]) wrote: > Rory Campbell-Lange wrote: > >The server has a 250GB RAID10 (LSI 320-I + BBU) volume which I am > >thinking of slicing up in the following way (Linux 2.6 kernel): > > > >/ : ext3 : 47GB

Re: [PERFORM] LVM and Postgres

2005-12-06 Thread August Zajonc
Rory Campbell-Lange wrote: The server has a 250GB RAID10 (LSI 320-I + BBU) volume which I am thinking of slicing up in the following way (Linux 2.6 kernel): / : ext3 : 47GB (root, home etc) /boot : ext3 : 1GB /tmp : ext2 : 2GB /usr : ext3 : 4GB /

[PERFORM] LVM and Postgres

2005-12-06 Thread Rory Campbell-Lange
I need to slice up a web server's disk space to provide space for postgres and storing binaries such as images and sound files. I'm thinking of using logical volume management (LVM) to help manage the amount of space I use between postgres and the data volumes. The server has a 250GB RAID10 (LSI 3