0% found this document useful (0 votes)
221 views12 pages

Teradata E2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
221 views12 pages

Teradata E2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

https://quizlet.

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.

Free Space Percent

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

O Free Cylinder List

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

Which of the following can be used with the COMPRESS option?

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

b. 4096 bytesc. 5120 bytesd. 1024 bytesc

Teradata Warehouse builder Operator corresponding with the Fastload utility is

Update

Stream

Load

Export

None of the options

With a non-empty table, select 2 actions that are allowed with the ALTER TABLE command.

Convert a NUPI to a UPI if USI exists on the NUPI

Change the columns that comprise the primary index

Drop all of the ranges

Add or drop ranges from the partition "ends"

May be created on multiple tables

Multiple table join index

Aggregate Join Index

Sparse Join Index

All of the options

None of the options


A history table currently contains 12 months of transaction data. At the end of each month, 20
Million rows are added for the current month and 20 million rows are removed. There is enough
PERM space to hold 18 months worth of data. 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

A primary key constraint is always implemented as a unique index.

TRUE

FALSE

Which of following does apply to the RANGE_N expression in a partitioning expression?

Ranges must be listed in ascending order

Partitioning column must be part of the Primary Index

Allows use of NO RANGE OR UNKNOWN option

Has a maximum of 65,533 user-defined partitions

Determines the volume, usage, frequency, and Modeling integrity analysis of a database.

Logical

Requirements

Activity

Physical

Which statement(s) about the RESPOND parcel are true?

Identifies response buffer size.

Generates a SUCCESS/FAIL parcel.

Always followed by one or more DATA parcels.

May be sent by itself as a continuation request


Which of the following rules is not one of the relational modeling rules for a Primary Key?

Must not contain NULL values

Must be unique

Must consist of a single column

Must not change

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

INDICDATA is used to preserve nulls

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

May be created on a single table

Single Table Join Index

Aggregate Join Index

Sparse Join Index

Hash Index

All of the options

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

Only named check constraints may be modified.

True or False

Automatically updated as base table rows are inserted or updated

Single Table Join Index

Aggregate Join Index

Sparse Join Index

Hash Index

All of the option


Which of the following choice(s) can be used to view host or mainframe sessions?

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

The Row Key consists of the

Partition Number, Row Hash and Uniqueness Value

Partition Number and Row

Partition Number and Row Hash

None

You can use the __ to display information (e.g., last collection date) about current column or index
statistics.

OHELP INDEX statement

O HELP STATISTICS statement

O EXPLAIN statement

COLLECT STATISTICS statement

Feature only available starting with Release V2R5

Multiple Table Join Index

Aggregate Join Index

Sparse Join Index

All of the options


None of the options

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

Which statement(s) about the RESPOND parcel are true?

Identifies response buffer size.

Generates a SUCCESS/FAIL parcel.

Always followed by one or more DATA parcels.

May be sent by itself as a continuation request


Given this CREATE TABLE statement, what is the name of Partitioning column?

CREATE TABLE Orders

(Order_id INTEGER NOT NULL,

Cust_id INTEGER NOT NULL,

Order_status CHAR(1),

Total price DECIMAL(9,2) NOT NULL,

Order_date DATE FORMAT 'YYYY-MM-DD' NOT NULL,

Order priority SMALLINT,

Clerk CHAR(16),

Ship_priority SMALLINT,

O_Comment VARCHAR(80))

PRIMARY INDEX (Order_id)

PARTITION BY RANGE_N (Order_date BETWEEN DATE 2000-01-01' AND DATE 2004-12-31 EACH
INTERVAL 1 MONTH)

UNIQUE INDEX (Order_id);

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

.3. The Hash Map consists of 65,536 entries which identify an

AMP number for the Row Hash.

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.

determine the contents of database independently of the analysis characteristics of a particular


physical implementation Logical

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

Write-in-place data blocks


What is the WAL Depot used for?
REDO Rows/UNDO Rows
Which are placed into the WAL Log?

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.

the number of fastexport session defaults to the number of AMPs TRUE

multi-column constraints must be coded as table level constraints False

invloves eliciting the initial set of information modelling and processing requirements from users
requirements

one of the ways in which join access demographics are expressed is

what is the function of the request-to-steps cache

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``

What is the operating system command to restart Teradata?

tpareset

What is the DB Window supervisor command to restart Teradata?

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

Join Access Rows

Join Access Frequency

High Access Rows

Value and Join Access


Using the ?START WITH 1? and ?INCREMENT BY 1? options with an Identity column will provide
sequential numbering with no gaps for the column. TRUE

What is the function of the Request-to-Steps (R-T-S) Cache?

Stores the SQL text and AMP steps generated by the Parser.

Resolves View and Macro references down to table references.

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

an index which is unique, or nearly unique

Omulti-column Pls.

With a non-empty table, select 2 actions that are allowed with the ALTER TABLE command

Convert a NUPI to a UPI if USI exists on the NUPI

Change the columns that comprise the primary index

Drop all of the ranges€

Add or drop ranges from the partition "ends"

What two trade-offs must the physical designer balance to make the best choice for a Primary
Index?

Block Size and Volatility

Distribution and Volatility

Access and Block Size

Access and Distribution

You might also like