Entering content frame

Object documentation SESSIONS Locate the document in the library structure

Definition

The SESSIONS system table describes the connection between an application and a database task.

Structure

SESSIONS

SESSIONID

FIXED(10)

ID of the database session

OWN

CHAR(3)

Current database session (YES | NO)

STARTDATE

TIMESTAMP

Time at which 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)

Name of the database user

PEERPROCESSID

FIXED(10)

ID of the communication partner of the database task

CONNECTSTATE

CHAR(32)

Connection status

TASKID

FIXED(10)

ID of the database task

OMSHEAPUSEDSIZE

FIXED(20)

Memory consumption in the OMS heap (KB)

TRACE

CHAR(3)

A 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)

USEDTEMPORARYSIZE

FIXED(10)

Space used for temporary information about your database session (KB)
or
NULL for the other database sessions

PAGINGFILEUSEDSIZE

FIXED(10)

Size of the paging file in which information displaced from the catalog cache is written (KB)

SQLMODE

CHAR(8)

SQL mode of your database session (ANSI | DB2 | ORACLE | INTERNAL)
or
NULL value for the other database sessions

ISOLATIONLEVEL

FIXED(3)

Isolation level of your database session (0-3)
or
NULL value for the other database sessions

TIMEOUT

FIXED(10)

Timeout value of your database session
or
NULL value for the other database sessions

DATEFORMAT

CHAR(50)

Date and time format of your database session
or
NULL value for the other database sessions

See also:

Evaluating System Tables, SESSIONS

Documentation Concept of the Database System

Glossary, OMS Heap

 

Leaving content frame