HPlogo ALLBASE/SQL Database Administration Guide: HP 9000 Computer Systems > Chapter 8 System Catalog

System.Transaction

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

SYSTEM.TRANSACTION is a pseudotable that records the transactions of users currently accessing the DBEnvironment.

SYSTEM.TRANSACTION supports an unlimited number of users, transactions, and sessions.

Table 8-38 System.Transaction

Column NameTypeLengthDescription
USERIDCHAR20DBEUserID of the user who started the transaction
CIDINTEGER4Unique connection identifier
SIDINTEGER4Unique session identifier
XIDINTEGER4Unique transaction identifier
PRIORITYINTEGER4
  • Transaction priority:

  • 0 (highest) - 255 (lowest)

ISOLATION LEVELCHAR2
  • Transaction isolation level:

  • RR (Repeatable Read, Serializable)

  • CS (Cursor Stability)

  • RU (Read Uncommitted)

  • RC (Read Committed)

LABELCHAR8Transaction label string

 

EXAMPLE



   SELECT * FROM System.Transaction;

   --------------------+-----------+-----------+-----------+-----------

   USERID              |CID        |SID        |XID        |PRIORITY

   --------------------+-----------+-----------+-----------+-----------

   JOHN                |        108|        108|      11320|        127

   ---------------------------------------------------------------------------

   Number of rows selected is 1

   U[p], d[own], l[eft], r[ight], t[op], b[ottom], pr[int] <n>,or e[nd]> r



   --------------------+---------

   ISOLATION LEVEL     |LABEL

   --------------------+---------

   RC                  +Xact2

   ------------------------------

   Number of rows selected is 1
Feedback to webmaster