在 Oracle 中查看未结事务

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4470593/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-18 22:14:04  来源:igfitidea点击:

View open transactions in Oracle

oracletransactions

提问by Valentin Rocher

How can I see open transactions in Oracle ? I'm doing a custom performance tool, and I'd like to see the number of currently open transactions. Is there a SQL request to do that, or another way to gather this information ?

如何在 Oracle 中查看未结交易?我正在做一个自定义性能工具,我想查看当前打开的事务数。是否有执行此操作的 SQL 请求,或其他收集此信息的方法?

回答by Tony Andrews

Use view v$transaction

使用视图v$transaction