Received: from mail-relay.trade-india.com (mail-relay.trade-india.com [203.196.129.235]) by postgresql.org (Postfix) with SMTP id 16ED0475A52 for ; Fri, 19 Jul 2002 08:46:52 -0400 (EDT) Received: (qmail 18307 invoked from network); 19 Jul 2002 12:37:34 -0000 Received: from news1.trade-india.com (HELO www.trade-india.com) (130.94.20.27) by infocom-236-129-del.trade-india.com with SMTP; 19 Jul 2002 12:37:34 -0000 Received: (qmail 8511 invoked by uid 99); 19 Jul 2002 12:46:38 -0000 Received: from 203.196.129.235 (SquirrelMail authenticated user mallah) by mail.trade-india.com with HTTP; Fri, 19 Jul 2002 18:16:38 +0530 (IST) Message-ID: <62064.203.196.129.235.1027082798.squirrel@mail.trade-india.com> Date: Fri, 19 Jul 2002 18:16:38 +0530 (IST) Subject: Re: Long update progress From: To: In-Reply-To: References: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: , X-Mailer: SquirrelMail (version 1.2.6) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Archive-Number: 200207/286 X-Sequence-Number: 4970 create a sequence and somehow involve it in a dummy manner in the update... do a select current_val('sequence') to see how far updates have gone... can we see the update stmt? regds mallah. > We have an database batch update process running. It runs normally and > takes around 6 hours. This is dealing with a much larger data set after > an error correction. It's been running for 6 days now and people are > getting twitchy that it might not finish. Is there any way (accepting > that more preparation would, in retrospect, have been better) to tell > how far we're got. This iterates round a cursor and updates individual > rows. The trouble is it commits once at the end. > > The ideal would be to find a way of doing a dirty read against the > table that is bing updated. Then we'd know how many rows had been > processed. > > Any ideas? > > Cheers > > Andy > > > > ---------------------------(end of > broadcast)--------------------------- TIP 5: Have you checked our > extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html ----------------------------------------- Get your free web based email at trade-india.com. "India's Leading B2B eMarketplace.!" http://www.trade-india.com/