Re: partitioning for postgresql

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: partitioning for postgresql
Дата
Msg-id Pine.LNX.4.33.0308061406350.16343-100000@css120.ihs.com
обсуждение исходный текст
Ответ на partitioning for postgresql  ("Wilson A. Galafassi Jr." <juniorlist@yahoo.com.br>)
Список 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.


В списке pgsql-performance по дате отправления:

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: How to efficiently duplicate a whole schema?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: EXTERNAL storage and substring on long strings