- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How long does the Oracle call_stack stay available...
Operating System - HP-UX
1745789
Members
4115
Online
108722
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2003 12:24 PM
тАО05-05-2003 12:24 PM
How long does the Oracle call_stack stay available?
Hi oracle database guru's:
We am investigating and trying to learn more about Oracle's database 'call_stack'. From what we have learned so far is that the call_stack, (when a procedure is executed from PL/SQL), the call_stack lists what is currently being executed in the procedure. So if an error occurs, it can show what was exactly happening at the time.
Our question:
How long is the information in the call_stack available for interegation? Is it only available during the current oracle session or can it be examined even from a non-current session? In other words, if a PL/SQL procedure would have an error, could we examine the data in the call_stack after the session has ended?
Thanks in advance,
Randy
We am investigating and trying to learn more about Oracle's database 'call_stack'. From what we have learned so far is that the call_stack, (when a procedure is executed from PL/SQL), the call_stack lists what is currently being executed in the procedure. So if an error occurs, it can show what was exactly happening at the time.
Our question:
How long is the information in the call_stack available for interegation? Is it only available during the current oracle session or can it be examined even from a non-current session? In other words, if a PL/SQL procedure would have an error, could we examine the data in the call_stack after the session has ended?
Thanks in advance,
Randy
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2003 07:57 PM
тАО05-05-2003 07:57 PM
Re: How long does the Oracle call_stack stay available?
hi,
A few clarifications.
A client application gets the full error stack cause the error is propagated out.
Once you have an exception block in PLSQL and catch the exception -- the error goes away, it by very definition doesn't exist. You caught it, you are dealing with it, you are handling it.
So, if you let the error propagate to the client, they get an error stack (we have an error)
If you catch the error in plsql, the error is gone, you just erased it.
hope this helps!
yogeeraj
A few clarifications.
A client application gets the full error stack cause the error is propagated out.
Once you have an exception block in PLSQL and catch the exception -- the error goes away, it by very definition doesn't exist. You caught it, you are dealing with it, you are handling it.
So, if you let the error propagate to the client, they get an error stack (we have an error)
If you catch the error in plsql, the error is gone, you just erased it.
hope this helps!
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 02:01 AM
тАО05-06-2003 02:01 AM
Re: How long does the Oracle call_stack stay available?
It is only visible to the client (session) that executed the procedure. Unless you capture this error in your exception handling (put it in an exception-table etc)the error is gone after it is propagated to the client.
hth
/M
hth
/M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 12:51 PM
тАО05-06-2003 12:51 PM
Re: How long does the Oracle call_stack stay available?
It would also depend on what kind of error it is, and what is affected by it. Traces can be generated into the user_dump_dest area as well, where they will stay until deleted, along with any sql traces that you generate as well.
Any errors generated by PL/SQL are only listed with the procedure, however you can put an "exception" clause into the PL/SQL block to force out the error to do something else (insert into a table, run another procedure, etc).
Hope this helps,
Brian
Any errors generated by PL/SQL are only listed with the procedure, however you can put an "exception" clause into the PL/SQL block to force out the error to do something else (insert into a table, run another procedure, etc).
Hope this helps,
Brian
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP