Re: Emulating partitioning in postgresql 8.0?

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: Emulating partitioning in postgresql 8.0?
Дата
Msg-id E14C4B2A-1C06-478E-BAD2-BB3B660289FF@decibel.org
обсуждение исходный текст
Ответ на Emulating partitioning in postgresql 8.0?  (Fei Liu <fei.liu@aepnetworks.com>)
Список pgsql-novice
On Apr 30, 2007, at 4:33 PM, Fei Liu wrote:
> Hi Group, I just realized that partitioning is not available in
> 8.0. As far as I can see it's only 'set constraint_exclusion = on;'
> missing from 8.0 compared with 8.1. Is there  a way to emulate
> partitioning in 8.0 and achieve good performance on query with
> large amount of data?

Sure, just set it up and ensure that you have the partitioning key
indexed in every partition. Query execution won't be as fast since
the database will need to hit all those indexes, but as long as you
don't have too many partitions it shouldn't make a huge difference.
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)



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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: including limited lines depending on input parameter
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: how to view the content of schema pg_catalog?