Re: table partioning performance

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: table partioning performance
Дата
Msg-id 20070110202442.GV12217@nasby.net
обсуждение исходный текст
Ответ на Re: table partioning performance  ("Steven Flatt" <steven.flatt@gmail.com>)
Ответы Re: table partioning performance  ("Steven Flatt" <steven.flatt@gmail.com>)
Список pgsql-performance
On Mon, Jan 08, 2007 at 03:02:24PM -0500, Steven Flatt wrote:
> We use partitioned tables extensively and we have observed linear
> performance degradation on inserts as the number of rules on the master
> table grows (i.e. number of rules = number of partitions).  We had to come
> up with a solution that didn't have a rule per partition on the master
> table.  Just wondering if you are observing the same thing.

Except for the simplest partitioning cases, you'll be much better off
using a trigger on the parent table to direct inserts/updates/deletes to
the children. As a bonus, using a trigger makes it a lot more realistic
to deal with an update moving data between partitions.
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Partitioning
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: High update activity, PostgreSQL vs BigDBMS