Más contenido relacionado
La actualidad más candente (20)
Similar a Application Tuning for CA Datacom Environments Part I (20)
Más de CA Technologies (20)
Application Tuning for CA Datacom Environments Part I
- 6. 6 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
The “Real World” – Today’s environment
§ Major European retailer
– Datacom/Ideal/MetaCOBOL+ runs almost all mission critical systems
– 0.6 of a Datacom DBA (average 3 days per week)
– 6 mainframe developers
– Capped at 24 MSU’s (down from 37 MSUs in 2 years)
§ Financial institution
– Datacom/Ideal runs almost all mission critical applications
– 0.25 of a Technical Consultant (average 5 days per month)
– 3 mainframe developers
– Capped at 100 MIPS
Much smaller IT department – typically with very small DBA staffs
- 10. 10 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
The application architecture
§ RAAT – Record at a time
– Typically “very chatty” with the database
§ Many small requests and responses
– Batch does have GSETx commands for larger requests/responses
§ SAAT – Set at a time
– Typically “less chatty” with the database
§ Smaller number of requests with larger database processing requirements
– Used by Ideal, DQRY and SQL under the covers
Understanding the typical CA Datacom application environment - APIs
- 12. 12 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
The application architecture (cont’d)
Batch address space
zOS
LPAR
• Start-up parameters
• Executing code
• Shared memory (buffers)
• Data spaces attached as needed
Database subsystem and PC Calls installed during CAS9 (CA Common Services) initiation
CXX
LXX
FXX
PXX
RXX
DD
0002
DDD
0015
SQL
0016
TTM
0017
CBS
0006
HEUR
1006
DST
1000
STA
1018
SNP
1019
DEL
1020
PRM
0004
ACCT
0005
HR
0001
OE
0010
DQ
0003
URT
User Program
Call DBNTRY
Call DBSQLE
User
DBIDs
Batch URT
• Needs to be loaded in the
address space (typical linked
with program)
• Provides the interface to the
MUF address space
• For RAAT/SAAT selects tables
to be accessed
• Can hold additional buffer area
for special GSETx commands
Interface
Batch Address SpaceMUF Address Space
- 13. 13 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
The application architecture (cont’d)
CICS address space
zOS
LPAR
• Start-up parameters
• Executing code
• Shared memory (buffers)
• Data spaces attached as needed
CXX
LXX
FXX
PXX
RXX
DD
0002
DDD
0015
SQL
0016
TTM
0017
CBS
0006
HEUR
1006
DST
1000
STA
1018
SNP
1019
DEL
1020
PRM
0004
ACCT
0005
HR
0001
OE
0010
DQ
0003
User Program
Call DBNTRY
Call DBSQLE
User
DBIDs
CICS Services
• Loads multi threaded interface to MUF
• Loads a pool of URTs for all CICS transactions
• For RAAT/SAAT selects tables to be accessed
• Default URT020 provided for SQL access
• Provides a set of CICS transactions to manage the
interface and URTs
URT URT
Interface
Database subsystem and PC Calls installed during CAS9 (CA Common Services) initiation
User Program
Call DBNTRY
Call DBSQLE
URT URT URT URT
Interface
CICS Address Space Batch Address SpaceMUF Address Space
- 14. 14 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
The application architecture (cont’d)
Server address space
zOS
LPAR
• Start-up parameters
• Executing code
• Shared memory (buffers)
• Data spaces attached as needed
CXX
LXX
FXX
PXX
RXX
DD
0002
DDD
0015
SQL
0016
TTM
0017
CBS
0006
HEUR
1006
DST
1000
STA
1018
SNP
1019
DEL
1020
PRM
0004
ACCT
0005
HR
0001
OE
0010
DQ
0003
User Program
Call DBNTRY
Call DBSQLE
User
DBIDs
Server
• Loads multi threaded interface to MUF
• Loads URT stub for basic support
• Provides a set of commands to manage the
interface
• Provides interactive SQL processor for
client ODBC/JDBC requests
URT URT
Interface
Database subsystem and PC Calls installed during CAS9 (CA Common Services) initiation
User Program
Call DBNTRY
Call DBSQLE
URT URT URT URT
Interface
CICS Address Space Batch Address SpaceMUF Address Space
Interface
URT
Interactive SQL
processor
ODBC/JDBC
Server client
- 22. 22 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
As long as the geometry of the row does not change,
the applications will not need to be changed (cont’d)
§ Remove unused keys (overhead on every add/delete)
– Will only take affect without application change for SAAT or SQL
– Locate keys that are not used
§ DST DIR_KEY (only shows stats since MUF startup)
SELECT DBID, TABLE_NAME, KEY_NAME, KEY_ID, NATIVE, MASTER, NIL, DIRECT,
KEY_LENGTH, CBS_IGNORE, USES_RAAT, USES_SAAT, USES_SQL
FROM SYSADM.DIR_KEY WHERE DBID > 19 AND DBID < 1000;
- 32. 32 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Recommended Sessions
SESSION # TITLE DATE/TIME
MFX92S Strategy and Vision for CA Datacom and CA Ideal 11/16/2016 at 12:45 pm
MFX93S What’s new in CA Datacom 11/16/2016 at 1:45 pm
MFX94S Reducing TCO with Datacom Compression (Presspack) 11/16/2016 at 3:00 pm
MFX95SA Modernizing the CA Datacom data – SQL Access Part I 11/16/2016 at 3:45 pm
MFX95SB Modernizing the CA Datacom data – SQL Access Part II 11/16/2016 at 4:30 pm
MFX96S CA Datacom/AD Installation/Upgrade and Maintenance 11/17/2016 at 12:45 pm
MFX97S
CA Datacom/AD Report Utilization, and
information gather for Support
11/17/2016 at 1:45 pm
MFX98S
Using Sysview to monitor and measure your CA Datacom
environment – AD and DB
11/17/2016 at 3:00 pm
MFX99S Birds of a Feather/Stump the Techie! 11/17/2016 at 3:45 pm