如何分析 Oracle 上的存储过程?
我可以访问一个 Oracle DB。我可以使用 Aqua Data Studio 查看其包并对其进行查询。我无权访问服务器的文件系统。
还有一个通过调用存储过程来使用该数据库的二进制文件。
我想知道这个二进制文件使用了哪些存储过程以及哪些参数。使用“Oracle 语句监视器”似乎是不可能的 - 它只记录直接查询调用,而不记录存储过程。
如果我无权访问文件系统,可以使用内置跟踪来完成吗?
还有其他工具吗?
There is an Oracle DB to which I have access. I can view its packages using Aqua Data Studio and make queries to it. I don't have any access to the filesystem of the server.
There is also a binary that uses that database by calling stored procedures from it.
I want to know which stored procedures and with what parameters are used by this binary. It seems to be impossible to do with "Statement monitor for Oracle" - it only logs direct query calls, not stored procedures.
Can it be done with built-in trace if I don't have access to the filesystem?
Is there some other tool?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用 DBMS_PROFILER 包: http:// /download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/12_tune.htm#45936
You can use the DBMS_PROFILER package: http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/12_tune.htm#45936
您可以尝试PLSQL/Developer,它支持逐步调试您的程序。
You can try PLSQL/Developer,it support to debug your procedure step by step.