Solved

dbms messaging in a package

Posted on 2011-03-25
6
301 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 74

Accepted Solution

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

does exactly that
0
 
LVL 77

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 77

Expert Comment

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

I stand corrected.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 74

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 74

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
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 information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

717 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