Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Extra rows returned on V$transaction query.
Are you using autonomous transactions? They show up as different rows in v$transaction.
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Rob G
Sent: Monday, November 27, 2006 3:52 AM
To: oracle-l_at_freelists.org
Subject: Extra rows returned on V$transaction query.
Hi all,
I was running a transaction and I was looking into v$transaction on the usage of undo blocks. While monitoring sometimes it returned 2 or 3 rows, but mostly one row. What do the second and third row represent in this case:
12:33:35 SQL> select XIDUSN, START_TIME, SES_ADDR, NAME, USED_UBLK,
STATUS
12:34:18 2 from v$transaction
12:34:31 3 where SES_ADDR = 'BA7664FC';
XIDUSN START_TIME SES_ADDR
---------- -------------------- --------
NAME
8 11/26/06 11:49:25 BA7664FC
127101 ACTIVE
12:34:52 SQL> /
XIDUSN START_TIME SES_ADDR
---------- -------------------- --------
NAME
8 11/26/06 11:49:25 BA7664FC
127897 ACTIVE 12:35:10 SQL> / /************* THREE ROWS RETURNED HERE
***********************************************/ XIDUSN START_TIME SES_ADDRNAME
---------- -------------------- --------
8 11/26/06 12:35:13 BA7664FC
0 INACTIVE 8 11/26/06 11:49:25 BA7664FC
128023 ACTIVE 8 11/26/06 12:35:13 BA7664FC
2 ACTIVE
12:35:13 SQL> l
1 select XIDUSN, START_TIME, SES_ADDR, NAME, USED_UBLK, STATUS
2 from v$transaction
3* where SES_ADDR = 'BA7664FC'
12:35:20 SQL> /
XIDUSN START_TIME SES_ADDR
---------- -------------------- --------
NAME
8 11/26/06 11:49:25 BA7664FC
128373 ACTIVE 12:35:21 SQL> 12:36:11 SQL> / /************* TWO ROWS RETURNED HERE
***********************************************/ XIDUSN START_TIME SES_ADDRNAME
---------- -------------------- --------
8 11/26/06 11:49:25 BA7664FC
130772 ACTIVE 8 11/26/06 12:36:11 BA7664FC
3 ACTIVE 12:36:11 SQL> Oracle is 9.2
--
Cheers,
Rob :)
Bu mesaj ve onunla iletilen tum ekler gonderildigi kisi ya da kuruma ozel ve Bankalar Kanunu geregince, gizlilik yukumlulugu tasiyor olabilir. Bu mesaj, hicbir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz; mesajin yetkili alicisi veya alicisina iletmekten sorumlu kisi degilseniz, mesaj icerigini ya da eklerini kopyalamayiniz, yayinlamayiniz, baska kisilere yonlendirmeyiniz ve mesaji gonderen kisiyi derhal uyararak bu mesaji siliniz. Bu mesajin iceriginde ya da eklerinde yer alan bilgilerin dogrulugu, butunlugu ve guncelligi Bankamiz tarafindan garanti edilmemektedir ve bilinen viruslere karsi kontrolleri yapilmis olarak yollanan mesajin sisteminizde yaratabilecegi zararlardan Bankamiz sorumlu tutulamaz.
This message and the files attached to it are under the privacy liability in accordance with the Banking Law and confidential to the use of the individual or entity to whom they are addressed. This message cannot be copied, disclosed or sold monetary consideration for any purpose. If you are not the intended recipient of this message, you should not copy, distribute, disclose or forward the information that exists in the content and in the attachments of this message; please notify the sender immediately and delete all copies of this message. Our Bank does not warrant the accuracy, integrity and currency of the information transmitted with this message. This message has been detected for all known computer viruses thence our Bank is not liable for the occurrence of any system corruption caused by this message
--
http://www.freelists.org/webpage/oracle-l
Received on Mon Nov 27 2006 - 01:47:36 CST
![]() |
![]() |