pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedRe: partitioning for postgresql
3+ messages / 3 participants
[nested] [flat]
* Re: partitioning for postgresql
@ 2003-08-06 20:09 scott.marlowe <scott.marlowe@ihs.com>
parent: Wilson A. Galafassi Jr. <juniorlist@yahoo.com.br>
0 siblings, 0 replies; 3+ messages in thread
From: scott.marlowe @ 2003-08-06 20:09 UTC (permalink / raw)
To: Wilson A. Galafassi Jr. <juniorlist@yahoo.com.br>; +Cc: pgsql-performance
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.
^ permalink raw reply [nested|flat] 3+ messages in thread
* partitioning for postgresql
@ 2003-08-06 20:09 Wilson A. Galafassi Jr. <juniorlist@yahoo.com.br>
0 siblings, 1 reply; 3+ messages in thread
From: Wilson A. Galafassi Jr. @ 2003-08-06 20:09 UTC (permalink / raw)
To: pgsql-performance
hello!!!
what is suggested partitioning schema for postgresql??
the size of my db is 5BG and i have 36GB scsi disk!
thanks
wilson
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: partitioning for postgresql
@ 2003-08-06 20:51 Christopher Browne <cbbrowne@libertyrms.info>
0 siblings, 0 replies; 3+ messages in thread
From: Christopher Browne @ 2003-08-06 20:51 UTC (permalink / raw)
To: Wilson A. Galafassi Jr. <juniorlist@yahoo.com.br>; +Cc: pgsql-performance
> 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"
<http://dev6.int.libertyrms.com/;
Christopher Browne
(416) 646 3304 x124 (land)
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2003-08-06 20:51 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-08-06 20:09 partitioning for postgresql Wilson A. Galafassi Jr. <juniorlist@yahoo.com.br>
2003-08-06 20:09 ` scott.marlowe <scott.marlowe@ihs.com>
2003-08-06 20:51 Re: partitioning for postgresql Christopher Browne <cbbrowne@libertyrms.info>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox