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

System.Account

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

SYSTEM.ACCOUNT is a pseudotable that contains information about I/O resource usage by users currently accessing the DBEnvironment. This table is initially empty, and ALLBASE/SQL updates it whenever a user queries the DBEnvironment, including accessing a system catalog view.

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

Table 8-2 System.Account

Column NameTypeLengthDescription
USERIDCHAR20DBEUserID
CIDINTEGER4Unique connection identifier
SIDINTEGER4Unique session identifier
NPAINTEGER4Number of page accesses
NLBINTEGER4Number of log bytes written
NTPINTEGER4Number of temporary pages allocated
NPPINTEGER4Number of permanent pages allocated

 

Example



   SELECT * FROM System.Account;

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

   USERID              |CID        |SID        |NPA        |NLB        

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

   JOHN                |        108|        108|         23|          0

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

   Number of rows selected is 1

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





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

   |NTP        |NPP

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

   |          0|          0

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

   Number of rows selected is 1

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