Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Show "progress" of a process using pl/sql web toolkit?

Re: Show "progress" of a process using pl/sql web toolkit?

From: Billy <vslabs_at_onwe.co.za>
Date: 31 May 2005 22:51:26 -0700
Message-ID: <1117605086.485015.87850@g47g2000cwa.googlegroups.com>


DA Morgan wrote:

>

> Of course if you want to see the progress you can build calls to
> DBMS_APPLICATION_INFO.SET_SESSION_LONGOPS in the called proc.

Exactly. That is what I used for our data warehouse loads. The web interface is HTMLDB - it simply does a longops query to get the current load's status (the process knows how many rows to load into the warehouse so longops stats are very accurate).

The operators thus have a very good idea just how far the current load has progressed.

But this has nothing really to do with dealing with a stateless web client - the exact same method would have been used for stateful clients too. It is always a bad idea to hourglass a client app for an extended period. Or have the client app own a long running server process. Much safer and better and sensible to have the client submit that as a background process instead.

--
Billy
Received on Wed Jun 01 2005 - 00:51:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US