Re: slony issues. - Mailing list pgsql-general

From Scott Marlowe
Subject Re: slony issues.
Date
Msg-id dcc563d10911071059o3843becdo61dca71d8f6ddfb7@mail.gmail.com
Whole thread Raw
In response to Re: slony issues.  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: slony issues.  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-general
On Sat, Nov 7, 2009 at 10:57 AM, Jeff Davis <pgsql@j-davis.com> wrote:
> On Sat, 2009-11-07 at 09:23 -0700, Scott Marlowe wrote:
>> I already asked this basic question on the slony mailing lists, but
>> they seem kinda quiet this week.
>>
>> So, I've got a database with about 30,000 objects in it, and running
>> the setaddtable() function is taking about 30 seconds, and spinning a
>> CPU 100% while doing it.
>
> auto_explain may be able to help. It can automatically collect slow
> queries and provide explain analyze output, even for queries inside
> functions.

Thanks I'll take a look.  I'm afraid that I might not get much out of
it if the cost is hidden by the function.  But it's a start.

pgsql-general by date:

Previous
From: Jeff Davis
Date:
Subject: Re: slony issues.
Next
From: Jeff Davis
Date:
Subject: Re: slony issues.