Teradata E2
Teradata E2
com/445075560/review-questions-module-9-12-14-17-flash-cards/
The_____ parameter can be set to control how completely cylinders are filled during loading and
PackDisk.
ODataBlockSize
O PermDBSize
PermDBAllocUnit
Row ID consist of
Row hash only
Row hash and Uniqueness value
Cyclinder Number and Almp Number
Uniqueness Value
When Teradata INSERTS a new row into a table, it first goes to the-- to locate the proper cylinder for
the new row.
O Cylinder Index
O Fallback AMP
Master Index
Which section of a row identifies the starting location of variable length data column data and is
present only if variable length columns are declared
Uncompressed Columns
VARCHAR Columns
O Presence Bits
O Column Offsets
a. Referencing columns - Foreign Keyb. Referenced column - Primary Key as a USIc. Unique Primary
Indexd. Non-unique Secondary Index
How can you override the default that a column with a NULL value will require row space?
a. Use the COMPRESS option on the column as part of the CREATE TABLE statement.
b. When creating the user, set the default so that columns will default to COMPRESS when creatinga
table.c. Use the NOT NULL option on the column as part of the CREATE TABLE statementd. Use the
DEFAULT NULL option on the column as part of the CREATE TABLE statement
What is the minimum space the table headers will take for a 6-column table on a 10 AMP system?
a. 10240 bytes
Update
Stream
Load
Export
With a non-empty table, select 2 actions that are allowed with the ALTER TABLE command.
Use BTEQ to add new data, and BTEQ to remove old data.
Use FastLoad to add new data, and BTEQ to remove old data
Use FastLoad to add new data, and MultiLoad to remove old data
Use MultiLoad to add new data, and MultiLoad to remove old data
TRUE
FALSE
Determines the volume, usage, frequency, and Modeling integrity analysis of a database.
Logical
Requirements
Activity
Physical
Must be unique
It is useful to employ multiple sessions when ALL AMPS will be used for the transaction. (It is useful
when fewer than all AMPs are used.)
TRUE
FALSE
With BTEQ you can import data from the host to Teradata AND export from Teradata to the host
TRUE
FALSE
.EXPORT DATA sends results to a host file in field mode. (Results are in record mode.)
TRUE
FALSE
TRUE
FALSE
With BTEQ, you can use conditional logic to bypass statements based on a test of an error code.
TRUE
FALSE
With .EXPORT, you can have output converted to a format that can be used with PCprograms€
TRUE
FALSE
The Hash Map consists of 65,536 entries which identify an ___ number for the Row Hash
AMP
OPE
DSW
Bucket Number
Hash Index
When a new block is needed, the File System searches the Free Block List looking for the first Free
Block whose size is equal to, or greater than the new block's requirement. It does not have to be an
exact match.
True or False
True or False
Hash Index
QrySessn utility
Gtwglobal utility
Sessions utility
DBC.SessionInfo view
When creating a new user, which of the following option(s) are required with the CREATE USER
command
SPOOL
PERMANENT
User name
PASSWORD
None
You can use the __ to display information (e.g., last collection date) about current column or index
statistics.
O EXPLAIN statement
An INSERT/SELECT of 1,000,000 million rows into an empty table is only slightly faster than an
INSERT/SELECT of 1,000,000 rows into a table with 1 row
TRUE or FALSE
Order_status CHAR(1),
Clerk CHAR(16),
Ship_priority SMALLINT,
O_Comment VARCHAR(80))
PARTITION BY RANGE_N (Order_date BETWEEN DATE 2000-01-01' AND DATE 2004-12-31 EACH
INTERVAL 1 MONTH)
Order priority
Order_Date
Order_status
Ship priority
1. The Row Hash for a PI value of 824 is the same for the data types of INTEGER and
DECIMAL(18,0).True or False.
True
2. The first 16 bits of the Row Hash is referred to as the DSW or the bucket number
4. The Current Configuration Primary Hash Map is used to locate the AMP to locate/store a row
basedon PI value.
5. The Reconfig utility is used to redistribute rows to a new system configuration with more AMPs.
6. The Unique Value of a Table ID comes from the dictionary table named DBC. Next
.7. The Row ID consists of the Row Hash and the Uniqueness Value
8. The Master Index contains a Cylinder Index Descriptor (CID) for each allocated Cylinder.
9. The Cylinder Index contains an entry for each data block in the cylinder.
10. The Row Reference Array consists of a set of 2 byte pointers to the data rows in data block.
11. For Teradata V2R5.0, the maximum block size is approximately 128 KB and the maximum row
size is approximately 64KB
.12. The Primary Index data value is used as a row qualifier to eliminate hash synonyms or collisions
REVALIDATE REFERENCES FOR validates reference indexes that are marked as inconsistent.
The ___ contains an entry for each data block in the cylinder cylinder index
multiload cannot process tables with USCIs or referential integrity fedined TRUE
teradata warehouse builder operator corresponding with the TPUMP utility is Stream
MultiLoad permits non-exclusive access to target tables from other users except during
Application Phase. True
Because the row is hash-distributed on different columns, the subtable row will typically land on an
AMP other than the one containing the data row. This index would be: USI
The Teradata DBS hashes the value and uses the Row Hash to find the desired rows. This is always a
one-AMP operation. This index would be: UPI or NUPI
When do Cartesian Product Joins generally occur? €When an error is made in coding the SQL query.
invloves eliciting the initial set of information modelling and processing requirements from users
requirements
The request cache stores certain categories of successfully parsed SQL requests and their
plastic steps so they can be reused, eliminating the need t
if you collect statistics at the colum level for a column that is a NUPI, the statistics are stored in
which of the following choices will cause a teradata restart Two drive failures in same RAID 1 drive
group and SMP CPU failure``
tpareset
restart tpa
One of the ways in which Join Access demographics are expressed is ___ from the table through a
Join on this column which is a measure of how often all known transactions access rows
Stores the SQL text and AMP steps generated by the Parser.
Stores the most recently used DD information including SQL names, their related numeric Ids and
statistics
Analyzes the various ways an SQL Request can be executed and determines which of these is the
most efficient
Teradata Warehouse builder Operator corresponding with the Fastexport utility is Export
EXPORT FastExport
LOAD FastLoad
UPDATE MultiLoad
STREAM TPump
Teradata Warehouse builder Operator corresponding with the Multiload utility is UPDATE
The customer decides to maintain each month's data in a separate monthly table. At this time, only
the most recent 12 tables need to be maintained. At the end of each month, a new monthly table is
created and populated, and the oldest month is removed Which choice (from below) makes the
most sense?
Use BTEQ to add new data, and BTEQ to remove old€ data
Use FastLoad to add new data, and BTEQ to remove old data
Use FastLoad to add new data, and MultiLoad to remove old data
Use MultiLoad to add new data, and MultiLoad to remove old data
Select the Parser phase that benefits the most from the use of macros?
Generator
Resolver
Syntaxer
Apply
The degree of uniqueness of a Primary Index has a direct influence on the space utilization. To
optimize the use of disk space, the designer should choose
a Non-Unique PI (NUPI)
a Primary Index with fewer distinct values than the number of AMPs in the system when other
columns are available
Omulti-column Pls.
With a non-empty table, select 2 actions that are allowed with the ALTER TABLE command
What two trade-offs must the physical designer balance to make the best choice for a Primary
Index?