Example: SCOPE Command Examples - Analytics Database - Teradata Vantage

Database Utilities

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2024-05-02
dita:mapPath
ymn1628096214445.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
vkz1472241255652
lifecycle
latest
Product Category
Teradata Vantageā„¢

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.