Re: [PERFORM] partitioning for postgresql

2003-08-14 Thread scott.marlowe
On Wed, 6 Aug 2003, Wilson A. Galafassi Jr. wrote:

> hello!!!
> what is suggested partitioning schema for postgresql??
> the size of my db is 5BG and i have 36GB scsi disk!

The first recommendation is to run Postgresql on a RAID set for 
reliability.  

I'm assuming you're building a machine and need to put both the OS and 
Postgresql database on that one disk.

If that's the case, just put the OS on however you like (lotsa different 
ways to partition for the OS) and leave about 30 gig for Postgresql to run 
in, then just put the whole database $PGDATA directory on that partition.

I'd recommend running ext3 with meta data journaling only for speed,
security, and ease of setup and use.  XFS is the next choice, which is a 
little harder to setup, as it's not included in most distros, but is 
definitely faster than ext3 at most stuff.


---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings


Re: [PERFORM] partitioning for postgresql

2003-08-09 Thread Christopher Browne
> what is suggested partitioning schema for postgresql?? 
> the size of my db is 5BG and i have 36GB scsi disk! 

The interesting forms of partitioning kind of assume that you have
multiple disk drives.

If you only have one drive, then there is not terribly much reason to
prefer anything much over simply having one big partition, and letting
the data fall where it will.

If you had two drives, then it would make sense to have data on one
drive and WAL on the other.  With three drives, having other I/O (such
as database logging) on a third drive would have merit.

But none of those approaches are useful if you only have one disk
drive.
-- 
"cbbrowne","@","libertyrms.info"

Christopher Browne
(416) 646 3304 x124 (land)

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html