Re: slow DDL creation

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: slow DDL creation
Дата
Msg-id 20100831003113.GB9206@fetter.org
обсуждение исходный текст
Ответ на slow DDL creation  (Kevin Kempter <cs_dba@consistentstate.com>)
Список pgsql-performance
On Mon, Aug 30, 2010 at 04:28:25PM -0600, Kevin Kempter wrote:
> Hi all ;
>
> we have an automated partition creation process that includes the creation of
> an FK constraint. we have a few other servers with similar scenarios and this
> is the only server that stinks per when we create the new partitions.
>
> Anyone have any thoughts on how to debug this?  were running postgres 8.4.4 on
> CentOS 5.5

If you're doing the partitions on demand, you could be getting
deadlocks.  Any reason not to pre-create a big bunch of them in
advance?

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

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

Предыдущее
От: bricklen
Дата:
Сообщение: Re: slow DDL creation
Следующее
От: Scott Carey
Дата:
Сообщение: Re: GPU Accelerated Sorting