Professional Documents
Culture Documents
B401 Admin Env
B401 Admin Env
B401 Admin Env
Database Administration
Some of the functions of a Teradata Database Administrator (DBA) include:
DBC
SysAdmin
40 MB
TDPUSER
SystemFE
60 MB
Crashdumps
1 GB
Administrative User
DBC
All
Sys_Calendar
Default
PUBLIC
SysAdmin
TDPUSER
SystemFE
Crashdumps
SYSDBA
SYSDBA
Human_Resources
Personnel
Benefits
Accounting
Parent or owner
Any object above you in the hierarchy
PR01
PR02
PR03
Child
Any object below you in the hierarchy
SYSDBA
Human_Resources
Personnel
PR01
PR02
GRANT DATABASE ON
Human_Resources TO Accounting ;
Accounting
Benefits
Payroll
PR03
Transfer of Ownership
DBC
SYSDBA
Human_Resources
Personnel
PR01
PR02
Benefits
PR03
Accounting
Payroll
PY01
PY02
Views
Macros
SYSDBA
SYSDBA
Human Resources
Human Resources
Personnel
GUI interface
to Teradata
hierarchy and
objects.
This example
shows the
default users
and databases
in a newly
initialized
system.
Which database
has the majority
of the Perm
space?
Answer: DBC
Summary
Initially, system user DBC owns all space in the Teradata Database except that owned by
system users and databases SYS_CALENDAR, SYSADMIN, SYSTEMFE, and
CRASHDUMPS.
The database administrator should create a special administrative user containing most
of the space available which will become the owner of all administrator-defined
application databases and users.
Everyone higher in the hierarchy is a parent or owner. Everyone lower in the hierarchy
is a child.
Every object has one and only one creator. The creator is the user who executes the
CREATE statement.
The GIVE statement enables you to transfer a database or user. The following privileges
are necessary:
You cannot DROP databases or users that own objects (tables, views, macros, journals
or children databases/users).
Review Questions
1.
True or False.
You should use system user DBC to create
application users and databases.
2.
True or False.
An owner or parent is any object (user or database)
above the current/selected object in the hierarchy.
3.
True or False.
The GIVE statement transfers a database or user
space to a recipient you specify. It does not automatically transfer all
child databases, users, tables, views and macros.
Review Questions
1.
True or False.
You should use system user DBC to create
application users and databases.
False. You should create and logon as an administrative user
to perform these tasks.
2.
True or False.
An owner or parent is any object (user or database)
above the current/selected object in the hierarchy.
3.
True or False.
The GIVE statement transfers a database or user
space to a recipient you specify. It does not automatically transfer all
child databases, users, tables, views and macros.
False. The GIVE statement automatically transfers all child
databases, users, tables, view and macros the transferred object
owns.