B113 System Use

download B113 System Use

of 23

Transcript of B113 System Use

  • 7/21/2019 B113 System Use

    1/23

    Module 13: How Teradata uses NCR Systems

    After completing this module you will !e a!le to:

    "escri!e the fundamental relationship !etween #N$%

    logical units and dis& array controllers'

    "escri!e the fundamental relationship !etween (dis&s

    )dis&s slices and *#Ns'

    Specify the ma+imum dis& space that an AM) can manage'

    ,i-en a new dis& array and a set of configurationparameters determine the num!er of *#Ns and the si.e of

    each *#N as configured !y )#T and pdeconfig'

  • 7/21/2019 B113 System Use

    2/23

    Teradata and the )rocessing Node

    #N$% S(R/ M)0RAS or indows 2

    Teradata )"4 56ase(proc7

    Teradata T)A S8

    )rocess Control Memory Mgmt' $89 Mgmt' 5"e-ice "ri-ers7

    MemoryC)#s

    )entium $(

    3' ,H.

    6$C/M ;

  • 7/21/2019 B113 System Use

    3/23

    SM) Memory and Teradata

    2> of remaining space ? 2@ M6 a-aila!le to 9'S'

    of remaining space ? 11B M6 a-aila!le for

  • 7/21/2019 B113 System Use

    4/23

    SM) Shared Memory

    %ctl )arameter 0

    Managed !y

    )"4

  • 7/21/2019 B113 System Use

    5/23

    Memory Managed !y the 9perating System

    Memory managed and used !y the operating system and the -procs issometimes called Ifree memoryJ' 4+amples of how this memory is used:

    (procs for non0Teradata file system acti-ity

    AM) wor&er tas&s

    )arser and dispatcher tas&s

    Messages 0 communication !etween -procs "ictionary cache

    ReFuest to Steps cache

    Temporary wor& space for -procs

    Administrati-e programs such as: program te+t and data

    message !uffers 5e+' TC)8$)7

    &ernel resources

    other applications 5e+'

  • 7/21/2019 B113 System Use

    6/23

  • 7/21/2019 B113 System Use

    7/23

    6uddy Node 6ac&up 5#N$% M)0RAS only7

    A I!uddy nodeJ is another SM) in the same cliFue which is used to!ac&up AM) updates'

    #pdates to data !loc&s and8or cylinder inde+es are written immediately

    to dis& !ased on following parameters:

    "ata 6loc&s only 0 "6SControl Irite"6sTo"is&J set to TR#4

    "ata 6loc&s Cylinder $nde+es 0 %ctl Irite All to "is&J set to 9N

    AM)

    "ata 6loc&

  • 7/21/2019 B113 System Use

    8/23

    (proc Num!er Assignment

    4ach )"4 AM) and )4 is assigned a uniFue (proc L in the system'

    )"4 (proc Ls5start at 13B/ and increment !y 17

    )"4 on first SM) 0 13B/

    )"4 on second SM) 0 13B

    )"4 on third SM) 0 13B

    AM) (proc Ls5start at and increment !y 17

  • 7/21/2019 B113 System Use

    9/23

    (proc Num!er Assignment 4+ample

    SM)10/

    )"4 13B/

    )413B3

    AM)

    AM)

    /

    AM)

    B

    AM)

    12

    AM)

    1

    AM)

    2

    AM)

    2/)413B2

    SM)10

    )"4 13B

    )4

    13B1

    AM)

    1

    AM)

    AM)

    @

    AM)

    13

    AM)

    1

    AM)

    21

    AM)

    2

    )4

    13B

    SM)10)"4 13B

    )4

    13@

    AM)

    2

    AM)

    AM)

    1

    AM)

    1/

    AM)

    1B

    AM)

    22

    AM)

    2)4

    13B

    SM)10

    )"4 13B

    )4

    13

    AM)

    3

    AM)

    AM)

    11

    AM)

    1

    AM)

    1@

    AM)

    23

    AM)

    2)4

    13

  • 7/21/2019 B113 System Use

    10/23

    "is& Arrays from an 9'S' )erspecti-e

    A logical unit 5*#N7or (olumeis a single dis& to #N$%'

  • 7/21/2019 B113 System Use

    11/23

    *ogical #nits and Slices

    ith #N$% M)0RAS a logical unit 5*#N7 will ha-e a single #N$% partition which

    is typically di-ided into multiple slices'

    How are slices typically used

    Hold a #N$% file system 5e'g' -+fs7'

    )ro-ides raw data storage area 5raw dis& slice7 for data!ases 5e'g' Teradata7'

    Slice 56oot Slice7 contains (T9C which has starting location 5physical !loc& L7 and

    si.e of each slice on the dis&'

    0 6oot

    B 0 Raw sliceassigned

    to a )dis&

    Teradata

    )dis& space

    0 6oot

    1 0 Root

  • 7/21/2019 B113 System Use

    12/23

    *#N and Slicing ,uidelines

    4ach *S$ array has a ma+imum of 32 *#Ns or (olumes'

    #N$% 3'1 and a!o-e 5currently on #N$% 3'27

    Ma+imum *#N si.e 1 T6

    Ma+imum slice si.e 1 T6

    Teradata si.ing issues 5ma+imum space that one AM) can address7

    Teradata (2 Releases 1 and 2 ? /3 ,6

    51 cylinders + 1/BB sectors8cylinder + 12 !ytes8sector7

    Teradata (2R3 (2R/ and indows NT ? 112 ,6

    51 cylinders + 3B2 sectors8cylinder + 12 !ytes8sector7

    Teradata (2R/'1 (2R' ? 1'2 T6

    5 cylinders + 3B2 sectors8cylinder + 12 !ytes8sector7

  • 7/21/2019 B113 System Use

    13/23

    Teradata the 9'S' and "is& Arrays

    "is& Array Controller

    Single "is&

    )4

  • 7/21/2019 B113 System Use

    14/23

    Teradata and a 1/ "is& Array 5*ogical (iew7

    B/01/ "is& Array with "is&s 0 *ogical (iew

    AM)

    -proc

    }

    AM)

    -proc

    2

    }

    AM)

    -proc

    /

    }

    AM)

    -proc

    }

    AM)

    -proc

    B

    }

    AM)

    -proc

    1

    }

    AM)

    -proc

    12

    }

    SM)

    AM)

    -proc

    1

    }

    AM)

    -proc

    3

    }

    AM)

    -proc

    }

    AM)

    -proc

    }

    AM)

    -proc

    @

    }

    AM)

    -proc

    11

    }

    AM)

    -proc

    13

    }

    (dis&

    (dis&

    2(dis&

    /

    (dis&

    (dis&

    B

    (dis&

    1(dis&

    12

    (dis&

    1

    (dis&

    3(dis&

    (dis&

    (dis&

    @

    (dis&

    11(dis&

    13

    SM)

  • 7/21/2019 B113 System Use

    15/23

    Teradata and a 1/ "is& Array 5"etail (iew7

    "AC

    "AC

    SM)

    ;

  • 7/21/2019 B113 System Use

    16/23

    *ogical #nits and (dis&s 4+ample

    3 ,6

    3 ,6

    3 ,6

    3 ,6

    *#N

    )dis&

    *#N 1

    )dis& 1

    (dis&

    )dis&

    )dis& 1

    AM)-proc

    2 ,6 of

    Ma+

    )4RM

    space

    Assumes 3 ,6 "is&s RA$" 1

    3 ,6

    3 ,6

    3 ,6

    3 ,6

    *#N 2

    )dis& 2

    *#N 3

    )dis& 3

    (dis& 1

    )dis& 2

    )dis& 3

    AM)-proc

    1

    2 ,6 of

    Ma+

    )4RM

    space

  • 7/21/2019 B113 System Use

    17/23

    4+ample of 2 ,6 (dis&

    Assumes RA$" 1 Mirroring

    (dis&

    Cylinder

    1

    2

    3

    33

    2 ,6

    )dis& 1

    )dis&

    3 ,6

    Cylinder

    1B32

    3 ,6

    1B32B

    33

    3 ,6

    "is& $"

    1

    3 ,6

    "is& $"

    2

    3 ,6

    "is& $"3

    3 ,6

    "is& $"

    /

    AM)

    )hysical "is&s

    TeradataOs

  • 7/21/2019 B113 System Use

    18/23

    Teradata

  • 7/21/2019 B113 System Use

    19/23

  • 7/21/2019 B113 System Use

    20/23

    )#T pdeconfig and "is& Arrays

    The )#T and pdeconfig utilities are used to configure a Teradata data!ase

    en-ironment'

    9ne of its &ey functions is to scan a system for dis& arrays and configure

    those dis& arrays for use with Teradata'

    "epending on the type of array RA$" *e-el si.e and num!er of dis&s these

    utilities will configure arrays differently' This chart lists configuration defaults'

  • 7/21/2019 B113 System Use

    21/23

    Summary

    Memory managed and used !y the operating system and the -procs is

    sometimes called Ifree memoryJ'

    )"4 software manages

  • 7/21/2019 B113 System Use

    22/23

    Re-iew ;uestions

    1' "escri!e the fundamental relationship !etween the 9'S' logical units and dis& array controllers'

    2' "escri!e the fundamental relationship !etween (dis&s )dis&s and *#Ns or (olumes'

    3' Specify the ma+imum dis& space that an AM) can manage'

    Teradata (2R3 0

    Teradata (2R' 0

    /' ,i-en a new dis& array and the following parameters complete the following chart as configured !y

    pdeconfig'

    RA$" L "is& Total L Si.e of

    *e-el of "is&s Si.e of *#Ns each *#N

    RA$" 1 3 ,6

    RA$" 1 3 ,6

    RA$" / 1B ,6

    RA$" 3 ,6

  • 7/21/2019 B113 System Use

    23/23

    Module 13: Re-iew ;uestion Answers

    1' "escri!e the fundamental relationship !etween the 9'S' logical units and dis& array controllers'

    Disk array controllers manage a set of logical units (implemented across a set of disks) and makethese available to the operating system.

    2' "escri!e the fundamental relationship !etween (dis&s )dis&s and *#Ns or (olumes'

    Each AP is assigned to a !disk "hich is made up of # or more Pdisks. A Pdisk is assigned to a

    logical unit or volume (in a disk array).

    3' Specify the ma+imum dis& space that an AM) can manage'

    Teradata (2R3 0 ##$ %&

    Teradata (2R' 0 #.$' T&

    /' ,i-en a new dis& array and the following parameters complete the following chart as configured !y

    pdeconfig'

    RA$" L "is& Total L Si.e of

    *e-el of "is&s Si.e of *#Ns each *#N

    RA$" 1 3 ,6 $ '

    RA$" 1 3 ,6 $ *

    RA$" / 1B ,6 #+ ,-

    RA$" 3 ,6 #- #+