Syntax Elements - 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ā„¢
CLASS
The class of tables for the scope of a subsequent command.
Classes are subtable ranges, so if a command requires tables in the recorded scope, you may specify a CLASS on the SCOPE command.
CLASS Description
JRNL Specifies the permanent journal tables containing non-visible user data.
PERMANENT Specifies the permanent tables containing visible user data.
TEMPORARY Specifies the temporary worktables (global temporary table instances) containing non-permanent data.
PSPOOL Specifies the work tables containing non-permanent data that persist across restarts.
SPOOL Specifies the intermediate worktables containing non-permanent data.
ALL Specifies all the table classes in the configuration.
CYLINDER
The cylinders that are to be acted upon only by a subsequent DEFRAGMENT command. No other command uses the CYLINDER SCOPE.
A SCOPE command with CYLINDER arguments must also include VPROC arguments to be valid.
CYLINDER Description
cylid Specifies the cylinder ID number, a 16-character hexadecimal value.
ALL Specifies all the cylinders in the vproc.
VPROC
The range of AMP vproc ID numbers, or all AMPs in the current configuration that are to be acted upon by a subsequent command.
VPROC Description
vproc_number specifies a single AMP vprocID number or a range of numbers.

Valid AMP vproc ID numbers are from 0 to 16199. There is no default. If you type a vproc identifier that is assigned to a non-AMP vproc, Ferret issues an error.

Ferret also informs you when you select a vproc number assigned to a down AMP.
ALL Specifies all the AMP vprocs in the configuration. VPROC ALL is synonymous with MAP ALL.
MAP
Similar to VPROC, however it scopes to the AMPs included in the specified contiguous maps. Map names must be enclosed in double-quotation marks. MAP ALL is synonymous with VPROC ALL.
If you try to set SCOPE to a sparse map, the effective Ferret scope is set to the range of AMPs in the parent contiguous map of the sparse map.
TABLE
The subtables that are to be acted upon by a subsequent command.
TABLE Description
tid Specifies the subtable to process.
The typeandindex component of tid is required. For more information on tid formatting, refer to Using Ferret Parameters.
ALL Specifies all the subtables in the configuration.
WAL
The WAL log.
ALL
to reset SCOPE to the default startup settings of Ferret. The initial scope will consist, as appropriate to each command, of all tables, all cylinders, all vprocs, and the WAL log.