Documente Academic
Documente Profesional
Documente Cultură
After completing this module, you will be able to: Describe the three ways to initiate AMP-based utilities. List two techniques to access the Supervisor function of the Console task.
AWS
DB Window Supervisor
ETH ETH
DB Window
Channel Drivers Gateway Software Teradata SMP Utilities QRYCONFIG QRYSESSN SHOWLOCKS RCVMANAGER DBSCONTROL FERRET dbscontrol vprocmanager pdeconfig pdestate schmon
Operating System
PE vproc
PE vproc
AMP vproc AMP vproc
AMP vproc
AMP vproc
DBC
Enter logon string as TDPID/User ID,Password lst5100/dbc,dbc Enter the Utility to execute - SESsionStatus - CONfiguration - LOCksDisplay - RCVmanager First 3 characters are acceptable Enter QUIt, END or STOp to terminate SES
From HUTCNS, you can start one of the following DBC utilities:
Session Status Configuration Display Locks Display Recovery Manager (QRYSESSN) (QRYCONFIG) (SHOWLOCKS) (RCVMANAGER) enter SES enter CON enter LOC enter RCV
The above utilities run in a virtual AMP partition in the Teradata database. The Console Interface allows them to communicate with a host interactive terminal.
Teradata DB Window
Supervisor
ABORT SESSION CNSGET CNSSET [optons] DISABLE LOGONS ENABLE LOGONS GET CONFIG GET LOGTABLE GET PERMISSIONS GET RESOURCE GET SSO GET TIME GET VERSION GRANT HELP LOG QUERY STATE RESTART TPA REVOKE SET LOGTABLE SET RESOURCE SET SESSION COLLECTION START ** STOP
** START Application
ABORTHOST CHECKTABLE CONFIG DBSCONTROL DIP FERRET FILER LOKDISP QRYCONFIG QRYSESSN REBUILD RECONFIG RCVMANAGER SHOWLOCKS VPROCMANAGER FERRET Utilities DEFRAGMENT PACKDISK SHOWBLOCKS SHOWSPACE SCANDISK SCOPE UPDATE DATA INTEGRITY (V2R5.1 Function)
Miscellaneous Utilities
sysadm (UNIX) Teradata MultiTool (Windows 2000) Teradata Administrator BTEQ SQL Assistant Load utilities (e.g., FastLoad) Teradata Manager PMON DUC
Get Config
Qrysessn
Ferret
Supervisor 6
Appl. 1
Appl. 2
Appl. 3
Appl. 4
DBS I/O 5
PDE
xdbw
cnstool
cnsterm 6
SMP
xdbw
cnstool
cnsterm
Get Config
6:Start Qrysessn
Start Ferret
DBS LOGICAL CONFIGURATION ----------------------------------------------Vproc Number --------0* 1 2 3 Rel. Vproc# --------1 2 3 4 Node ID -------1-01 1-01 1-01 1-01 Crash Movable Count ----------- --------Yes 0 Yes 0 Yes 0 Yes 0 Vproc State ----------ONLINE ONLINE ONLINE ONLINE Config Status -------Online Online Online Online Conf Type ------AMP AMP AMP AMP
Database Window (DBW) The Database Window is the console software for Teradata RDBMS Version 2. Database Window Icons
The Database Window contains a Supvr icon that opens the Supervisor window. Once a Teradata utility is running, the DBW displays a new icon which opens a window for the Teradata utility.
Status Area
Start and reset Teradata Check status and versions of Teradata software Initiate various support applications Control GDO Editor (CTL) - same function as xctl Database Window (DBW) - activate the Teradata DB Window Database Initialization Program (DIP) scripts Vproc Manager - change state of vprocs, initialize a Vdisk, restart Teradata Connect to a remote Teradata node
Summary
Teradata utilities are either host-based or AMP-based. The host-based utilities run under the host operating system and support
user activities such as loading, backup and restore, and some maintenance functions for Teradata.
Examples include:
Load utilities (FastLoad, MultiLoad, etc.) Support utilities (pdestate, tpareset, etc.) archive utilities (arcmain)
The AMP-based utilities run on the database and are accessed through the
DBW.
Examples include:
Query Session (Qrysessn) Configuration Display (Qryconfig) Ferret Utility
Review Questions
1. What are three ways that you initiate an AMP-based utility? ______________________ ______________________ ______________________
2. What are two ways that you can access the Supervisor function of the Console task? __________________________ _________________________
2. What are two ways that you can access the Supervisor function of the Console task? Execute xdbw cnstool cnsterm 6