Solved

dbms messaging in a package

Posted on 2011-03-25
6
295 Views
Last Modified: 2012-05-11
Hi

I wanted to capture the time start , time end and time elapsed in a oracle package and sometimes even on what stage the program is running and how long (estimated) it would take to complete - so that it is user friendly when someone invokes the package and waits until it is done - is there any standards on this and anyone developed any template that can used quickly in a short turnaround for coding and testing? If yes can you guys share?
0
Comment
Question by:mahjag
  • 3
  • 2
6 Comments
 
LVL 73

Accepted Solution

by:
sdstuber earned 50 total points
ID: 35218215
dbms_application_info.set_session_longops

does exactly that
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35218217
I don't know of anything you can buy to do this.

Typically I just create my own 'timing' table.  Then I can add any rows at any stage I want.  Then report on it however I choose.
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35218222
>>does exactly that

I stand corrected.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 73

Expert Comment

by:sdstuber
ID: 35218247
set_session_longops fills in the data

you query status and time remaining from v$session_longops
0
 

Author Comment

by:mahjag
ID: 35221781
can application developer have access to v$session?
0
 
LVL 73

Expert Comment

by:sdstuber
ID: 35222200
yes, and also to v$session_longops.

you'll have to ask your dba to grant you access though
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Get the parent node - XMLTYPE 9 73
Oracle sql query 7 60
run sql script from putty 4 35
Oracle encryption 12 30
This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question