Re: Oddball data distribution giving me planner headaches

Поиск
Список
Период
Сортировка
От Harald Fuchs
Тема Re: Oddball data distribution giving me planner headaches
Дата
Msg-id 86pqg69fy4.fsf@protecting.net
обсуждение исходный текст
Ответ на Re: Oddball data distribution giving me planner headaches  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Jeff Amiel <becauseimjeff@yahoo.com> writes:

>> At the moment I think the only way to work around this is
>> to denormalize
>> your schema a bit.

> And I feared as much.
> It's biting me in other areas as well...this unusual distribution of data...certain types of customers have
completelydifferent data patterns than others.   
> Back to the drawing board...thanks!

I find your table structure anyway somewhat strange.  For an ordinary
parent/child relationship a parent_id column in the customer table would
be enough.  Do you really have an m:n relationship between parents and
children?

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Postgresql + corrupted disk = data loss. (Need help for database recover)
Следующее
От: Christoph Zwerschke
Дата:
Сообщение: Shared memory usage in PostgreSQL 9.1