Teradata Tutorials
Transcript of Teradata Tutorials
8/16/2019 Teradata Tutorials
http://slidepdf.com/reader/full/teradata-tutorials 1/13
Teradata Tutorials
Teradata Tutorials OverviewWelcome to Teradata Tutorials. The intent of these tutorials is to provide in depthunderstanding of Teradata Database.
Teradata Overview It is an RDBMS that Drives companies data ware housing O T!"O #!" DSS"D#T# M#RT#ppliances.
$#% #n &O!'( S)ST'M*" which e+ecutes on ,ni+ M!- R#S$Discantioned in TDD% Windows///"+p"(O0' "S,S' I(,1 etc The #bove operating s2stem
$B% 3ompatible with 4#(SI5 standard
$3% #cts li6e a S'R0'R
$D% Run on single$or%Multiple (OD'S
$'% Built in parallelism
I Tera B2te 7 8/ B2tes78/ 9 :B$:I:# B2te%
Teradata #pplications'nterprise Data ware house
#ctive Data ware house
Internet #nd '-3ommerce
3RM;3ustomer Relationship Management<
Data Mart #ppliance etc
Teradata=istor2
8>?> Teradata3orporation8>@ Airst 0ersion DB3 8/8
8>>C //C Tera data-(3R
//? TD (3R Separated
TD 08R8 08R9 $0-0ersion"R-Release%
8/16/2019 Teradata Tutorials
http://slidepdf.com/reader/full/teradata-tutorials 2/13
;0 8 R8 " 08R " 0 8RE 08R9<
TD 0 R8 0 R?
$0 R8 " 0 RE" 0 ERE "0 R9" 0 RF " 0 RC" 0 R?%
TD8 $ //?%
TD8E 0iew !oint 0ersion
TD89,p 3oming
3ertiGcation 0ersion #!R /8/ onwards TD8 Real time companies
0 RF" 0 RC" 0 R? TD8 " TD8E ver2 few
Teradata 'nterprise #rchitecture
8/16/2019 Teradata Tutorials
http://slidepdf.com/reader/full/teradata-tutorials 3/13
Teradata #rchitectureTeradata Database s2stem are t2pes
SM!M!!
a) SMP[Symmetric Multi- Processing]
Teradatadatabase s2stem is called SM! S2stem it have a single (OD' That contains multiple3!, sharing Memor2 pool.
8/16/2019 Teradata Tutorials
http://slidepdf.com/reader/full/teradata-tutorials 4/13
b) MPP[Massively parallel Processing]
=ere multiple (OD'S are connected together via a component called as B)('T
=ere all the (OD'S communication with each other with the help of vistual processes
Real time usage
To perform mode operation and to have better storage this is recommended.
NODE AR !"#E #$RE
8/16/2019 Teradata Tutorials
http://slidepdf.com/reader/full/teradata-tutorials 5/13
8/16/2019 Teradata Tutorials
http://slidepdf.com/reader/full/teradata-tutorials 6/13
!' !assing 'ngine
!DA !arallel Data Base '+tension
#M! #ccess Module !rocessor
0DISH 0irtual Dis6
0!RD3 0irtual !rocessor
NODE
It is important building bloc6 of the Teradata Database s2stem it is collection of hardware andsoftware components.
# server can also called as a node
3hannel #ttached s2stem and networ6 attached s2stems can be connect to a (OD'
3hannel driver and Teradata :#T'W#) are the application R,( under the operating s2stem asprocesses
Remaining component runs under !D'
!' and #M! 0irtual processor" where B)('T Is an Internal a2er between !' and #M!
PDE[Parallel Data %ase E&tension]
It Runs Teradatacomponent in parallel
#PA[#ruste' parallel Application]
# data base is called pure parallel application $or% Trusted parallel application" it5s Runs under!D'
Teradata is a database" which is running under !D'" so we call it. Teradatahas pure parallelData base and trusted data base
SMP AR !"#E #$RE[Symmetric Multi- Processing]
Single (OD' #rchitecture can also be called as SM! #rchitecture" =ere B)('T 3an also referredas BRO#D 'SS B)('T$or% 0IRT,# B)('T$or%S OAT Ware B)('T
Recommen'e'
8/16/2019 Teradata Tutorials
http://slidepdf.com/reader/full/teradata-tutorials 7/13
Aor :I:# B)T'S of data processing with minimum operation" this is recommended
MPP Arc(itecture Massively parallel processor)
3ollection of (OD' which ma6e larger conGguration which Is called M!!
#ll these nodes are connected via component called B)('T"Which allows multiple virtual processors and multiple (OD'S 3ommunicate with each other
This B)('T can also called as BO#RD ORI'(T'D B)('T$OR% =#RD W#R' B)('T.
Terdata B)('T Aeatures*ault #olerance
'ach B)('T having networ6 path to connected to the (OD'S" if there is a failure in an2 networ6 path simple it reconGguration Itself and avoids the un- usable or failed path" in this wa2 itis fault occurrence. It tolerates it self
+oa' %alances
It B)('T O is not able to reconGguration or not able to handle tra c" than all instructionsredirected to B)('T8 and it is Balance the oad.
!ig( scalability
8/16/2019 Teradata Tutorials
http://slidepdf.com/reader/full/teradata-tutorials 8/13
If we increase the (umber of (OD'S Teradata Doesn5t sacriGce an2 perform are and it5s scalesinearl2.
NO#E
0 RF JF8 (OD'S
0 RC" TD8 J8/ 9 (OD'S
atest 0ersionJ /9@ (OD'S be can connect to B)('T upcoming
Some companies An' Number o, t(e NODES
K!M3 L 9/ (OD'S
BO# L 9/ (OD'S
DBS L @ (OD'S
I3I3I !roductial L 9 (OD'S
3IS3O L 99 (OD'S
W# M#RT L E9/ (OD'S
Barcla2s L 88 (OD'S $or%
Recommen'ation
If !rocessing Tera B)T'S of data and man2 operations the M!! is recommended.
Di erence between Teradata #nd Other RDBMS
#ERA DA#A Ot(er RD%MSArc(itectures Shared (othing Shared 'ver2 thingProcesses MI!S;Millions of Instructions sec HI!S;Thousand of institutions sec<"n'e&es Better Distribution #nd Retrieval Onl2 A#SI RetrievalParallelism ,n-conditional conditional%ul +oa' Man2 imited*acilities 'nterprise wide Data ware housing O T! Morestores T'R# B)T'S;Billions of rows< :I:# B)T'S;Millions of rows<
8/16/2019 Teradata Tutorials
http://slidepdf.com/reader/full/teradata-tutorials 9/13
3RM;3ustomer" Relationship Management<
Teradata #dvantages
Automatic. Even Data Distribution
In Other RDBMS SeNuential distribution is #utomatic" But in Teradata 'ven$or% ,niform$or%Random distribution is #utomatic
!ig( Scalability
(OD' (OD'
WORH WORH
,S'RS ,S'RS
Other" RDBMS inear Scalabilit2 #pplication Teradata
If increase (umber of (ode" ,S'RS $OR% WORH" TeradataDoesn5t sacriGce an2 performance andit5s scales linearl2
8/16/2019 Teradata Tutorials
http://slidepdf.com/reader/full/teradata-tutorials 10/13
Matura optimi/er
• Older 0ersion of Oracle S Server
o E Koins ueries
o E Sub ueries ueries
• Older 0ersion of Tera data
o C9 Koins ueries
o C9 Sub ueries ueries
o
Aormatting 3ommands
o #nal2tical 3ommands
o #ggregate 3ommands etc.
#s Teradata is having powerful optimiPer so that it is able to perform above operations.
Mo'els #(e %usiness
Teradata highl2 Qe+ible to E(A;E rd (ormal Aorm< and it5s supports the below models also
8. (ormaliPation
. Star schema
E. Snow Ala6e schema
9. Bus schema
F. :ala+2 Schema
C. =2brid Schema
Acts +i e a Single Data Store
8/16/2019 Teradata Tutorials
http://slidepdf.com/reader/full/teradata-tutorials 11/13
Tara data is warehouse" where we can sto6e both 3=#((' #TT#3='D Data and ('TWORH#TT#3='D Data.
+o0 cost # O[total cost o, o0ners(ip]
Many %ul +oa' *acilities
There are man2 facilities in Teradatato load and un-load
BT' - oad ,n- load
A#ST O#D- O#D
8/16/2019 Teradata Tutorials
http://slidepdf.com/reader/full/teradata-tutorials 12/13
M, TI O#D- O#D
A#ST '1!ORT- ,(- O#D
T !,M!- O#D
O ' O#D- O#D ,(- O#D
Teradata!#R# ' TR#(S!ORT'R $T!T%- O#D ,(- O#D
Teradata!#R# ' TR#(S!ORT'R #!I etc.
Man2 appliances added supported from teradata 8E onwards those are
'+treme data appliance8FF/ 8FFF
#ctive 'nterprise Data ware house FFFF FFF/
Data mart appliance FF/ FFF F// etc
Teradata InstallationInstalling Teradata is ver2 simple. It as6s things.
Storage space
3ustom and t2pical option
,n Pip folder" Pip folder
:o to setup.e+e
3lic6 Main Menu
Install Teradata'+press
Installation ReNuirement
MinimumE -bit s2stem ReNuirement
Micro soft windows 1! with S! E
Micro soft windows Server //E with S!
Micro soft windows Server //@
Micro soft windows vista
Micro soft windows ?
Minimum hard ware ReNuirement
8 :B Memor2
F :B to 8 :B of Aree Dis6 space
3lic6 (e+t install Menu and install below component one b2 one
8/16/2019 Teradata Tutorials
http://slidepdf.com/reader/full/teradata-tutorials 13/13
Teradata B)('T DRI0'R
Tara data Database
Tara data '+press tool
Tara data tools and utilities
Note
It ta6es Ma+ / to F minutes for entire installation