pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Paul B. Anderson <paul@pnlassociates.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Large transaction problem
Date: Mon, 08 Nov 2004 18:19:21 -0500
Message-ID: <11721.1099955961@sss.pgh.pa.us> (raw)
In-Reply-To: <418FFA04.8090106@pnlassociates.com>
References: <418FFA04.8090106@pnlassociates.com>

"Paul B. Anderson" <paul@pnlassociates.com> writes:
> I'm trying to move data from an Oracle database into postgresql 7.4.3.  
> I have a program that is extracting data and writing it to an sql script 
> as a long series of inserts (20,000 at a time).  When I run these 
> scripts using psql, I occassionally get a problem that is reported as

> ERROR:  canceling query due to user request

> And then it won't clear.  If I quit psql and start it again, every sql 
> statement on that database gives this error after 30 seconds (approx) of 
> hanging.

It sounds to me like you are starting the postmaster under finite ulimit
settings --- could be either CPU or filesize limits.

			regards, tom lane



view thread (9+ messages)  latest in thread

Message-ID: <11721.1099955961@sss.pgh.pa.us>
Permalink:  ../11721.1099955961@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11721.1099955961@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, paul@pnlassociates.com
  Subject: Re: Large transaction problem
  In-Reply-To: <11721.1099955961@sss.pgh.pa.us>
  References: <418FFA04.8090106@pnlassociates.com> <11721.1099955961@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox