Documente Academic
Documente Profesional
Documente Cultură
The product or products described in this book are licensed products of Teradata Corporation or its affiliates.
Teradata, Active Data Warehousing, Active Enterprise Intelligence, Applications-Within, Aprimo Marketing Studio, Aster, BYNET,
Claraview, DecisionCast, Gridscale, MyCommerce, QueryGrid, SQL-MapReduce, Teradata Decision Experts, "Teradata Labs" logo, Teradata
ServiceConnect, Teradata Source Experts, WebAnalyst, and Xkoto are trademarks or registered trademarks of Teradata Corporation or its
affiliates in the United States and other countries.
Adaptec and SCSISelect are trademarks or registered trademarks of Adaptec, Inc.
AMD Opteron and Opteron are trademarks of Advanced Micro Devices, Inc.
Apache, Apache Avro, Apache Hadoop, Apache Hive, Hadoop, and the yellow elephant logo are either registered trademarks or trademarks
of the Apache Software Foundation in the United States and/or other countries.
Apple, Mac, and OS X all are registered trademarks of Apple Inc.
Axeda is a registered trademark of Axeda Corporation. Axeda Agents, Axeda Applications, Axeda Policy Manager, Axeda Enterprise, Axeda
Access, Axeda Software Management, Axeda Service, Axeda ServiceLink, and Firewall-Friendly are trademarks and Maximum Results and
Maximum Support are servicemarks of Axeda Corporation.
Data Domain, EMC, PowerPath, SRDF, and Symmetrix are registered trademarks of EMC Corporation.
GoldenGate is a trademark of Oracle.
Hewlett-Packard and HP are registered trademarks of Hewlett-Packard Company.
Hortonworks, the Hortonworks logo and other Hortonworks trademarks are trademarks of Hortonworks Inc. in the United States and other
countries.
Intel, Pentium, and XEON are registered trademarks of Intel Corporation.
IBM, CICS, RACF, Tivoli, and z/OS are registered trademarks of International Business Machines Corporation.
Linux is a registered trademark of Linus Torvalds.
LSI is a registered trademark of LSI Corporation.
Microsoft, Active Directory, Windows, Windows NT, and Windows Server are registered trademarks of Microsoft Corporation in the United
States and other countries.
NetVault is a trademark or registered trademark of Dell Inc. in the United States and/or other countries.
Novell and SUSE are registered trademarks of Novell, Inc., in the United States and other countries.
Oracle, Java, and Solaris are registered trademarks of Oracle and/or its affiliates.
QLogic and SANbox are trademarks or registered trademarks of QLogic Corporation.
Quantum and the Quantum logo are trademarks of Quantum Corporation, registered in the U.S.A. and other countries.
Red Hat is a trademark of Red Hat, Inc., registered in the U.S. and other countries. Used under license.
SAP is the trademark or registered trademark of SAP AG in Germany and in several other countries.
SAS and SAS/C are trademarks or registered trademarks of SAS Institute Inc.
SPARC is a registered trademark of SPARC International, Inc.
Symantec, NetBackup, and VERITAS are trademarks or registered trademarks of Symantec Corporation or its affiliates in the United States
and other countries.
Unicode is a registered trademark of Unicode, Inc. in the United States and other countries.
UNIX is a registered trademark of The Open Group in the United States and other countries.
Other product and company names mentioned herein may be the trademarks of their respective owners.
The information contained in this document is provided on an "as-is" basis, without warranty of any kind, either express
or implied, including the implied warranties of merchantability, fitness for a particular purpose, or non-infringement.
Some jurisdictions do not allow the exclusion of implied warranties, so the above exclusion may not apply to you. In no
event will Teradata Corporation be liable for any indirect, direct, special, incidental, or consequential damages, including
lost profits or lost savings, even if expressly advised of the possibility of such damages.
The information contained in this document may contain references or cross-references to features, functions, products, or services that are
not announced or available in your country. Such references do not imply that Teradata Corporation intends to announce such features,
functions, products, or services in your country. Please consult your local Teradata Corporation representative for those features, functions,
products, or services available in your country.
Information contained in this document may contain technical inaccuracies or typographical errors. Information may be changed or
updated without notice. Teradata Corporation may also make improvements or changes in the products or services described in this
information at any time without notice.
To maintain the quality of our products and services, we would like your comments on the accuracy, clarity, organization, and value of this
document. Please e-mail: teradata-books@lists.teradata.com
Any comments or materials (collectively referred to as "Feedback") sent to Teradata Corporation will be deemed non-confidential. Teradata
Corporation will have no obligation of any kind with respect to Feedback and will be free to use, reproduce, disclose, exhibit, display,
transform, create derivative works of, and distribute the Feedback and derivative works thereof without limitation on a royalty-free basis.
Further, Teradata Corporation will be free to use any ideas, concepts, know-how, or techniques contained in such Feedback for any purpose
whatsoever, including developing, manufacturing, or marketing products or services incorporating Feedback.
Table of Contents
Preface.............................................................................................................................................................7
Audience................................................................................................................................................................ 7
Revision History................................................................................................................................................... 7
Additional Information........................................................................................................................................7
Related Links..................................................................................................................................................7
Related Documentation ...............................................................................................................................7
Customer Education..................................................................................................................................... 8
Product Safety Information.................................................................................................................................8
Chapter 1:
Overview........................................................................................................................................................9
Introduction to Teradata Data Lab.....................................................................................................................9
Data Labs Workflow................................................................................................................................... 10
Data Labs...................................................................................................................................................... 10
Lab Groups................................................................................................................................................... 10
Teradata Database Privileges.............................................................................................................. 11
Data Lab Users.............................................................................................................................................11
Chapter 2:
Managing Lab Groups and Labs........................................................................................... 13
Connecting to a System..................................................................................................................................... 13
Disconnecting from a System........................................................................................................................... 13
Changing Systems...............................................................................................................................................13
Setting Email Notifications............................................................................................................................... 13
Working with Lab Groups................................................................................................................................. 14
Access and Approval Controls for Lab Groups....................................................................................... 14
Access Controls.................................................................................................................................... 14
Approval Controls................................................................................................................................ 15
Adding a Lab Group....................................................................................................................................16
Request Limits...................................................................................................................................... 20
Changing Allocated Space..........................................................................................................................20
Changing the Lab Group Description...................................................................................................... 20
Teradata Data Lab User Guide, Release 15.11
Table of Contents
Chapter 3:
Monitoring Lab Groups, Labs, and Tables...................................................................31
Monitoring............................................................................................................................................................31
Viewing Lab Group Details......................................................................................................................... 32
Viewing Lab Details......................................................................................................................................33
Viewing Sample Rows.................................................................................................................................. 33
Exporting Data.....................................................................................................................................................33
Metrics for Monitoring, Approvals, and Requests Tabs................................................................................. 34
Chapter 4:
Managing Requests and Approvals................................................................................... 39
Requests................................................................................................................................................................ 39
Requesting a Lab...........................................................................................................................................40
Request Status............................................................................................................................................... 41
Viewing Request Status................................................................................................................................ 42
Viewing the Request Log............................................................................................................................. 42
Metrics for Request Log........................................................................................................................43
Requesting a Lab Size Increase................................................................................................................... 44
Requesting a Lab Size Decrease..................................................................................................................45
Requesting the Addition of a User............................................................................................................. 45
Table of Contents
Chapter 5:
Reporting.................................................................................................................................................... 59
Reports................................................................................................................................................................. 59
Viewing Reports...........................................................................................................................................60
Table of Contents
Preface
Audience
This guide is intended for use by:
Database administrators
System administrators
Application developers and users
Revision History
Date
Release
Description
October 2015
15.11
Initial release.
Added content to support reports.
Additional Information
Related Links
URL
Description
https://tays.teradata.com
www.teradata.com
Related Documentation
Documents are located at www.info.teradata.com.
Title
Publication ID
B035-2206
Preface
Title
Publication ID
B035-2207
Customer Education
Teradata Customer Education delivers training for your global workforce, including
scheduled public courses, customized on-site training, and web-based training. For
information about the classes, schedules, and the Teradata Certification Program, go to
www.teradata.com/TEN/.
CHAPTER 1
Overview
Chapter 1 Overview
Data Labs
A data lab is a separate dedicated space within a production data warehouse used for agile
development of new analytic queries that can combine personal, ad hoc, or temporary data
with production data. Data labs are governed by the DBA or by designated users, depending
on the needs of the organization.
The Teradata Viewpoint Administrator can use the Roles Manager portlet to assign portlet
permissions to the roles. Setting the Manage Lab Groups permission enables the role to
create, edit, and delete lab groups. Enabling the Dictionary data collector in the Monitored
Systems portlet ensures displayed data stays fresh in the Data Labs portlet and permissions
are synchronized with the Teradata Database.
There are several types of data lab users who use the portlet. Lab group owners, lab owners,
and lab users submit requests for actions they want to do, such as adding or deleting a lab,
increasing or decreasing the lab size, extending the lab expiration date, and so on.
The Settings view allows you to set thresholds that turn information red in the portlet view.
From the portlet frame, you can set criteria for receiving email notifications.
Lab Groups
A lab group is used to allocate space for labs. Organize lab groups in ways that best suit your
organization, such as by function, department, country, or region. For example, you may
10
Chapter 1 Overview
have four lab groups and eleven labs. You must have permission from the DBA to create,
edit, and delete lab groups. Labs can be set to expire.
A lab group is a database that is created in the underlying parent database that is selected
when a lab group is created. A child database is created in the underlying Lab Group
database when an add lab request is approved.
The actions in the portlet affect the Teradata Database privileges or accessibility on the
underlying Lab databases as listed below.
Action in the Portlet
Users can only issue SELECT statements, but not other DML
statements or DDL. This prevents users or roles from creating,
modifying, or dropping Teradata Database tables in a lab.
After a lab extension is approved on The lab owner gets access to the Lab database.
an expired lab
11
Chapter 1 Overview
makes sense. The portlet provides integration aspects into Teradata workload
management strategies, in particular Teradata Active System Management (TASM),
allowing the data lab environment to be managed using wildcard classifications.
After workload management is set up and a portion of database space is allocated,
data labs management can be given to one or more data lab owners.
Typically, your DBA architects the lab group structure, creates lab groups, assigns
lab group owners to manage approvals, manages space, configures workload
management, and can approve requests.
Also, the DBA ensures the proper Teradata Database privileges are given and works
with the Teradata Viewpoint Administrator to ensure the Data Labs portlet
permissions are assigned to the Viewpoint role allowing users in that role to create,
edit, and delete lab groups.
Power Users
The power user, typically owns and manages data labs, is an IT representative for
their team where they manage the external repositories for data proofing. They act
as the liaison between the DBA and the business analyst and end users. With the
Data Lab framework and appropriate Viewpoint portlets, management
responsibilities are simplified and are more efficient with more productive results.
Typically, your power user can be either the lab group owner or the lab owner.
As the lab group owner, they send and approve requests, can delegate approval
authority, and receive lab group email notifications.
As the lab owner, they manage labs, can approve requests if given approval
authority, receive lab email notifications, and use labs to analyze data.
End Users
The end user, typically a business analyst, explores data and tests theories. They want
to easily implement the proofing of data and then migrate new data into production
information. Data labs provide proof that test results will be consistent when
implemented in production. The end user receives fresh data and does not have to
wait for periodic data loads from production.
Typically, the end user sends requests, views tables in a lab, and uses labs to analyze
data.
12
CHAPTER 2
Connecting to a System
1 In the Connect to System dialog box, select a system from the list.
2 Type your Teradata Database user ID and password.
3 [Optional] Do any of the following:
Changing Systems
1 From the portlet frame, click
13
Access controls determine who can access the labs for security or other reasons and whether
lab users can view lab group details and lab details. These controls are typically set when a lab
group is created, however, the controls can be added or changed later.
The access controls are described below.
14
Control Locations
Enable display of
users and roles for
the lab group and
labs
Restrict access to
selected users and
roles check box
Give access to
selected users and
roles check box
Control Description
Approval Controls
Control Description
Automatic
Requests that are less than or equal to the size or duration are automatically approved.
Lab Owner
Requests that are less than or equal to the size or duration, and greater than Automatic, are
approved by either the lab owner or lab group owner.
Requests with a size or duration greater than the Automatic or Lab Owner thresholds are
approved by the lab group owner.
The types of requests that a lab group owner can delegate to the lab owner to approve are:
Add or remove user
Add or remove owner
Delete lab
Decrease lab size
Drop table
15
The lab group owner can also delegate authority to the lab owner to approve requests to
increase lab size to a specified size and extend a lab by a specified time frame or specify no
expiration.
After a lab group is created, most settings can be changed at a later time by the Viewpoint
role with Manage Lab Groups permission.
Thresholds can be set and approvers selected for each request type. By default, all requests are
sent to the lab group owner for approval. Approvals can be delegated to lab owners or set to
automatically approve.
1 From the Monitoring tab, click
2 In Lab Group (step 1), do the following to specify lab group details and the lab group
If the space is too low, lab users will be unable to request to add more labs in the lab
group.
e [Optional] Select the Enable display of users and roles for the lab group and labs
check box to enable lab users to see the Users tab when viewing lab group details and
lab details.
16
When the allocated space is within the specified percentage of the lab group size, the
lab group owner receives an email notification, depending on the email notification
settings.
g Click Next.
3 In Labs (step 2), specify the default lab settings, request limits, and lab owner email
If the size is too low, users will be unable to load more data into the lab, requiring the
lab user to send frequent requests to increase the lab size.
b [Optional] Select the Expire lab after check box and either select the number of days
from the menu or type a number from 1 to 9999 and press Enter.
If the check box is not selected, no lab expiration is set.
c [Optional] For lab groups that have an expiration duration for its labs, select the
Remove the "No expiration" option from requests check box to inform lab users
that the labs must expire. The No expiration option will not appear for users
requesting a lab to be added or extended.
d [Optional] Select the Delete expired after check box and either select the number of
days from the menu or type the number of days from 1 to 9999 and press Enter if you
want an expired lab to delete automatically when the set value is reached.
e [Optional] Select the Grant lab users CREATE TABLE privilege check box to allow
lab users to create Teradata Database tables in the underlying Lab database using the
CREATE TABLE statement.
This setting cannot be changed after the lab group is created.
Lab instructions provide guidance and best practices to help lab users.
h [Optional] Under Request Limits, specify a maximum size in MB, GB, or TB from 1
Requests to increase a lab size that exceed the specified maximum lab size will be sent
to the lab group owner for approval. For more information, see Request Limits.
i
[Optional] Under Request Limits, select the check box, and then select the number
of days from the menu or type the number of days from 1 to 9999 and press Enter to
limit the maximum cumulative life for all labs in the lab group.
17
Requests to extend a lab that exceed the specified number of days will be sent to the
lab group owner for approval. For more information, see Request Limits.
j
Under Lab Owner Email Notifications, select the number of days before a lab expires
in which to trigger an email notification.
An email notification is sent to the lab owner when the number of days is reached,
depending on the email notification settings.
An email notification is sent to the lab owner when the available space for the lab falls
below the percentage you set, depending on the email notification settings.
4 In Owners (step 3), select which Viewpoint users and roles own the lab group:
a Select a user from the Available users box and click
If there are more than 500 users, use the User list filter.
b Select a role from the Available roles box and click
c [Optional] In the User list filter box, type to filter the list of available users.
d Click Next.
5 In Private (step 4), do one of the following to restrict access to the lab group:
Option
Description
Not
private
Click Next if you do not want to place any restrictions on which Teradata Database
users and roles can access labs in this lab group.
Private
a.
Select the Restrict access to selected users and roles check box to restrict which
Teradata Database users and roles can access the lab group.
If there are more than 500 users, use the User list filter.
c.
Select a role from the Available roles box, and click to move that role to the
Selected roles box.
d. [Optional] Select the Read-only check box if you want to give read-only access
to labs in this lab group.
e.
Read-only users cannot send requests to remove a user, increase or decrease lab
size, delete, extend, or reinstate a lab, drop a table, or edit lab details.
Click Next.
6 In Default Users (step 5), do one of the following to provide access to all labs in this lab
group:
18
Description
Do not
Click Next if you do not want to create any default users. A default user is a
give access Teradata Database user or role that has either full control or is read-only for all labs
in a lab group.
Give
access
a.
Select the Give access to selected users and roles check box to give lab access
to selected Teradata Database users and roles in the lab group.
Note: When you give access to default users and roles, they will have either full
control or are read-only for all labs in the lab group.
If there are more than 500 users, use the User list filter.
c.
Select a role from the Available roles box, and click to move that role to the
Selected roles box.
d. [Optional] Select the Read-only check box if you do not want the user or role
to create, modify, or drop Teradata Database tables in the labs in the lab group.
e. Click Next.
7 In Approvers (step 6), do one of the following to set approvers for each request type:
Description
Default lab
group owner
approval
Click Create if you do not want to set thresholds and want the lab group
owner to approve all request types by default.
Automatic
approval
a.
Lab owner
a.
Lab group
owner
In the top section, requests for increasing lab size and extending a lab greater
than the Automatic approval or Lab owner thresholds are approved
automatically by the lab group owner.
a.
In the bottom section, select Lab group owner for each request if approval
is required from the lab group owner.
19
Description
b. Click Create.
The lab group owner has the option to set the following request limits on automatic approvals
for requests to increase lab size and for lab extensions:
Maximum size
If a lab has exceeded its size threshold, automatic approvals no longer apply and the
lab group owner must approve requests to increase the lab size by the setting
specified (1 to 9999 MB, GB, or TB).
Limit the maximum cumulative life
If a lab has exceeded its life threshold by repeated extensions, automatic approvals no
longer apply and the lab group owner must approve requests to extend or reinstate a
lab by the number of days specified (1 to 9999).
select Edit.
2 From the Lab Group tab, enter a new amount of allocated space in the New size box.
The amount in the New size box must be less than or equal to the sum of the available
space of the parent database (displayed in the Available space box) and the current
allocated lab group space (displayed in the Size box).
3 Click Save.
The updated allocated space appears in the Allocated column in the Lab Groups table.
select Edit.
20
The updated description appears in the Description column in the Lab Groups table.
select Edit.
2 From the Lab Group tab, do one of the following for the Enable display of users and
3 Click Save.
select Edit.
2 From the Lab Group tab, under Email Notification, enter a percentage from 1% to 99%
3 Click Save.
An email notification is triggered to the lab group owner if available space for the lab
group falls below the percentage.
21
After a lab group is created, you can change the lab group default users. When the lab group
owner gives access to default Teradata Database users and roles, they can have either full
control or are read-only for all labs in the lab group.
1 From the Lab Groups table in the Monitoring tab, click
select Edit.
Description
Change
current lab
group
default users
Use to move the selected users and roles from the Selected boxes to the
Available boxes.
Use to move the selected users and roles from the Available boxes to the
Selected boxes.
[Optional] Select the Read-only check box if you want to give read-only
access to labs in this lab group.
Read-only users cannot send requests to remove a user, increase or decrease
lab size, delete, extend, or reinstate a lab, drop a table, or edit lab details.
Add more
lab group
default users
Use to move one or more selected users and roles in the Available boxes to
the Selected boxes.
[Optional] Select the Read-only check box if you want to give read-only
access to labs in this lab group.
Read-only users cannot send requests to remove a user, increase or decrease
lab size, delete, extend, or reinstate a lab, drop a table, or edit lab details.
5 [Optional] In the User list filter box, type to filter the list of available users.
6 Click Save.
select Edit.
22
Description
Change current
lab group owner
Use to move the selected lab group owner and role from the Selected
boxes to the Available boxes.
Use to move the selected owner (user) and role from the Available
boxes to the Selected boxes.
Use to move one or more selected users and roles from the Available
boxes to the Selected boxes.
If there are more than 500 users, use the User list filter.
4 [Optional] In the User list filter box, type to filter the list of available users.
5 Click Save.
select Edit.
Select the Restrict access to selected users and roles check box to restrict which
Teradata Database users and roles can access the lab group.
Clear the Restrict access to selected users and roles check box to allow all Teradata
Database users and roles access to the lab group.
4 If you selected the check box, do the following to designate those who have access:
Use to move one or more selected Teradata Database users and roles from the
Available boxes to the Selected boxes.
If there are more than 500 users, use the User list filter.
[Optional] Select the Read-only check box if you want to give read-only access to
labs in this lab group.
Read-only users cannot send requests to remove a user, increase or decrease lab size,
delete, extend, or reinstate a lab, drop a table, or edit lab details.
[Optional] In the User list filter box, type to filter the list of available users.
5 Click Save.
23
select Edit.
Description
Automatic
approval
Specify a threshold under Automatic approval so that lab requests that are
less than or equal to the size or duration of the setting are approved
automatically.
Lab owner
Specify a threshold under Lab owner so that lab requests that are less than
or equal to the size or duration, and greater than Automatic approval, are
approved by the lab owner.
Lab group owner Requests with a size or duration greater than the Automatic approval or
Lab owner threshold are approved by the lab group owner.
4 Do any of the following to select approvers for each request type:
By default, all requests are sent to the lab group owner for approval. Approvals can be
delegated to lab owners or set to automatically approve.
Option
Description
Select Lab owner when the request requires approval from the lab owner
or lab group owner.
Select Lab group owner when the request requires approval from the lab
group owner.
5 Click Save.
select Edit.
The updated size appears in the Size column in the Labs table.
select Edit.
number of days from the menu or type a number from 1 to 9999 and press Enter.
The updated expiration date appears in the Expires column in the Labs table.
4 [Optional] If you decide to expire the lab, you can select the Remove the "No
25
The No expiration option no longer appears for users to select when requesting a lab to
be added or extended.
5 Click Save.
select Edit.
The updated lab instructions appear when the approver views the Request Details pane
in the Approvals tab.
select Edit.
Requests to increase a lab size that exceed the specified maximum lab size will be sent to
the lab group owner or lab owner for approval.
4 [Optional] Under Request Limits, do the following:
a Select the check box.
b Select the number of days from the menu or type a number from 1 to 9999 and press
Enter to limit the maximum cumulative life for all labs in a lab group.
Requests to extend a lab that exceed the specified number of days will be sent to the lab
group owner or lab owner for approval.
26
select Edit.
An email notification is sent to the lab owner when the number of days is reached.
4 [Optional] Under Lab Owner Email Notifications, enter a percentage from 1% to 99%.
An email notification is sent to the lab owner when the available space for the lab falls
below the percentage you set.
5 Click Save.
select Edit.
the number of days from the menu or type a number from 1 to 9999 and press Enter.
4 Click Save.
The expired lab is automatically deleted when the set value is reached.
27
Description
Save as Default Click to use the current user-defined settings as the default configuration each
time you add this portlet to a portal page.
Clear Defaults Click to clear all user-defined default settings created for this portlet.
3 Click Close.
4 Click OK.
2 Under Lab Group Size, enter the allocated space for the lab group from 1% to 100%.
This setting helps you determine if the lab group is running out of allocated space. If
space runs out, users will be unable to request to add more labs in the lab group.
When the allocated space is within the specified percentage of the lab group size, the
value appears red in the Lab Groups table in both the Allocated and % Allocated
columns.
3 Under Lab Size, enter the lab size from 1% to 100%.
This setting helps you determine if the lab is running out of space. If space runs out, users
will be unable to load more data into the lab.
When the used space is within the specified percentage of the total lab size, the value
appears red in the Labs table in both the Used and % Used columns.
4 Under Approvals, enter the number of days for approvals from 1 to 999 days.
When a response to an approval has not been received by the specified number of days,
the date in the Date column appears red for only approvers in the Approvals table in the
Approvals tab.
5 Under Expiration, enter the number of days before you want the lab to expire from 1 to
999 days.
28
When the lab expires by the specified number of days, the date appears red in the Labs
table in the Expires column.
6 Under Skew, enter the table skew from 1% to 100%.
When the table skew is exceeded by the specified percentage, the skew appears red in the
Tables table in the Skew column.
7 Do one of the following to enable or disable each threshold setting:
8 Click OK.
29
30
CHAPTER 3
Monitoring
You can navigate the following tables for monitoring lab groups, labs in a lab group, and
tables in a lab. For a description of the columns in the tables, see Metrics for Monitoring,
Approvals, and Requests Tabs.
Tables
Description
Lab groups
green.
Lab Group
Space
Size
Allocated
% Allocated
Used
% Used
Owners (lab group)
Location
Private
Created
Parent DB
Description
Labs
Lab
Space
Size
Used
% Used
Expires
Owners (lab)
Location
Description
Tables
Table (name)
Size
Skew
Created (date)
Created by
Location
Columns Available
Navigation
31
Description
Columns Available
Navigation
Schema Changed
Description
General tab to view the total space allocated to the lab group (Size), space allocated to
labs in this lab group (Allocated), space in use within all labs in this lab group (Used),
lab group description, and lab group owner email notifications.
Owners tab to view the Viewpoint users and roles who own this lab group.
Users tab to view the Teradata Database users and roles who have been given access to
this lab, including read-only users or roles. This tab is visible only if given permission
by the lab group owner.
3 Click OK.
32
Details.
General tab to view the total space allocated to the lab (Size), amount of space in use
within the lab (Used), lab expiration date, lab description, lab instructions, and lab
owner email notifications.
Owners tab to view the Viewpoint users and roles who own this lab.
Users tab to view all Teradata Database users and roles who have been given access to
this lab, including default and read-only users and roles. This tab is visible only if
given permission by the lab group owner.
Note: The Users tab displays if the lab group owner selects the Enable display of
users and roles for the lab group and labs check box. For more information, see
Changing Access for Viewing Users and Roles.
3 Click OK.
Sample Rows.
2 Review the sample of ten random rows and all columns in the Teradata Database table.
3 Click OK.
Exporting Data
You can export data to a .csv file for further analysis and formatting. The exported .csv file
contains all available data up to one million rows.
If filters are used, only filtered data is exported for most portlets. If a portlet displays more
than one million rows of data, then use the filters to display the data you want before
exporting it.
The format for the time, date, and some numeric values differs in the view and exported .csv
file.
1 Click
33
The file is saved to your download area or to a location that you specify, depending on the
browser settings.
Description
Tab
Table
% Allocated
Monitoring
Lab Groups
Percentage of total space in use within all labs in the lab Monitoring
group
Lab Groups
Monitoring
Labs
Monitoring
Lab Groups
The value appears red in the Labs table when the used
lab space is within the threshold set for Lab Size in the
Settings view
Allocated
Approver
Requests
Requests
Available
Approvals
Approvals
Comments
Approvals
Approvals
Created
Monitoring
Lab Groups
Monitoring
Tables
Created by
Tables
Date
Approvals
34
Approvals
Description
Tab
Table
Requests
Requests
Monitoring
Lab Groups
Monitoring
Labs
Monitoring
Tables
Approvals
Approvals
Monitoring
Labs
Approvals
Approvals
Monitoring
Labs
Requests
Requests
Approvals
Approvals
Monitoring
Lab Groups
Requests
Requests
Approvals
Approvals
Monitoring
Lab Groups
Monitoring
Labs
Monitoring
Tables
New Expiration
Approvals
Approvals
Owners
Monitoring
Lab Groups
Monitoring
Labs
Parent DB
Monitoring
Lab Groups
Private
Monitoring
Lab Groups
Expires
Lab Group
Location
35
Description
Tab
Table
Approvals
Requester
Requests
Schema Changed
Date of the most recent table schema change and which Monitoring
Teradata Database user made the change
Tables
Size
Monitoring
Lab Groups
Monitoring
Labs
Monitoring
Tables
Monitoring
Tables
Skew
Requests
Lab Groups
Monitoring
Labs
Requests
Requests
Monitoring
Tables
Approvals
Approvals
TD User
Approvals
Approvals
Type
Request type
Approvals
Approvals
Request type
Requests
Requests
Monitoring
Lab Groups
Monitoring
Labs
Status
Used
36
Description
Tab
Table
Approvals
Approvals
The value appears red in the Labs table when the used
lab space is within the threshold set for Lab Size in the
Settings view
VP User
37
38
CHAPTER 4
Requests
Requests can be submitted for the following:
Add, delete, or reinstate a lab
Increase or decrease lab size
Add or remove users from labs
Add or remove owners from labs
Extend lab expiration dates
Drop tables
Edit lab details
Send other requests
Lab group owners can view or approve all requests for labs within their lab group. Lab
owners can view or approve requests for labs that they own. Lab users can view their own
requests, as well as requests submitted by other users in their lab. If you have permission to
approve a request you submit, no approval is necessary. If you are a lab owner, your requests
will be automatically approved if you have been granted approval authority.
Requests stay in the Requests tab until you delete them. You can delete any type of request
as long as it is your own request. You can see deleted requests from the request log.
From the Requests tab, you can use the Lab group and Lab menus or the state filter bar to
narrow your search for requests.
Lab users can only submit requests to add a lab or user, remove themselves as a user, increase
or decrease lab size, extend a lab, drop a table, edit lab details, or submit an Other request.
Teradata Database roles that have read-only access to a lab can only submit requests to add a
lab or a user, remove themselves as a user, or submit an Other request.
39
Requesting a Lab
Anyone can submit a request to add a lab. Any lab size or expiration date can be requested.
1 Do one of the following to submit a request to add a data lab:
Option
Description
From the
Monitoring tab
In the Lab Groups table, click the name of the lab group to which you
want to add a lab.
b. In the Labs table, click next to LABS.
a.
40
Description
b. Select a lab group.
All lab groups appear including private lab groups where you are a user.
A lab prefix displays as read-only if a prefix was added when the lab group was created.
2 Enter a lab name up to 24 characters.
3 Enter a size up to 999 MB, GB, or TB, depending on the available allocated space for the
4 Do one of the following to select an expiration time frame for the lab:
Option
Description
Select the Expire lab after check box and either select the
number of days from the menu or type a number from 1 to
9999 and press Enter.
The expiration displayed is set by the lab group owner, but you can select any expiration
time frame.
5 [Optional] Enter a description for the lab up to 500 characters.
6 [Optional] Enter the lab instructions up to 500 characters.
Lab instructions provide guidance and best practices to help lab users. For example,
provide information for loading data into tables using Teradata Data Mover or load
utilities such as FastLoad or MultiLoad. The instructions can contain text and URLs and
can be updated at any time.
Default lab instructions may have been created by the lab group owner, but you can
overwrite the instructions for your specific lab.
7 [Optional] Select the number of days (7, 14, or 30) prior to this lab expiring that an
8 Enter a percentage (1% to 99%) of available space left at which an email notification is
9 Click Submit.
You will receive an email notification after your request has been approved, depending
on your email notification settings.
After your request has been approved, you can see the lab was added by looking for the lab
name in the Labs table in the Monitoring tab. If you do not see the lab, determine the status
of your request from the Status column in the Requests tab.
Request Status
The Status column in the Requests tab displays the following:
Teradata Data Lab User Guide, Release 15.11
41
Approved
The request was approved by the approver. Approved is an intermediate status that
typically occurs quickly before a request goes to a Successful or Failed status.
Successful
A request was approved and processed without failing.
Pending
The request has been sent and is waiting to be approved or denied.
Denied
The request was denied by the lab group owner or lab owner.
Failed
The request was approved, but the execution failed, such as when the system is out of
space.
3 [Optional] Sort by Lab Group or Lab to display the requests for that lab group or lab.
4 [Optional] Click a request to view the details of the request.
Lab group owners can view a log and export the data for labs within their lab group.
Lab owners can view a log and export the data for labs that they own.
Lab users can view a log and export the data for their requests and requests by other
users in their lab.
A single identification number is assigned to one request, and the Action columns displays
which steps processed in the request. By sorting on the ID number and then reviewing the
information in the Action, Date, and Status columns, you can determine the date and time
the request, approval, and execution steps were processed and the status of each step.
1 Click the Requests tab.
2 [Optional] Click View Request Log to display a list of requests for all labs on your
The file is saved to your download area or to a location that you specify, depending
on the browser settings.
Metrics for Request Log
The metrics that appear in the request log are listed below.
Column
Description
Type
ID
Number
Action
String
43
Description
Type
Other
Request
System
String
Type
Type of request
String
Date
Number
Lab Group
String
Lab
String
Status
String
Approver
String
Requester
String
Error
String
Additional Info
Messages generated when a request is made to modify the lab size, String
expiration date, users, or owners
Description
From the
Monitoring tab
a.
From the
Requests tab
Click
The lab group and lab are selected for you. To change the lab group or
lab, use the Requests tab to submit your request.
a. Click next to REQUESTS.
b. Select Increase Lab Size from the Request type list.
c. Select a lab group.
All lab groups appear including private lab groups where you are a user.
d. Select the lab where you want to add space.
The labs that appear include those where you are a user or an owner.
44
You will receive an email notification after your request has been approved, depending
on your email notification settings.
After your request has been approved, the total space allocated to the lab appears in the Size
column in the Monitoring tab.
Description
From the
Monitoring tab
a.
From the
Requests tab
Click
The lab group and lab are selected for you. To change the lab group or
lab, use the Requests tab to submit your request.
a. Click next to REQUESTS.
b. Select Decrease Lab Size from the Request type list.
c. Select a lab group.
All lab groups appear including private lab groups where you are a user.
d. Select the lab where you want to decrease space.
The labs that appear include those where you are a user or an owner.
You will receive an email notification after your request has been approved, depending
on your email notification settings.
After your request has been approved, the total space allocated to the lab appears in the Size
column in the Monitoring tab.
45
Description
From the
a.
Monitoring tab
From the
Requests tab
Click
The lab group and lab are selected for you. To change the lab group or lab,
use the Requests tab to submit your request.
a.
2 [Optional] In the User list filter box, type to filter the list of current users.
In the Available users box, select one or more Teradata Database users and click
move them to the Selected users box.
If there are more than 500 users, use the User list filter.
In the Available roles box, select one or more Teradata Database roles and click
move them to the Selected roles box.
to
to
4 [Optional] Select the Read-only check box if you want to give read-only access to labs in
You will receive an email notification after your request has been approved, depending on
your email notification settings.
After your request has been approved, you can see the Teradata Database users and roles you
added from the Request Details pane in the Requests tab, displayed in groups as Full
control and Read-only.
46
Description
From the
Monitoring tab
a.
From the
Requests tab
Click
The lab group and lab are selected for you. To change the lab group or
lab, use the Requests tab to submit your request.
a. Click next to REQUESTS.
b. Select Remove User from the Request type list.
c. Select a lab group.
All lab groups appear including private lab groups where you are a user.
d. Select the lab where you want to be removed from a lab.
The labs that appear include labs in private lab groups where you are a
user.
2 [Optional] In the User list filter box, type to filter the list of current users.
In the Current users box, select one or more Teradata Database users and click
move them to the Users to remove box.
In the Current roles box, select one or more Teradata Database roles and click
move them to the Roles to remove box.
to
to
You will receive an email notification after your request has been approved, depending
on your email notification settings.
After your request has been approved, you can see the Teradata Database users and roles you
removed from the Request Details pane in the Requests tab, displayed in groups as Full
control and Read-only.
47
Description
From the
Monitoring tab
a.
From the
Requests tab
Click
The lab group and lab are selected for you. To change the lab group or
lab, use the Requests tab to submit your request.
a. Click next to REQUESTS.
b. Select Add Owner from the Request type list.
c. Select a lab group.
All lab groups appear including private lab groups where you are a user.
d. Select the lab where you want to add an owner.
The labs that appear include labs in private lab groups where you are a
user.
2 Do any of the following to add users and roles or to filter the list of available users:
In the Available users box, select one or more Viewpoint users and click
them to the Selected users box.
to move
If there are more than 500 users, use the User list filter.
In the Available roles box, select one or more Viewpoint roles and click to move
them to the Selected roles box.
[Optional] In the User list filter box, type to filter the list of available users.
3 [Optional] Enter a comment up to 500 characters.
4 Click Submit.
You will receive an email notification after your request has been approved, depending on
your email notification settings.
After your request has been approved, the user (owner) you added appears in the Owners
column in the Labs table in the Monitoring tab.
Description
From the
Monitoring tab
a.
From the
Requests tab
48
Click
The lab group and lab are selected for you. To change the lab group or
lab, use the Requests tab to submit your request.
a. Click next to REQUESTS.
b. Select Remove Owner from the Request type list.
Description
Select a lab group.
All lab groups appear including private lab groups where you are a user.
d. Select the lab where you want to remove an owner.
The labs that appear include labs in private lab groups where you are a
user.
c.
2 [Optional] In the User list filter box, type to filter the list of current owners.
3 Do any of the following to remove owners and roles:
In the Current owners box, select one or more Viewpoint users and click to move
them to the Remove owners box.
In the Current roles box, select one or more Viewpoint roles and click to move
them to the Remove roles box.
Only Viewpoint users and roles that are owners of the lab are visible.
You will receive an email notification after your request has been approved, depending
on your email notification settings.
After your request has been approved, the owner you removed no longer appears in the
Owners column in the Labs table in the Monitoring tab.
Description
From the
Monitoring tab
a.
From the
Requests tab
Click
The lab group and lab are selected for you. To change the lab group or
lab, use the Requests tab to submit your request.
a. Click next to REQUESTS.
b. Select Delete Lab from the Request type list.
c. Select a lab group.
All lab groups appear including private lab groups where you are a
user.
d. Select the lab you want to delete.
The labs that appear include those where you are an owner.
49
You will receive an email notification after your request has been approved, depending on
your email notification settings.
After your request has been approved, the deleted lab no longer appears in the Monitoring
tab.
not expired:
Option
Description
From the
Monitoring tab
a.
From the
Requests tab
Click
The lab group and lab are selected for you. To change the lab group or
lab, use the Requests tab to submit your request.
a. Click next to REQUESTS.
b. Select Extend Lab from the Request type list.
c. Select a lab group.
All lab groups appear including private lab groups where you are a user.
d. Select the lab where you want to extend the expiration date.
The labs that appear include those where you are a user or an owner.
Description
Select Renew lab for and either select the number of days
from the menu or type a number from 1 to 9999 and press
Enter.
Select No expiration.
You will receive an email notification after your request has been approved, depending on
your email notification settings.
50
After your request has been approved, the new expiration date appears in the Expires
column in the Monitoring tab.
Description
From the
Monitoring tab
a.
From the
Requests tab
Click
The lab group and lab are selected for you. To change the lab group or
lab, use the Requests tab to submit your request.
a. Click next to REQUESTS.
b. Select Edit Lab Details from the Request type list.
c. Select a lab group.
All lab groups appear including private lab groups where you are a user.
d. Select the lab where you want to add an owner.
The labs that appear include those where you are a user or an owner.
2 [Optional] Enter a new or change the existing description for the lab, up to 500
characters.
3 [Optional] Enter new or change the existing lab instructions, up to 500 characters.
Lab instructions provide guidance and best practices to help lab users. For example,
provide information for loading data into tables using Teradata Data Mover or load
utilities such as FastLoad or MultiLoad.
Default lab instructions may have been created by the lab group owner, but you can
overwrite the instructions for your specific lab.
4 [Optional] Select the number of days (7, 14, or 30) prior to this lab expiring that an
5 [Optional] Enter a percentage from 1% to 99% so that, if available space becomes less
6 [Optional] Select the number of days (1, 30, 60, or 90) or type a number from 1 to 9999
After your request has been approved, the new expiration date appears in the Expires
column in the Monitoring tab.
7 Click Submit.
You will receive an email notification after your request has been approved, depending
on your email notification settings.
Teradata Data Lab User Guide, Release 15.11
51
After your request has been approved, the changes you made appear when you view lab
details.
You will receive an email notification after your request has been approved, depending on
your email notification settings.
The updated table description appears in the Description column in the Tables table in the
Monitoring tab.
Description
From the
Monitoring tab
a.
From the
Requests tab
52
Click
The lab group and lab are selected for you. To change the lab group or
lab, use the Requests tab to submit your request.
a. Click next to REQUESTS.
b. Select Reinstate Lab from the Request type list.
c. Select a lab group.
Only lab groups that contain expired labs appear where you are a user.
d. Select the lab that you want to reinstate.
Teradata Data Lab User Guide, Release 15.11
Description
Only expired labs appear include labs in private lab groups where you
are a user.
Description
Select the Expire lab after check box and either select the
number of days from the menu or type a number from 1 to
9999 and press Enter.
These comments give information to the approver and appear in the Request Details
pane of the Approvals tab.
4 Click Submit.
You will receive an email notification after your request has been approved, depending
on your email notification settings.
After your request has been approved, you can see the same Teradata Database users and
roles that were in place prior to the lab expiration from the Request Details pane in the
Requests tab, displayed in groups as Full control and Read-only. The reinstated lab appears
in the Labs table in the Monitoring tab.
Description
From the
Monitoring tab
a.
From the
Requests tab
Click
The lab group and lab are selected for you. To change the lab group or
lab, use the Requests tab to submit your request.
a. Click next to REQUESTS.
b. Select Other from the Request type list.
c. Select a lab group.
53
Description
All lab groups appear including private lab groups where you are a
user.
d. Select the lab.
The labs that appear include those where you are a user or an owner.
You will receive an email notification after your request has been approved, depending on
your email notification settings.
You will receive an email notification after your request has been approved, depending on
your email notification settings.
After your request has been approved, the Teradata Database table is dropped automatically
and no longer appears in the Tables table in the Monitoring tab.
Deleting a Request
You can delete your own request in any state and delete a Successful request. Deleting a
pending request cancels the request. If the request has already started processing, it cannot be
canceled (deleted).
1 [Optional] View the request status before you delete a request.
2 From the Requests tab, select a request to view the details of the request before deleting
it.
54
Description
a.
From the Requests tab, click the Table Actions menu, and select
Delete.
b. Select one or more check boxes in the table rows.
c. Click Delete.
3 If you are unable to correct the issue yourself, contact your DBA.
4 After the issue is corrected, click Resubmit.
When lab users or read-only users resubmit a failed request, it is immediately processed
and does not need to be approved again.
Approvals
When a request is made, it is added to a request queue for approval. As a lab group owner or
a lab owner, you can view these unapproved requests using the Approvals tab. If you are a
lab owner, your requests will be automatically approved if you have been granted approval
authority. After viewing the requests, they can be approved or denied.
From the Approvals tab, you can use the Lab group and Lab menus or the state filter bar to
narrow your search for approvals.
You can see the approval status of your requests from the Status column on the Requests
tab.
The Total lab group space is located in the upper right of the Approvals tab and appears
after you select a lab group from the menu. These totals allow the approver to consider all
pending space requests for the lab group in order to make informed decisions regarding
individual approvals. The requested amount is the sum of lab space in megabytes of pending
Add Lab and Increase Lab Size requests for the selected lab group. The available amount is
the sum of currently available lab space in megabytes for the selected lab group. Both of
these totals adjust as each request is approved. A message appears if the approver attempts to
approve more lab space than is available for that lab group.
55
The following is an example of a request to increase lab size. If a request exceeds the request
limits, the lab group owner sees a notification indicating the requested size exceeds the
maximum set size.
The following lists the request type or a combination of request types that display when
you click the various buttons:
56
Request Types
Lab
Add Lab
Delete Lab
Size
Extend
Extend Lab
Reinstate Lab
User
Add User
Remove User
Owner
Add Owner
Remove Owner
Details
Drop
Drop Table
Other
Other
5 [Optional] Click a request type in the Approvals pane to see the details of the request.
Approving Requests
After viewing the requests, the lab group owner or lab owners who have been granted
approval authority can approve or deny the requests.
1 From the Approvals tab, select a request to view the details of the request before
approving it.
Description
From the Approvals tab, click the Table Actions menu, and
select Approve.
b. Select one or more check boxes in the table rows.
c. Click Approve.
3 Click the Requests tab to verify that the Status column for this request displays
Approved.
Denying Requests
When a request is made by a lab user or read-only user, the lab group owner or lab owners
who have been granted approval authority can deny the request.
57
After a request is denied, users can click , located next to the status in the Request Details
on the Requests tab, to review the reason for the denial. If a reason for the denial was not
provided by the lab group owner or lab owners, the icon does not appear next to the
status.
1 Click the Approvals tab.
2 Click the request to see the Request Details pane.
3 Click Deny.
4 In the Deny Request dialog box, type a reason for the denial, up to 500 characters.
5 Click Submit.
6 Click the Requests tab to verify that the Status column displays Denied for the request.
58
CHAPTER 5
Reporting
Reports
Reports give high-level information about the data labs to see access levels at the user, role,
and lab group level.
User Report
For the DBA, generates a report of all labs a Teradata Database user has access to so
periodic audits can be performed.
This report provides the following information:
Teradata Database user for whom the report was generated
Parent lab groups and labs to which the user has been given access
Teradata Database access level of the user: Full control or Read-only
Teradata Database permission level of the user: User or Role
Role Report
For the DBA, generates a report of all labs a Teradata Database role has access to so
periodic audits can be performed.
This report provides the following information:
Teradata Database role for whom the report was generated
Parent lab groups and labs to which the role has been given access
Teradata Database access level of the role: Full control or Read-only
Lab Group Report
For the DBA, generates a report of any lab group to audit who has access to the lab
group and labs within the lab group.
For a lab group owner, generates a report of all lab groups you own to audit who has
access to the lab group and labs within the lab group.
This report provides the following information:
Lab group for which the report was generated
All labs in the lab group
For each lab group, Teradata Database default users and roles
Note: A default user has access to all labs in the lab group.
59
Chapter 5 Reporting
For each lab, Teradata Database users who have been given full control or readonly access to the lab
For each lab, Teradata Database roles who have been given full control or readonly access to the lab
Viewing Reports
Permission to see the Reports tab is granted to individual users based on their Teradata
Viewpoint role and portlet permissions. Typically, the Teradata Viewpoint Administrator
grants permission to the DBA.
You can export data to a .csv file for further analysis and formatting. For more information,
see Exporting Data.
1 Click the Reports tab.
2 From the Report type menu, select one of the following:
User
Role
Lab Group
3 If you want to filter the list in the Match string box, do any of the following:
Type a value.
Use the * wildcard character to match zero or more characters in the position it
occupies. Type this symbol at the beginning, middle, or end of your search. This
wildcard character can be used more than once in the same search.
Type a wildcard statement.
box.
Use Ctrl or Shift to select multiples.
5 [Optional] Click
60