creating users and group

13
7/28/2019 Creating Users and Group http://slidepdf.com/reader/full/creating-users-and-group 1/13 Teradata 13.0 User Administration Lab#21 Description: BISP is committed to provide BEST learning material to the beginners and advance learners. In the same series, we have prepared a complete end-to end Hands-on Guide for building financial data model in Teradata. The document focuses on how to create users and group. Join our professional training program and learn from experts. History: Version Description Change Author Publish Date 0.1 Initial Draft Anil Tekam 12th Aug 2011 0.1 Review#1 Amit Sharma 18 th Aug 2011 www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com | Page 1

Upload: amit-sharma

Post on 03-Apr-2018

224 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Creating Users and Group

7/28/2019 Creating Users and Group

http://slidepdf.com/reader/full/creating-users-and-group 1/13

Teradata 13.0

User Administration Lab#21

Description:BISP is committed to provide BEST learning material to the

beginners and advance learners. In the same series, we haveprepared a complete end-to end Hands-on Guide for buildingfinancial data model in Teradata. The document focuses on how tocreate users and group.  Join our professional training program andlearn from experts.

History:Version Description Change Author Publish Date0.1 Initial Draft Anil Tekam 12th Aug 2011

0.1 Review#1 Amit Sharma 18th Aug 2011

www.bispsolutions.com | www.hyperionguru.com |www.bisptrainings.com | Page 1

Page 2: Creating Users and Group

7/28/2019 Creating Users and Group

http://slidepdf.com/reader/full/creating-users-and-group 2/13

ContentsContents.......................................................................................................................... 2

Introduction..................................................................................................................... 4

Create New USER in TERADATA Administration:..............................................................5

 

www.bispsolutions.com | www.hyperionguru.com |www.bisptrainings.com | Page 2

Page 3: Creating Users and Group

7/28/2019 Creating Users and Group

http://slidepdf.com/reader/full/creating-users-and-group 3/13

Objective Create New USER in Teradata Administration.

Summary In this example, we have defined all the steps of creating new USER. In

 Teradata Administration, it is very easy to create New USER. We have create New USER

with the help of TD Administration. After creating it, we have created new DSN (Data

Source Name) with this user.

We have defined how we can create new user in TD Administration and how we cancreate new DSN in this user.

Create New USER:- This is the script of Create USER. After filling some

mandatory fields we can easily create New USER.

www.bispsolutions.com | www.hyperionguru.com |www.bisptrainings.com | Page 3

Page 4: Creating Users and Group

7/28/2019 Creating Users and Group

http://slidepdf.com/reader/full/creating-users-and-group 4/13

IntroductionTERADATA USER: USER is the group of object such as database, tables, view, trigger,

Macros etc.

Similarity and Dissimilarity between TERADATA USER and DATABASE :-

 TERADATA USER is same as the TERADATA DATABASE. We can create Database within

 TERADATA USER and also we can create USER within TERADATA DATABASE. But

 TERADATA USER and DATABASE have one difference i.e. TERADATA USER is able to

logon to the system but TERADATA DATABASE cannot. When we create the USER in

 TERADATA, that time we have to give the password. The password normally

established at the same time that the CREATE USER statement is executed. We can

change the password by using the MODIFY USER command. Password is the main

difference between USER and DATABASE. For USER creating time, password must be

given.

We are showing the creation and modification list of USER and DATABASE below-In this list, there is some option which is used in USER and DATABASE creation and

modification time.

1.) PERMANENT

2.) TEMPORARY

3.) SPOOL

4.) ACCOUNT

5.) FALLBACK 

6.) JOURNAL

7.) DEFAULT JOURNAL

Now we are showing only those options, which is used by the USER. when we create or

modify it-

1.) PASSWORD

2.) STARTUP

3.) DEFAULT DATABASE

Now we are describing each options which is used by both USER and DATABASE-

PERMANENT SPACE:- Permanent space is the space, when we create the user and

database that time we assign the permanent space. It is used for user and database

object (tables, view, macro, indexes etc.) creation and hold to their data.

TEMPARARY SPACE:- This Temporary space is used to store Global Temporary Table

data. We can use this Temp table data current session only. After ending the current

session, data will be lost.

SPOOL SPACE  Spool space is the amount of space on the system which has not been

allocated to any object permanently. The spool space is used for storing intermediate

www.bispsolutions.com | www.hyperionguru.com |www.bisptrainings.com | Page 4

Page 5: Creating Users and Group

7/28/2019 Creating Users and Group

http://slidepdf.com/reader/full/creating-users-and-group 5/13

results or queries that are being proceed in TERADATA. When create the USER and

DATABASE, we don't require to define the spool space limit but we have to define the

upper limit of spool space for any object (user, database, table etc) which we create.

FALLBACK: - This is the one of ability of TERADATA RDBMS to maintain an extra copy

