| From: | Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> |
|---|---|
| To: | Jeff Davis <pgsql(at)j-davis(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: slony issues. |
| Date: | 2009-11-07 18:59:51 |
| Message-ID: | dcc563d10911071059o3843becdo61dca71d8f6ddfb7@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Sat, Nov 7, 2009 at 10:57 AM, Jeff Davis <pgsql(at)j-davis(dot)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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jeff Davis | 2009-11-07 19:06:16 | Re: slony issues. |
| Previous Message | Jeff Davis | 2009-11-07 17:57:05 | Re: slony issues. |