Re: Function won't complete - Mailing list pgsql-sql

From Tom Lane
Subject Re: Function won't complete
Date
Msg-id 12718.1019861666@sss.pgh.pa.us
Whole thread Raw
In response to Function won't complete  ("Josh Berkus" <josh@agliodbs.com>)
List pgsql-sql
"Josh Berkus" <josh@agliodbs.com> writes:
> I am currently testing a massive data update function, which takes a
> large amount of raw data (in 3 tables comprising over 2 million records
> total) and organizes and cleans that data in a series of successive
> steps for the final relational database.

> The problem is, it doesn't complete.  About 1/3 of the way in to the
> data updates, postgres gets stuck in an endless cycle of recycling
> transaction logs and child processes and won't finish (current longest
> abort time is 37 minutes).

You sure it's not just a programming error (the proverbial unconstrained
join, for example)?

Without seeing the query(s) I doubt we can help you much.
        regards, tom lane


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Wierd query behaviour
Next
From: Eduardo Gargiulo
Date:
Subject: pg_shadow password