Re: Table Partitions / Partial Indexes

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Table Partitions / Partial Indexes
Дата
Msg-id 1134515825.27873.122.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Table Partitions / Partial Indexes  (Mike C <smith.not.western@gmail.com>)
Ответы Re: Table Partitions / Partial Indexes
Список pgsql-performance
On Mon, 2005-12-12 at 15:07 +1300, Mike C wrote:

> Partitioning on date range doesn't make much sense for this setup,
> where a typical 1-month query spans both tables (as the billing month
> for the customer might start midway through a calendar month).

Maybe not for queries, but if you use a date range then you never need
to run a DELETE and never need to VACUUM.

You could split the data into two-day chunks.

> Am I using a horrid method for partitioning the data? (% 10)

No, but what benefit do you think it provides. I'm not sure I see...

> Should there be that big of an improvement for multiple tables given
> that all the data is still stored on the same filesystem?

You could store partitions in separate tablespaces/filesystems.

Best Regards, Simon Riggs


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: query from partitions
Следующее
От: "Tomeh, Husam"
Дата:
Сообщение: Re: Should Oracle outperform PostgreSQL on a complex