of every rows of a table in different AMPs. When we create the table, then we can give

the Fallback or no Fallback protection of our table.

JOURANL   This is one of protection feature of TERADATA objects. Before and after

changing the table, it capture the table rows.

DEFAULT JOURNAL :- It specifies the default table that is to receive the journal image

of tables created in database.

Create New USER in TERADATA Administration:

Step #1:- For creating new user, First we have to start the TERADATA Service. For this

we open the Teradata Service Control window and then click on Start Teradata! option.

- After click on this Start Teradata button, all the services is active and running mode.

www.bispsolutions.com | www.hyperionguru.com |www.bisptrainings.com | Page 5

Page 6: Creating Users and Group

7/28/2019 Creating Users and Group

http://slidepdf.com/reader/full/creating-users-and-group 6/13

Step #2:- Now we open the Teradata Administration window. First we click on start

button and then select the Teradata Administration 13.0 .

Step #3:- Teradata Administration 13.0 window has opened. Now we click on connect

button of this window.

Step #4:- After click on this connect button, data source window open. We select thesome mandatory option from this window. 

1.) First we select the tdadmin user. This is parent user and we will create new user in

it.

2.) Now we have given the Root Database name i.e. DBC.

3.) From What to Load option, we have choose the All Database and Users option.

 Then we click on 'OK' button.

www.bispsolutions.com | www.hyperionguru.com |www.bisptrainings.com | Page 6

Page 7: Creating Users and Group

7/28/2019 Creating Users and Group

http://slidepdf.com/reader/full/creating-users-and-group 7/13

Step #5:- After click on this 'OK' button, we have successfully connected to the

tdadmin user. Some user and database already created in this tdadmin user. Now we

click in Create User option for creating new user.

Step #6:- After click on this Create User option, another window has opened and then

we will filled some mandatory field in this window.

www.bispsolutions.com | www.hyperionguru.com |www.bisptrainings.com | Page 7

Page 8: Creating Users and Group

7/28/2019 Creating Users and Group

http://slidepdf.com/reader/full/creating-users-and-group 8/13

Step #7:- We have filled some mandatory fields. After that we click on this 'Create'

option.

Step #8:- Now we are showing that USER (i.e. td_dba), which has created.

www.bispsolutions.com | www.hyperionguru.com |www.bisptrainings.com | Page 8

Page 9: Creating Users and Group

7/28/2019 Creating Users and Group

http://slidepdf.com/reader/full/creating-users-and-group 9/13

Step #9:- Now we will create this user data source name (DSN). For this we will open

the SQL developer window and then select the New option for creating new DSN. But

first we will select the ODBC Data Source option from Tools.

1.) After selecting this option, ODBC Data Source Administration window open. From

this window, we will select the 'ADD' option because we will add our new USER DSN in

this USER Data Sources window.

www.bispsolutions.com | www.hyperionguru.com |www.bisptrainings.com | Page 9

Page 10: Creating Users and Group

7/28/2019 Creating Users and Group

http://slidepdf.com/reader/full/creating-users-and-group 10/13

Step #10:- After click on this ADD option, Create New Data Source window open. From

this window, we will select he Teradata driver option from the list. After that we will

click on 'Finish' option.

Step #11:- After click on this 'Finish' option, new window open. This is the ODBC

driver setup window of Teradata database. We will fill some mandatory fields of this

window.

www.bispsolutions.com | www.hyperionguru.com |www.bisptrainings.com | Page 10

Page 11: Creating Users and Group

7/28/2019 Creating Users and Group

http://slidepdf.com/reader/full/creating-users-and-group 11/13

Step #12:- After click on this 'OK' button, one dialog open. This is the Warning dialog

box. Some password related warning has written in this dialog box. For secure our

password we will click on 'Yes' button.

Step #13:- After click on this 'Yes' button, ODBC Data Source Administration window

again open. Now this time our new user DSN has added in this window. For using this

DSN, we select this new DSN and after that we click on 'OK' button.

www.bispsolutions.com | www.hyperionguru.com |www.bisptrainings.com | Page 11

Page 12: Creating Users and Group

7/28/2019 Creating Users and Group

http://slidepdf.com/reader/full/creating-users-and-group 12/13

Step #14:- After click on this 'OK' button we will connect to the SQL developer

window. For this we will click on connect button. 

Step #15:- After click on this connect button, Data Source window open. From thisData Source window, we select the data source name and after selecting this we click

on OK button.

www.bispsolutions.com | www.hyperionguru.com |www.bisptrainings.com | Page 12

Page 13: Creating Users and Group

7/28/2019 Creating Users and Group

http://slidepdf.com/reader/full/creating-users-and-group 13/13

Step #15:- Now we have successfully connected to our new DSN i.e. DSN_DBA. Then

we can perform any operation in Database of DSN.

www.bispsolutions.com | www.hyperionguru.com |www.bisptrainings.com | Page 13