Re: Interesting tight loop

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: Theo Schlossnagle <jesus(at)omniti(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Interesting tight loop
Date: 2006-09-14 11:03:31
Message-ID: 87r6yesoak.fsf@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Theo Schlossnagle <jesus(at)omniti(dot)com> writes:

> But the interesting thing is that there were 4.6 million elements in the
> s->childXids list. Which is why it took so damn long. I can't quite figure
> out how I induced this state. It is an OLAP server with about 10-20
> connection that run "long" queries (from 5 seconds to 24 hours).

Wow, I think that means you've had 4.6 million subtransactions within the
current transaction. Is this a PL/PgSQL function or a script that uses
SAVEPOINT a lot?

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2006-09-14 11:05:52 Re: CSStorm occurred again by postgreSQL8.2
Previous Message Markus Schaber 2006-09-14 11:00:36 Re: Fixed length data types issue