Monitoring Transactions and Rollback !

Monitoring Transactions and Rollback

by Jeff Hunter, Sr. Database Administrator

Contents

Overview Is the transaction moving forward or rolling back? How long will it take to rollback a transaction? (Oracle 8.x) How long will it take to rollback a transaction? (Oracle 9.x) Notes on v$transaction

Overview

When performing large transactions, it is often necessary to monitor the rollback activity. Here is a list of the most popular questions regarding how to monitor a large transaction:

Is the transaction moving forward or rolling back? Is it possible to monitor the rollback activity? Is the transaction hung or is it performing work? How long will the current transaction take to rollback?

The details needed to answer these questions can be obtained from the v$transaction dynamic performance view.

Oracle will insert an entry in v$transaction for each active transaction in the database. When the transaction is complete, (either COMMIT or ROLLBACK), the entry should go away.

Additionally, starting with Oracle V7.3, some columns were added to v$transaction view that will allow the DBA to monitor a transaction in greater detail.

 
   
  

 
   
  

 
   
  

 
   
  

 
   
 

 
   
 

转载于:http://blog.itpub.net/7597006/viewspace-566836/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值