17.10 - Example: SCOPE Command Examples - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Database Utilities

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Configuration
Publication ID
B035-1102-171K
Language
English (United States)

The following command examples are representative of how the SCOPE command is normally used:

Command Action
Scope vproc ALL
Select all the AMPs on the system.
Scope vproc 4, vproc 6

or

Scope vproc (4,6)
Select vprocs 4 and 6.
Scope Table 400H 0 400H
Select table 400H 0 400H on all vprocs.
Scope Class (P, JRNL)

or

Scope Class P, Class JRNL
Select all the Permanent and Journal tables on all vprocs.
Scope Class P, Class JRNL, vproc 4
Select all the Permanent and Journal tables on vproc 4.
Scope Cyl (000100000000003C 0001000000000043)
Select cylinders 000100000000003C through 0001000000000043.
All cylinders specified in a single SCOPE command must belong to the same AMP.