Checking for Logged On Sessions - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ - Database Administration

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-03
dita:mapPath
tgx1512080410608.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval
dita:id
ujp1472240543947
Product Category
Software
Teradata Vantage

You may need to check if sessions are running on the system to warn users when you want to bring Teradata Database down or disable logons. There are several ways to check if there are established sessions on the system.

  • Run the Query Session utility (see “Query Session (qrysessn)” in Teradata Vantage™ - Database Utilities , B035-1102 ). If there are sessions, it will report as follows:
    Session state query results : 08/07/16  14:28:59
    
     Host   Session  PE     DBC User ID
     -----  -------  -----  -------------------------------
         1     1015  16383 JohnSmith
    
     State details : IDLE 
  • Use BTEQ or Teradata Studio
  • Run a select on the DBC.SessionInfoV view.