Re: Partitioning documentation example

Поиск
Список
Период
Сортировка
От Decibel!
Тема Re: Partitioning documentation example
Дата
Msg-id 20080206050542.GQ1212@decibel.org
обсуждение исходный текст
Ответ на Re: Partitioning documentation example  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Partitioning documentation example  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
On Fri, Jan 04, 2008 at 12:25:59PM -0500, Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> >        EXECUTE 'INSERT INTO measurement_y' || to_char(NEW.logdate,'YYYY_mMM') || ' VALUES (NEW.*)';
>
> That won't actually work.  Even if it did, I don't think we should be
> recommending use of EXECUTE here; the performance implications are bad.

I think it's still worthy as an example. Not all partitioning systems
need a high insert rate. And even if it does, that tends to be CPU-work;
if you're partitioning you're likely IO-bound and not CPU-bound.

Has anyone measured the performance difference?
--
Decibel!, aka Jim C. Nasby, Database Architect  decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828

Вложения

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

Предыдущее
От: "Gurjeet Singh"
Дата:
Сообщение: Re: Wrong query examples in docs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Partitioning documentation example