Show output in real time

X3mE

Member²
Hello,

Is there a way to set PL/SQL Developer to show the output in real-time, as opposed to waiting for it to show from the buffer after the query/script completes?
 
No, this is not possible. The dbms_output buffer is local to the session, so it can only be accessed after the session has finished the query or script.
 
Good one Scott. I don't know the requirements, but if this works, I wanted to point out that the sessions screen in PL/SQL Developer shows the Module and Action that is set with dbms_application_info.set_action. I use this to display the major sections on long running programs so I know where it's at.

Additionally, you can open the wrench in the sessions screen and add a Details SQL that is set with dbms_application_info.set_session_longops. This way, it will show how many records have been processed. For example, if you know you have a thousand employees, you can know it's worked on 12 so far and know it has a ways to go. Here is the SQL to use:

SELECT opname
,sofar
,totalwork
,units
,elapsed_seconds
,time_remaining
FROM v$session_longops
WHERE sid = :SID

The timer button is also nice for keeping an eye on the status.
 
Back
Top