ADABAS Dba Best Practices 20080808
ADABAS Dba Best Practices 20080808
Best Practices
Dieter W. Storr
[email protected]
DBA ?
Doing Business As ……
Deutsche Ba (German airline)
Doctor of Business Administration
Davis-Bacon Act of 1931
Design Basis Accident
Design Business Association
Dual Band Antenna
Direct Budget Authority
Dollar Bill Acceptors
Dumb But Adorable
Danish Beekeepers' Association
Dieter W. Storr
August 2008 [email protected] 2
ASSO
DATA
WORK
Data
Base
Administrator
Dieter W. Storr
August 2008 [email protected] 3
Content 1
Tasks of a DBA
[Help to] determine the database design
Hardware level
Dieter W. Storr
August 2008 [email protected] 4
Content 2
Dieter W. Storr
August 2008 [email protected] 5
Content 3
Dieter W. Storr
August 2008 [email protected] 7
Tasks of a DBA
Dieter W. Storr
August 2008 [email protected] 8
Database Design
(Mainframe)
Hardware level
Help to determine number and type of disks, cache
Help to distribute disks to channels
Determine which component to be allocated on what
disk, for example ASSO, DATA, WORK, PLOG, TEMP,
SORT, CLOG, etc.
Disk arrays – distribution still important?
Dieter W. Storr
August 2008 [email protected] 9
AS DA WO TE SO PL PL CL CL
SO TA RK MP RT OG OG OG OG
1 2 1 2
ASS - N- N- J N N N N N
O K K
DAT N- - J N J N N N N
A K
WOR N- J *) J J N N N N
K K
TEM J N J - J J J J J
P
SOR N J J J **) J J J J
T
PLO N N N N N - N N N
G1
PLO N N N N N N - N N
G2
CLO N N N J J N N - N
G1
CLO N N N J J N N N -
G2 Dieter W. Storr
August 2008 [email protected] 10
Database Design
(Mainframe)
Dieter W. Storr
August 2008 [email protected] 11
Database Design
(Mainframe)
Dieter W. Storr
August 2008 [email protected] 12
Database Design
(Mainframe)
Hardware level
Distribution of ADABAS nuclei to different CPUs
Help to determine the priorities between ADABAS, TP
Monitor, EntireX and others
Distribution of nuclei to logical machines (VM)
Work load manager and service class
http://storrconsulting.com/sc510-ada006.html
Dieter W. Storr
August 2008 [email protected] 13
Database Design
(Mainframe)
SRB
TCB-Zeit
TCB
SRB-Zeit Wait
Wartezeit
Time Time Time
Dieter W. Storr
August 2008 [email protected] 18
Database Design
(Unix)
Hardware level
Enabling asynchronous I/O (AIX)
Changing the thread scheduling model (AIX)
Raw device or file system
Most of the ADABAS container files can be located on both,
for example ASSO, DATA, WORK, SORT, etc.
Some files can only be loaded on file system, for example
ADAMUP ISN, FDT, raw data
Dieter W. Storr
August 2008 [email protected] 19
Processes
Database
Shell Library Programs
s
System Calls
Dieter W. Storr
August 2008 [email protected] 21
Database Design
(Unix)
Memory Management
IPC Interprocess Communication
Message queue (like a mailbox)
Signals, files, pipes
Shared memory segments
Semaphore (locking mechanism used to control
access to to files, shared memory, message
queues or any system resource)
ipcs displays and ipcrm destroys a semaphore
Performance Management
User-state CPU
System-state CPU
Dieter W. Storr
August 2008 [email protected] 23
Database Design
(Unix)
Dieter W. Storr
August 2008 [email protected] 24
Database Design
(Unix)
http://www.circle4.com/jaqui/papers/webunuk.html
Dieter W. Storr
August 2008 [email protected] 25
Database Design
(Unix)
Measure Performance Management (3)
Commands may differ depending on the platform
they are being run on, for example AIX:
tprof CPU Usage
svmon Memory Usage
Denormalization
Add fields
Dieter W. Storr
August 2008 [email protected] 30
Database Design
Denormalization
1:N Integrate primary key as foreign key into
subordinated entity
1:1C or 1:NC Insert new attribute into primary
entity
1:N recursive primary key of superordinated line
is foreign key in the subordinated line or all
primary keys of subordinated
1:N multiple recursive: Primary key in relational
table.
Dieter W. Storr
August 2008 [email protected] 31
Database Design
Denormalization N:M
Two files and multiple field in second entity
One file with multiple field in PE group
Two files and multiple field in first entity
One file and one PE group
Dieter W. Storr
August 2008 [email protected] 32
Database Design
Manual denormalization
Transform relations and cardinalities
Determine integrity rules
Determine access paths
Implement database physically
Optimize processes
Performance and tuning
Dieter W. Storr
August 2008 [email protected] 33
Database Design
Dieter W. Storr
August 2008 [email protected] 34
Database Design
Its notation is derived from and unifies
the notations of three object-oriented
design and analysis methodologies:
Grady Booch's methodology for describing a
set of objects and their relationships
James Rumbaugh's Object-Modeling
Technique (OMT)
Ivar Jacobson's approach which includes a
use case methodology
Dieter W. Storr
August 2008 [email protected] 35
Database Design
Use-Case Modeling
Dieter W. Storr
August 2008 [email protected] 36
Database Design
A use case diagram is drawn to illustrate that use cases and actors
interact by sending stimuli to one another
Customer
Conduct Bank Transactions
Bank
Run Reports
Dieter W. Storr
August 2008 [email protected] 38
Database Design
User level
Different databases for
DBAs, Test and development
etc.
Dieter W. Storr
August 2008 [email protected] 39
ADABAS Parameters
Dieter W. Storr
August 2008 [email protected] 40
ADABAS Parameters
Influences performance
Size of buffer pool
Size of work pool
Size of dynamic caching
Number of buffer flushes
Bypass device caching
Size of protection log (work part 1)
Dieter W. Storr
August 2008 [email protected] 41
ADABAS Parameters
Influences performance
Number of queues and threads
Size of format buffer
Size of TBI pool
Size of hold queue
Size of security pool
Values of time limit windows
Dieter W. Storr
August 2008 [email protected] 42
Transaction Design
DB transaction must end before DC transaction
Dieter W. Storr
August 2008 [email protected] 43
Transaction Design
Add many DB transactions into one (batch)
Reason: performance, ET commands are costly
. . .
Note:
UPDATE
ADD 1 TO #UPDATE-COUNTER
Hold queue
overflow
IF #UPDATE-COUNTER > 50
NAT3009-1
RESET #UPDATE-COUNTER NAT3045
END TRANSACTION
Work-1 overflow
END-IF NAT3009-15
Dieter W. Storr
August 2008 [email protected] 44
Transaction Design
Determine the number of write commands
per logical DB transaction
STORE, UPDATE, DELETE
Hold queue overflow NAT3009-1 NAT3045
Back-out, Work-1 overflow, NAT3009-15
Adjust parameters HQ, LP
Dieter W. Storr
August 2008 [email protected] 45
Transaction Design
Determine the maximal number of
ADABAS commands per DC transaction
Between terminal I/Os
Adjust Natural parameter MADIO to avoid
NAT1009
TP monitor: CPU time limit exceeded
TP monitor: ADALIMIT=32767 (before cancel)
TP monitor: ADACALLS=50 (before rolls)
TP monitor: ADAROLL=.1 (before rolls)
Dieter W. Storr
August 2008 [email protected] 46
Transaction Design
See handouts:
‘System Event Conditions and User ID
Handling’
Unplanned System Event Descriptions
Parameter values in different databases
Effect
Action
Dieter W. Storr
August 2008 [email protected] 47
Online and Batch Process
ADABAS doesn’t differentiate between online
and batch users
Batch users can send more ADABAS
commands per second than online users
Batch users can influence the online response
time
DBAs can discuss with OP the best time to
use batch programs, for example before 8:00
AM and after 5:00 PM.
Dieter W. Storr
August 2008 [email protected] 48
Online and Batch Process
Possibilities to slow
down batch processes Batch
Dieter W. Storr
August 2008 [email protected] 49
Back-up and Recovery
Procedures
Dieter W. Storr
August 2008 [email protected] 50
W e e k ly
ADABAS 6.2.2 Back-up at LA Times
2 1 :0 0 -2 1 :3 0 2 1 :3 0 -1 :1 5 2 :0 0 3 :0 0 8 :0 0 -1 1 :0 0
A D A P n B K F A D A P n P L C A D A P n P L C
O n lin e S A V E F E O F P L P L O G S w itc h
D is k
P o o l P D S , G D G s , e tc .
D F D S S A D A P n B K O B R M /A B A R S
F u ll V o lu m e C o p y O n lin e S e v e ra l J o b s
B a c k -u p S A V E s
J o b N u m b e r o f
3 4 9 0 ta p e s
A D A P 1 B K O 2
A D A P 2 B K O 3 5
A D A P 3 B K O 1 6
A D A P 4 B K O 8
A D A P 5 B K O 4
6 5
D F D S S / o n e 5 9
ta p e p e r v o lu m e
B R M /A B A R S 2 2
T O T A L 2 1 1
( O n ly fo r A D A B A S ) P ic k -u p b y R e c a ll
S ta tu s : 1 2 N o v 2 0 0 4
Dieter W. Storr
August 2008 [email protected] 51
Back-up and Recovery
Procedures
Basic restore procedure (based on the previous slide)
Full volume restore (only formatted ASSO, DATA,
WORK, PLOG etc. areas)
Format WORK, PLOG1, and PLOG2
Dieter W. Storr
August 2008 [email protected] 52
Where to get recovery
info from
Without ADARAI
ADAREP and ADASAV: Session/PLOG #
Dieter W. Storr
August 2008 [email protected] 53
Where to get recovery
info from
With ADARAI
CHKDB: Check the Database Status
Dieter W. Storr
August 2008 [email protected] 54
A D A R A I V7.4 SM2 DBID = 00215 Started 2006-08-26 20:15:10
Parameters:
-----------
ADARAI LIST GENS=YES,RELGEN=2-0
Recovery Log File for database 215
MINGENS value is 16
Start RABN for Log Data Area is 21
Highest Log Area RABN is 480
Current value for Rotating RABN is 305
I Gen- I I Block I Date / Time I
I Number I S I From To I From To I
I--------I---I-----------------I---------------------------------------------I
I 744 I N I 305 305 I 2006-08-26 14:32:32 2006-08-26 14:32:54 I
I 743 I N I 304 304 I 2006-08-25 21:03:04 2006-08-26 14:32:32 I
I 742 I N I 303 303 I 2006-08-24 21:03:28 2006-08-25 21:03:04 I
I 741 I N I 302 302 I 2006-08-23 21:03:11 2006-08-24 21:03:28 I
I 740 I N I 301 301 I 2006-08-22 21:02:50 2006-08-23 21:03:11 I
I 739 I N I 300 300 I 2006-08-21 21:02:58 2006-08-22 21:02:50 I
I 738 I N I 299 299 I 2006-08-20 21:02:48 2006-08-21 21:02:58 I
I 737 I N I 298 298 I 2006-08-19 14:33:30 2006-08-20 21:02:48 I
I 736 I N I 297 297 I 2006-08-18 21:02:40 2006-08-19 14:33:30 I
I 735 I N I 296 296 I 2006-08-17 21:03:18 2006-08-18 21:02:40 I
I 734 I N I 295 295 I 2006-08-16 21:02:48 2006-08-17 21:03:18 I
I 733 I N I 294 294 I 2006-08-15 21:02:53 2006-08-16 21:02:48 I
I 732 I N I 293 293 I 2006-08-14 21:03:03 2006-08-15 21:02:53 I
I 731 I N I 292 292 I 2006-08-13 21:02:59 2006-08-14 21:03:03 I
I 730 I N I 291 291 I 2006-08-12 14:34:19 2006-08-13 21:02:59 I
I 729 I N I 290 290 I 2006-08-11 21:02:43 2006-08-12 14:34:19 I
I--------I---I-----------------I---------------------------------------------I
Dieter W. Storr
August 2008 [email protected] 55
<snip>
ADARUN DBID=215,SVC=254,DEVICE=9990,LP=65535
ADARUN PROGRAM=ADASAV,TNAX=18000
ADARUN IGNDIB=NO
//DDSAVE1 DD DSN=ADABAS.PROD.DB1.BACKUP.FULL.G2327V00(+1),
// UNIT=3490,DISP=NEW,DCB=(RECFM=VB,BLKSIZE=262144,
// LRECL=32756),
// VOL=SER=(L06352,L08301,L06382)
<snip>
Dieter W. Storr
August 2008 [email protected] 56
Delta Save Facility (DSF)
ASSO
ASSO ADASAV
NUCLEUS ASSO SAVE
DELTA
Buffer Pool Delta Log (RABN)
DLOG changed RABN
DSF=YES
changed blocks
DATA
DSF=YES DATA Delta Save
DATA
ADASAV
Delta Save RESTORE
RABN DSF=YES
DDDELT1-8 DATA
Online
Images DSIM
extracted
RABN
from PLOG DDDSIM
Dieter W. Storr
August 2008 [email protected] 58
B/R Methods
Disk to Disk
Mirroring
Hardware
Software
Replicating
Software
Dieter W. Storr
August 2008 [email protected] 59
Example For Disk Mirroring
EMC 5700
S/390 UNIX
Main Platform
Dieter W. Storr
August 2008 [email protected] 60
Peer-to-Peer Remote Copy Extended Distance (PPRC-XD)
PPRC = 60 miles - PPRC-XD = continent
FlashCopy
Dieter W. Storr
August 2008 [email protected] 61
How FlashCopy Works
Pre-defined
time window Read only: update requests are queued
NU = NC
Suspend Resume
Read
Read / update only Read / update
snap
Source
Source Physical
Physical
Snapshot
Snapshot
Data
Data Backup
Backup
Source: SAG
ADADBS TRANSACTIONS SUSPEND,TTSYN=60,TRESUME=120
Dieter W. Storr
August 2008 [email protected] 62
ADABAS Data Replication
z/OS
z/OS Image A Target
Image C
Field
Origin
Target DBMS Target
File File Field
Target Target
S4 N1 N2 E1 A1 ET S1 N1 . . .
User 1 File 20
L4 A1 ET
User 2 File 20
Dieter W. Storr
August 2008 [email protected] 65
Back-up and Recovery
Procedures
Handbook: z/OS Recovery Procedures
Recovering the z/OS platform
Reestablishing the network connections
Recovering the ABARS aggregates
Aggregate Backup And Recovery Support (ABARS) is a function
of DFSMShsm.
Session statistics
ASF
SYSAOS
Performance monitors
Dieter W. Storr
August 2008 [email protected] 67
Quality Assurance
Quality Control
Analyze programs regarding database access
efficiency and transaction design
Educate and train developers and
programmers regarding database access
commands by using Natural, Cobol, PL/1,
Assembler, SQL
Performance and tuning in detail
Dieter W. Storr
August 2008 [email protected] 68
Performance and Tuning
Dieter W. Storr
August 2008 [email protected] 69
Performance and Tuning
Symptoms
Development
Dieter W. Storr
August 2008 [email protected] 70
Performance and Tuning
Dieter W. Storr
August 2008 [email protected] 71
Performance and Tuning
Dieter W. Storr
August 2008 [email protected] 72
Performance and Tuning
ADAREP
Physical layout ASSO, DATA, WORK
From To Number Dev Table File VOLSER
Blk Blk of Blks Type Type Number
Dieter W. Storr
August 2008 [email protected] 73
Performance and Tuning
ADAREP
File components
File Name Loaded TOP-ISN MAX-ISN Extents Padding
NUA D A% D%
13 AGNT-DRAW-ACTVTY 1991-10-26 3368661 3739111 111 1 1 1
14 AGNT-SRVC-CMPLNT 1995-02-25 6317341 7694255 111 1 1 1
18 CUST-ACCT-ADJSTM 1990-10-14 16079502 20000543 111 1 1 1
19 CHECKPOINT 2002-10-05 2338 5023 111 1 1 1
22 CUSTOMER-ACCOUNT 1994-12-16 11205876 20000543 121 1 1 1
<snip>
Dieter W. Storr
August 2008 [email protected] 74
Performance and Tuning
ADAREP
File space allocations
File Name Alloc.: NI UI AC Data/Cyl
Unused:
Dieter W. Storr
August 2008 [email protected] 77
Performance and Tuning
ADABAS
ADABAS
Session Statistics
PGM
ADABAS File
Dieter W. Storr
August 2008 [email protected] 78
Performance and Tuning
Dieter W. Storr
August 2008 [email protected] 79
Performance and Tuning
Dieter W. Storr
August 2008 [email protected] 80
Performance and Tuning
Dieter W. Storr
August 2008 [email protected] 81
Performance and Tuning
Dieter W. Storr
August 2008 [email protected] 82
Performance and Tuning
Dieter W. Storr
August 2008 [email protected] 83
Performance and Tuning
User exit 4
Example assembler program see source dataset
ADABAS.ADA742.SRCE(USEREX4), ADA811: no
ADARUN parameter UEX4=pgm
Gets control after a command processed and
before CLOG will be written
CLOG dataset must be defined (not dummy)
ADARUN parameter: LOGGING=YES
Collect info and print it out at nucleus end
Dieter W. Storr
August 2008 [email protected] 84
Performance and Tuning
Dieter W. Storr
August 2008 [email protected] 85
Performance and Tuning
Command Log
V4: CLOGLAYOUT=4 (ADA8: no longer supported)
V5-7: CLOGLAYOUT=5
V8: CLOGLAYOUT=8, also new extended ADABAS
control block (ACBX)
ADARUN parameter LOGGING=YES
ADABAS PRILOG utilities for V4, V5, for V8
available with ADA811 and L002 tape
Dieter W. Storr
August 2008 [email protected] 86
Performance and Tuning
Command Log
Physical I/Os are very costly in time
Be careful: CLOG is using the work pool (LWP),
even if it is not written physically – was a problem
under ADA526, RC88, under ADA7/8 ?
CLOG can be switched on and off via UEX4
CLCOPY via UEX2 and
Dieter W. Storr
August 2008 [email protected] 87
User-Program / TP-Monitor
USER-EXIT-B USER-EXIT-A
Control-Block - CB User-Block
FB RB SB VB IB
ROUTER
ADABAS
aktiv
RJE
(DD)CLOGR1 (DD)CLOGR2
Job-Übergabe
..CMD... ASSO...
S1 519
S2 2713
ADARES PRILOG /
CLCOPY PRILOG5
S2 1683 Source:
FB .......
SB
ISBN 3-528-
.... 15289-3
Dieter W. Storr
August 2008 [email protected] 88
BATCH TP-MONITOR
User-Program User-Program
CALL 'ADABAS' USING ....
CALL 'ADABAS' USING....
CB FB RB SB VB IB
CB FB RB SB VB IB
ADARUN
ADABAS CSECT
Dynamisches LINK
ADALNC UB
ADALNK UB
USER- USER-
USER- USER-
EXIT-B EXIT-A
EXIT-B EXIT-A
ROUTER / SVC
AFPLOOK
Determine, which files are candidates for
ADABAS Fast Path
ADABAS 7.1: ADAAFP
ADABAS 7.2 and ADA811: AFPADA
It is invoked using the ADARUN command:
ADARUN FASTPATH=YES
Was (<ADA7) special user exit 4 from SAG
Dieter W. Storr
August 2008 [email protected] 90
Performance and Tuning
AVILOOK
ADABAS Access Analysis Tool
Identify files that may benefit from the
ADABAS Vista partitioning option.
It’s a SYSAOS function
Dieter W. Storr
August 2008 [email protected] 91
Performance and Tuning
Nucleus
Parame-
ters 5 %
Applica-
tion Logic
70 % File
Design
20 %
Hardware
5%
Source:
ISBN 3-528-
15289-3
Dieter W. Storr
August 2008 [email protected] 92
Performance and Tuning
Dieter W. Storr
August 2008 [email protected] 93
Performance and Tuning
Dieter W. Storr
August 2008 [email protected] 94
Performance and Tuning
SYSAOS
Code Basic Services Code Other Services
---- ---------------------- ---- ---------------------
A Session monitoring 1 Adabas Cache Facility
C Checkpoint maintenance 2 Delta Save Facility
F File maintenance 3 Trigger Maintenance
M Database maintenance 4 AOS Security
O Session opercoms 5 Transaction Manager
R Database report 6 Adabas Statistics
S Space calculation 7 Vista
? Help 8 Fastpath
. Exit 9 SAF Security
Dieter W. Storr
August 2008 [email protected] 95
Performance and Tuning
PREFETCH / MULTIFETCH
Find candidates with high number of read
sequenses
For batch and online – but mostly for batch
Dieter W. Storr
August 2008 [email protected] 96
Performance and Tuning
PREFETCH / MULTIFETCH
//DDCARD DD DISP=SHR,DSN=ADABAS.CNTLLIB(ADANUC)
// DD DISP=SHR,DSN=ADABAS.CNTLLIB(MULTFTCH)
PREFETCH=YES
PREFIFILE=123,PREFICMD=L1 include file (<7.4 exclude)
PREFIFILE=135,PREFICMD=L3
PREFIFILE=135,PREFICMD=L9
PREFNREC=xxx not higher than the number of reads per loop
PREFSBL=xxxxx PREFSBL = 2* ( ARB * PREFNREC * 4/3 )
PREFTBL=xxxxxx set equal to PREFSBL unless multiple
sequential processes are involved
Dieter W. Storr
August 2008 [email protected] 97
Performance and Tuning
Dieter W. Storr
August 2008 [email protected] 99
Education and Training
Dieter W. Storr
August 2008 [email protected] 100
Education and Training
Data Administrators
Transform the logical into the physical data
model
Determine and evaluate optimal access paths
and use it for the data model
Usage of scheme generator of PREDICT CASE
Dieter W. Storr
August 2008 [email protected] 101
Education and Training
Data Administrators
Usage of PREDICT GATEWAY to migrate from
Excelerator or IEW to PREDICT
Learn how to migrate to PREDICT from
UML
BPM, for example ARI
......
Inform about new and updated versions and
releases
Dieter W. Storr
August 2008 [email protected] 102
Education and Training
Operating
Design and apply job procedures to
and releases
Dieter W. Storr
August 2008 [email protected] 103
Education and Training
User
Help to develop and carry out training for
Dieter W. Storr
August 2008 [email protected] 104
Data Security
ADABAS Security
NATURAL Security
PREDICT Security
SYSAOS Security
Third-party products, e.g TRIM, APAS/Insight,
N2O, etc.
Dieter W. Storr
August 2008 [email protected] 105
Data Security
ADABAS Security
Data encryption (only DATA)
ADASCR
Access or update level by file
Value-level protection
ADASAF -- System Authorization Facility
RACF, ACF2, Top Secret
ADAESI
Dieter W. Storr
August 2008 [email protected] 106
Data Security
Dieter W. Storr
August 2008 [email protected] 107
Data Security
SAF Repository
Product Protects
ADABAS SAF ADABAS
ADABAS SQL Server SAF ADABAS SQL
Entire Net-Work SAF Entire Net-Work version 5.6 and above
EntireX SAF EntireX, Entire Broker, Broker Services
NATURAL SAF NATURAL
Dieter W. Storr
August 2008 [email protected] 108
Data Security
ADASAF
Entire SAF Gateway
Dieter W. Storr
August 2008 [email protected] 109
Data Security
Dieter W. Storr
August 2008 [email protected] 110
Data Security
Dieter W. Storr
August 2008 [email protected] 111
Data Security
Dieter W. Storr
August 2008 [email protected] 112
Data Security
PREDICT Security
Dieter W. Storr
August 2008 [email protected] 113
Data Security
Dieter W. Storr
August 2008 [email protected] 114
Data Security
Dieter W. Storr
August 2008 [email protected] 115
Standard Routines
Help Functions
Dieter W. Storr
August 2008 [email protected] 116
Maintain and Optimize
DB System
Dieter W. Storr
August 2008 [email protected] 118
Maintain and Optimize
DB System
Dieter W. Storr
August 2008 [email protected] 119
Maintain and Optimize
DB System
Dieter W. Storr
August 2008 [email protected] 120
Maintain and Optimize
DB System
11:56:34 ***** A D A B A S BASIC SERVICES ***** 2006-10-02
DBID 215 - High Water Marks - PACUH02
Dieter W. Storr
August 2008 [email protected] 122
Maintain and Optimize
DB System
5299,256 Formats had to be translated
0 Formats had to be overwritten
0 Autorestarts were done
4 Throw-backs due to ISN problem
0 Throw-backs due to space problem
3,235 Bufferflushes were done
Dieter W. Storr
August 2008 [email protected] 123
Maintain and Optimize
DB System
Command Queue (NC)
ET L3 S1
Selection by Throwbacks if
- Priority - ISN problem
- Age - Space problem (LWP)
- Cmd type - Deadlocks (LBP RABNs
- ET block
Threads (NT)
A1 S1 S2
active ready to run waiting
Dieter W. Storr
August 2008 [email protected] 125
Maintain and Optimize
DB System
ADAACK
*********************************************
* Check AC for File 19 (CHECKPOINT ) *
*********************************************
Reusable ISNS (Hexadecimal):
00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
<snip>
Pass 1 - Load Address Converter into memory.
---------------------------------------------
ERROR-126, AC-ELEMENT contains DS-RABN 00000004 (4) (Duplicate ISN)
DS Block=00000007 (7), ISN=000009D1 (2513)
<snip>
Dieter W. Storr
August 2008 [email protected] 126
Maintain and Optimize
DB System
ADADCK DSCHECK FILE=019,USAGE
Dieter W. Storr
August 2008 [email protected] 127
Maintain and Optimize
DB System
Dieter W. Storr
August 2008 [email protected] 128
Maintain and Optimize
DB System
------------------------------------------------------------------------------
2005-12-12 18:16:13 ADABAS Capacity Planning Page 1
ADAREP3 ZINDWS
------------------------------------------------------------------------------
DB Allocated Mega Bytes Used Mega Bytes Unused Mega Bytes Number
ASSO / DATA PCT ASSO / DATA PCT ASSO / DATA PCT Volume
----- ----------- ----- ----------- ----- ----------- ----- ------
PROD1 2336 100.0 285 12.2 2051 87.8 1
2520 100.0 2093 83.1 427 16.9 1
----- ----------- ----- ----------- ----- ----------- ----- ------
Subtot 4856 100.0 2378 49.0 2478 51.0 2
------------------------------------------------------------------------------
PROD2 16357 100.0 13780 84.2 2577 15.8 7
27726 100.0 25555 92.2 2171 7.8 11
----- ----------- ----- ----------- ----- ----------- ----- ------
Subtot 44083 100.0 39335 89.2 4748 10.8 18
------------------------------------------------------------------------------
<snip>
Dieter W. Storr
August 2008 [email protected] 129
Maintain and Optimize
DB System
------------------------------------------------------------------------------
DB Allocated Mega Bytes Used Mega Bytes Unused Mega Bytes Number
ASSO / DATA PCT ASSO / DATA PCT ASSO / DATA PCT Volume
----- ----------- ----- ----------- ----- ----------- ----- ------
Total 522508 100.0 458609 87.7 63899 12.2 213
------------------------------------------------------------------------------
Remarks:
In addition to the above mentioned ASSO and DATA volumes,
the following additional space is needed for each database:
--- ------------------------------------------------
Vol Database Components
--- ------------------------------------------------
1 WORK1
2 PLOG1/2 - protection log
1 ADARAI - recovery log information
- RLOG1 - recovery log information / with PLOG
- RLOGM1 - recovery log information / with PLOG
- CLOG1/2 - command log information / not yet (2)
2 TEMP1/2 - temporary area for utilities
2 SORT1/2 - sort area for utilities
1 DSIM1 -
--- ------------------------------------------------
9
------------------------------------------------------------------------------
End of the report
------------------------------------------------------------------------------
Dieter W. Storr
August 2008 [email protected] 130
Maintain and Optimize
DB System
Dieter W. Storr
August 2008 [email protected] 131
Maintain and Optimize
DB System
Dieter W. Storr
August 2008 [email protected] 132
Maintain and Optimize
DB System
Dieter W. Storr
August 2008 [email protected] 133
Maintain and Optimize
DB System
http://h30097.www3.hp.com/docs/porting/interop/performance
.html
http://www.itworld.com/Comp/3380/UIR010329cockcroftletters
/#ruletool
Dieter W. Storr
August 2008 [email protected] 135
Maintain and Optimize
DB System
Dieter W. Storr
August 2008 [email protected] 136
Ideal DBA Profile
Mainframe and Unix
Organizing and managing computer data
Dieter W. Storr
August 2008 [email protected] 137
Ideal DBA Profile
Mainframe and Unix
Plan and install upgrades to DBMS
Dieter W. Storr
August 2008 [email protected] 138
Ideal DBA Profile
Mainframe and Unix
Establish data security and integrity
Dieter W. Storr
August 2008 [email protected] 139
Ideal DBA Profile
Dieter W. Storr
August 2008 [email protected] 140
Ideal DBA Profile
Dieter W. Storr
August 2008 [email protected] 141
Ideal DBA Profile
SAN devices
Unix authentication and administration
Active Directory
Operating systems, for example
HP-Unix, Windows XP, Linux, AIX – Unix/Sun Solaris
Dieter W. Storr
August 2008 [email protected] 143
Ideal DBA Profile
Very good experience in hard and software
UNIX
Knowledge of programming concepts,
Dieter W. Storr
August 2008 [email protected] 144
DBA Salary
US:
Starting level up to: $73,896
Dieter W. Storr
August 2008 [email protected] 145
DBA Salary
UK:
Range of typical starting salaries: £16,000
- £20,000 ($37.514)
After two-three years salaries typically
Dieter W. Storr
August 2008 [email protected] 147
Ideal DBA Profile
Dieter W. Storr
August 2008 [email protected] 148
Future Requirements
Network administration
Knowledge of networking architecture
How to measure response time in the
network
Web access
Knowledge in downsizing, for example from
the mainframe to Unix or Windows
Client-server technology
Dieter W. Storr
August 2008 [email protected] 149
Future Requirements
Service-Oriented Architecture (SOA)
Collection of services
Loosely coupled software architecture
Services and connections
Dieter W. Storr
August 2008 [email protected] 150
Future Requirements
Acquiring knowledge about
Model Driven Architecture (MDA)
A way to organize and manage enterprise
architectures (Leader: IBM Rational)
Computation Independent Model (CIM)
Platform Independent Model (PIM)
Platform Specific Model (PSM)
Implementation Specific Model (ISM)
Dieter W. Storr
August 2008 [email protected] 151
Future Requirements
Dieter W. Storr
August 2008 [email protected] 152
Position of a DBA
Dieter W. Storr
August 2008 [email protected] 153
Position of a DBA
Dieter W. Storr
August 2008 [email protected] 154
Everything
DBA is under
control
Dieter W. Storr
August 2008 [email protected] 155