STATUS DBS - Advanced SQL Engine - Teradata Database

Database Utilities

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
xha1591998860283.ditamap
dita:ditavalPath
xha1591998860283.ditaval
dita:id
B035-1102
lifecycle
previous
Product Category
Teradata Vantageā„¢

The STATUS DBS command reports the status of the database.

Syntax

{ STATUS | ST } DBS

Usage Notes

The STATUS DBS command returns a status report for the Database Status Table only. The Database Status Table includes a status row for each vproc that is defined on the system. When applicable, a footnote will follow the Database Status Table, indicating which AMP vproc has been selected as the Control AMP.

Vproc Status Columns
Column Description
Vproc Number Uniquely identifies the vproc across the entire system.
Rel. Vproc# Represents the number of the vproc number relative to the Node upon which the vproc resides.
Node ID Identifies the Node upon which the vproc resides. The Node ID is formatted as CCC-MM, where CCC denotes the cabinet number and MM denotes the module number.
Can Move This indicates whether the vproc can be migrated to another node in its defined clique if its primary node fails.
Crash Count Represents the number of times the vproc has crashed.
Vproc State Represents the current PDE system state of a vproc.
Config Status Displays the Teradata Logical Configuration Map Status of a vproc.
Config Type Represents the Teradata Logical Configuration Map Type of a vproc.
Cluster/Host No. Displays the Cluster Number if the Config Type is AMP or displays the Host No. if the Config Type is PE.

Cluster is the cluster number for the AMP as defined during a system configuration or reconfiguration. The valid range of cluster numbers is 0 to 8099.

Host No. is the host number that was assigned to the PE during a system configuration or reconfiguration. The valid range of host numbers is 1 to 1023.

RcvJrnl/Host Type
  • Displays the RcvJrnl (that is, Recovery Journaling) flag if the Config Type is AMP. The RcvJrnl flag is Off if an AMP is down and the other AMPs in its cluster are not to create a recovery journal for the down AMP.
    If you anticipate that an AMP will be down for a long period of time, then Teradata recommends an offline rebuild of all tables on the AMP (after the RcvJrnl flag has been set to Off).
  • Displays the Host Type if the Config Type is PE. The Host Type is the host type for the PE as defined during a system configuration or reconfiguration, and is one of the following:
    • IBM
    • COP
    • ATT3B
    • BULLHN
    • OS1100
TVS Vproc For AMP vprocs, displays the associated TVS vproc.

Example: Displaying the status of the Teradata system

Enter a command, HELP or QUIT:

status dbs

SYSTEM NAME: teradata-1          

                          DBS LOGICAL CONFIGURATION
                          -------------------------

                                                                   Rcv
                                                                   Jrnl/
Vproc  Rel.   Node    Can   Crash Vproc   Config   Config Cluster/ Host  TVS
Number Vproc# ID      Move  Count State   Status   Type   Host No. Type  Vproc
------ ------ ------ ----- ----- ------- -------- ------ -------- ----- -----
    0*    1     1-01  Yes     0   ONLINE  Online    AMP       0    On    10238
    1     2     1-01  Yes     0   ONLINE  Online    AMP       0    On    10237
 8192     4     1-01  No      0   ONLINE  N/A       GTW       1    COP   N/A
10237     5     1-01  Yes     0   ONLINE  N/A       TVS       0    N/A   N/A
10238     6     1-01  Yes     0   ONLINE  N/A       TVS       0    N/A   N/A
16383     3     1-01  Yes     0   ONLINE  Online    PE        1    COP   N/A
--------------------------------------------------------------------------------
*   DBS Control AMP

  DBS State: Logons are enabled - The system is quiescent

  DBS RestartKind: COLD