The system table SESSIONS describes the connection between an application and a database task.
SESSIONS
SESSIONID |
FIXED(10) |
ID of the database session |
OWN |
CHAR(3) |
Current database session (YES|NO) |
STARTDATE |
TIMESTAMP |
Time when database session started |
APPLICATIONNODE |
CHAR(64) |
Name of the computer on which the application is running |
APPLICATIONPROCESS |
FIXED(10) |
Operating system ID of the application |
APPLICATIONTYPE |
CHAR(3) |
ID of the tool or interface that the application is using |
USERNAME |
CHAR(32) UNICODE |
Name of the database user |
PEERPROCESSID |
FIXED(10) |
ID of the communication partner of the database task |
CONNECTSTATE |
CHAR(32) |
Status of the connection |
TASKID |
FIXED(10) |
ID of the database task |
OMSHEAPUSEDSIZE |
FIXED(20) |
Memory used in the |
TRACE |
CHAR(3) |
The database trace is written for this database session/all database sessions (YES|NO). |
CATALOGCACHEUSEDSIZE |
FIXED(10) |
Space used by the catalog cache assigned to the database session (KB) |
TEMPSPACEUSEDSIZE |
FIXED(10) |
Space used for temporary information about your database session (KB) | NULL for the other database sessions |
PAGINGFILEUSEDSIZE |
FIXED(10) |
Size of the parse file. This value is determined only if DIAGNOSE COUNT SESSION FILE ON is set. |
SQLMODE |
CHAR(8) |
SQL modes of your database session | NULL for the other database sessions |
ISOLATIONLEVEL |
FIXED(10) |
Isolation level of your database session | NULL for the other database sessions |
TIMEOUT |
FIXED(10) |
Timeout value of your database session | NULL for the other database sessions |
DATEFORMAT |
CHAR(50) |
Date and time format of your database session | NULL for the other database sessions |