Re: Speed while runnning large transactions.

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: jesper(at)krogh(dot)cc
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Speed while runnning large transactions.
Date: 2009-09-24 09:07:24
Message-ID: dcc563d10909240207q76c9fbf4iba726ec54c449e9a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Thu, Sep 24, 2009 at 2:27 AM, <jesper(at)krogh(dot)cc> wrote:
> Hi.
>
> I have a transaction running at the database for around 20 hours .. still
> isn't done. But during the last hours it has come to the point where it
> really hurts performance of "other queries".

What is your transaction doing during this time?

> Given pg_stat_activity output there seems to be no locks interfering but
> the overall cpu-usage of all queries continue to rise. iowait numbers are
> also very low.

What does
select count(*) from pg_stat_activity where waiting;
say?

> What can I do to make the system handle other queries better?

Really kinda depends on what your transaction is doing.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message solAris23 2009-09-24 09:49:17 Re: Index row requires 9324 bytes maximum size is 8191
Previous Message Grzegorz Jaśkiewicz 2009-09-24 08:44:09 Re: Speed while runnning large transactions.