Documente Academic
Documente Profesional
Documente Cultură
PE vproc
PE vproc
AMP
AMP
AMP
AMP
AMP
AMP
AMP
AMP
AMP
AMP
vproc
vproc
vproc
vproc
vproc
vproc
vproc
vproc
vproc
vproc
Memory Mgmt.
Memory
QFC
Eth.
Pentium IV
3.06 GHz
BYNET Disk
Arrays
LANs
80 MB
520 MB
290 MB
FSG Cache
1158 MB
Examples of objects that are
memory resident:
Hash Maps
Configuration Maps
Master Indexes
RTS - Request-to-Steps Cache
D/D - Data Dictionary Cache
40 MB 40 MB
40 MB
40 MB
40 MB
40 MB
PE
Vproc
AMP
PE
Vproc Vproc
AMP
Vproc
AMP
Vproc
AMP
Vproc
AMP
Vproc
RTS
D/D
Cache
RTS
D/D
Cache
Master
Index
Master
Index
Master
Index
Master
Index
PDE (BaseVproc) 40 MB
..
Hash Maps
Configuration Maps
Master
Index
100% - 1448 MB
90% - 1303 MB
80% - 1158 MB
Managed by
PDE FSG
software.
FSG Cache
13 Vprocs @ 40 MB each
520 MB
Operating System 80 MB
Memory
managed by
O.S.
Ex. 2048 MB - 2 GB
Memory
Xctl Parameter - FSG Cache Percent - usually set between 80 and 90%
FSG Cache
FSG Cache is primarily used by the AMPs to access memory resident
database segments. When Teradata needs to read a database block, it
checks FSG Cache first.
FSG is also used to backup AMP updates on other SMPs. This is referred
to as buddy node backup.
FSG
Data Block
SQL UPDATE
AMP
Data Block
AMP
Buddy Node
SMP001-4
PE
16383
PE
16382
AMP
0
AMP
4
PDE
SMP001-5
PE
16381
PE
16380
AMP
1
AMP
5
PDE
SMP001-6
PE
16379
PE
16378
AMP
2
AMP
6
PDE
SMP001-7
PE
16377
PE
16376
AMP
3
AMP
7
PDE
AMP
8
AMP
12
AMP
16
AMP
20
AMP
24
AMP
13
AMP
17
AMP
21
AMP
25
AMP
14
AMP
18
AMP
22
AMP
26
AMP
15
AMP
19
AMP
23
AMP
27
16384
AMP
9
16385
AMP
10
16386
AMP
11
16387
The operating system does not know or care about the specific RAID
technology being used for a LUN or Volume.
Operating System
LUN
or
Volume
LUN
or
Volume
LUN
or
Volume
LUN
or
Volume
7 - Boot
7 - Boot
1 - Root FS
UNIX MP-RAS
System Disk
2 - Swap
8 - Raw slice
assigned
to a Pdisk
Teradata
0 Pdisk space
User
AMP
Vdisk
Pdisk 0
PE
File
System
Single Disk
Pdisk 1
PDE
Disk Array Controller
O.S.
Logical
Disks
LUN 0
LUN 1
Pdisk 0
Pdisk 1
SMP
AMP
vproc
4
AMP
vproc
6
AMP
vproc
8
AMP
vproc
10
AMP
vproc
12
AMP
vproc
1
AMP
vproc
3
AMP
vproc
5
AMP
vproc
7
AMP
vproc
9
AMP
vproc
11
AMP
vproc
13
Vdisk
0
Vdisk
2
Vdisk
4
Vdisk
6
Vdisk
8
Vdisk
10
Vdisk
12
Vdisk
1
Vdisk
3
Vdisk
5
Vdisk
7
Vdisk
9
Vdisk
11
Vdisk
13
}
}
}
}
}
}
}
AMP
vproc
2
}
}
}
}
}
}
}
AMP
vproc
0
AMP
vproc
0
AMP
vproc
2
AMP
vproc
4
AMP
vproc
6
AMP
vproc
8
AMP
vproc
10
AMP
vproc
12
Vdisk
0
Vdisk
2
Vdisk
4
Vdisk
6
Vdisk
8
Vdisk
10
Vdisk
12
SMP
DAC
DAC
6840-1456
Disk Array
QFC - Quad Fibre
Channel adapter
QFC
QFC
SMP
Vdisk
1
Vdisk
3
Vdisk
5
Vdisk
7
Vdisk
9
Vdisk
11
Vdisk
13
AMP
vproc
1
AMP
vproc
3
AMP
vproc
5
AMP
vproc
7
AMP
vproc
9
AMP
vproc
11
AMP
vproc
13
AMP
vproc
1
LUN 0
Vdisk 0
Pdisk 0
36 GB
36 GB
Pdisk 0
Pdisk 1
72 GB of
Max
PERM
space
LUN 2
Vdisk 1
Pdisk 2
36 GB
36 GB
Pdisk 2
LUN 1
36 GB
Pdisk 1
36 GB
Pdisk 3
72 GB of
Max
PERM
space
LUN 3
36 GB
Pdisk 3
36 GB
Example of 72 GB Vdisk
Teradatas File System
software divides the
Vdisk into logical
cylinders; each
cylinder is 3872
sectors in size.
Vdisk
Pdisk 0
Physical Disks
72 GB
36 GB
36 GB
Cylinder 0
Cylinder 0
1
2
AMP
3
Disk ID
1,0
36 GB
18327
Disk ID
2,0
36 GB
36 GB
18328
Disk ID
3,0
36 GB
36653
36653
Pdisk 1
Disk ID
4,0
Assumes RAID 1 Mirroring
Cylinder Index
Cylinder
1
SMP Memory
Cylinder
2
Cylinder Index
Data Block with rows
Master Index
Entry for CI #1
Entry for CI #2
For a 72 GB Vdisk,
there will be
approximately
36,650 cylinders.
Max # of
Cylinders
is approx.
700,000
Cylinder Index
Data
Block
DB
DB
DB
DB
DB
~2 MB
Enables efficient use of disk & CPU performance resources for the following
table scan operations under specific conditions:
One of its key functions is to scan a system for disk arrays and configure
those disk arrays for use with Teradata.
Depending on the type of array, RAID Level, size and number of disks, these
utilities will configure arrays differently.
Summary
Memory managed and used by the operating system and the vprocs is
sometimes called free memory.
The operating system and Teradata does not know or care about the RAID
technology being used.
With Windows 2000, a LUN or Volume is considered a partition and the raw
partition is assigned to a Teradata Pdisk.
PUT and pdeconfig are utilities that are used to configure a Teradata
database environment.
Review Questions
1.
Describe the fundamental relationship between the O.S., logical units, and disk array controllers.
________________________________________________________________________________
________________________________________________________________________________
2. Describe the fundamental relationship between Vdisks, Pdisks, and LUNs or Volumes.
________________________________________________________________________________
________________________________________________________________________________
3. Specify the maximum disk space that an AMP can manage.
Teradata V2R3 - ________________
Teradata V2R5.0 - ________________
4. Given a new disk array and the following parameters, complete the following chart as configured by
pdeconfig.
RAID
Level
#
of Disks
Disk
Size
RAID 1
56
36 GB
RAID 1
56
73 GB
RAID 5
40
18 GB
RAID 5
56
36 GB
Total #
of LUNs
Size of
each LUN
#
of Disks
Disk
Size
Total #
of LUNs
Size of
each LUN
RAID 1
56
36 GB
28
36
RAID 1
56
73 GB
28
73
RAID 5
40
18 GB
10
54
RAID 5
56
36 GB
14
108