Re: Table Partitioning in Postgres:

Поиск
Список
Период
Сортировка
От Jonathan Bartlett
Тема Re: Table Partitioning in Postgres:
Дата
Msg-id Pine.GSU.4.44.0302190341080.17668-100000@eskimo.com
обсуждение исходный текст
Ответ на Re: Table Partitioning in Postgres:  ("Shridhar Daithankar<shridhar_daithankar@persistent.co.in>" <shridhar_daithankar@persistent.co.in>)
Ответы Re: Table Partitioning in Postgres:
Список pgsql-general
> Certainly. But the advantage will not be visible unless you put it on a disk
> that is on separate IDE or SCSI channel. Now that you have a large database,
> are you using more than one SCSI channel? Otherwise just putting on different
> disks will not help as much.

This is quite untrue.  Even going over a single channel, it is highly
unlikely that a single disk or RAID set is going to saturate the channel,
because of disk seek times.  The purpose of putting tables on different
disks than the indexes is so that the disks don't have to keep seeking
back-and-forth between table, index, table, index, table, index, etc.
Likewise with transaction logs, if they have their own disk, the
read/write heads can pretty much stay in the same place with transaaction
log updates.  Using these benefits you are more likely to make full use of
a single channel than otherwise.

Jon


>
>
> > Even Postgresql has to be told to perform vaccum and analyze.
> > If the OS had enough intelligence we could trust it to do a good job,
> > but until then ...
>
> Partially true. Postgresql could have done vacuum at runtime at the cost od
> performance. So developers delegated the task to admin.
>
> Looking for a solution in problem, the real benefits won't be visible unless
> you put it on a different disk channel. Otherwise RAID is your best bait now
> as OS can handle it intelligently and it enhances the IO bandwidth immensely.
>
> Other than that you can not do much with postgresql right now.
>
>  Shridhar
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>


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

Предыдущее
От: "Mark Cave-Ayland"
Дата:
Сообщение: Re: 7.3.1 takes long time to vacuum table?
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: 7.3.1 takes long time to vacuum table?