170 likes | 405 Views
Progress Database Internals. Duc Chu. Shared Memory. Servers. Shared Memory. DB Broker. BIW. APW. Before Image. Database. Version 8 Data Processes. Database: _mprosrv App Server: _proapsv Before Image Writer: _mproshut Asyncrhonous Page Writer: _mproshut User: _progres.
E N D
Progress Database Internals Duc Chu
Shared Memory Servers Shared Memory DB Broker BIW APW Before Image Database
Version 8 Data Processes • Database: _mprosrv • App Server: _proapsv • Before Image Writer: _mproshut • Asyncrhonous Page Writer: _mproshut • User: _progres
Version 8 Data Files • Database • trhead.db • trhead.d1, trhead.d2, trhead.d3, … • Before Image • trhead.bi • trhead.b1, trhead.b2, trhead.b3, … • Log file • trhead.lg • License file • trhead.lic • Lock file • trhead.lk
Version 8 Data Files trhead.db trtrans.db trhead.d1 trtrans.d1 trhead.d2 trtrans.d2 trhead.bi trtrans.bi trhead.b1 trtrans.b1 trhead.b2 trtrans.b2
Databases vs. Storage Areas • Why six databases? • Previous processor issues • Administrative ease (dump & load, idxrebuilds, etc.) • Why storage one database? • Ease in tuning • Data affinity in cache • Not for every version 8 database • What are storage areas? • Logical database “areas” • Separate database schema from data • Restores ease of administration (dump&load, etc.)
Version 9 Data Files • Data files (dbname_sa#.ext#) • Data Storage Areas (trhead, trlines, trother, trsm, trstat, trtrans, trcust) • Index Storage Area (trhead_idx, trlines_idx, trother_idx, trsm_idx, trstat_idx, trtrans_idx, trcust_idx) • Before Image file – nxt.bi, nxt.b1, ... • Log file - nxt.lg • License file - nxt.lic • Lock file – nxt.lk
nxt.bi nxt.b1 nxt.b2 nxt_7.d1 nxt_19.d1 nxt_19.d1 nxt_19.d2 nxt_19.d2 nxt_7.d2 nxt_8.d2 Nxt_8.d2 Version 9 Data Files nxt.db trhead trcust trcust_idx trhead_idx
Version 9 Data Processes • Database: _mprosrv • App Server: _proapsv • Before Image Writer: _mproshut • Asyncrhonous Page Writer: _mproshut • User: _progres • Admin Server: $DLC/jre/…Admin • Name Server: $DLC/jre/…Name
Progress 8 Framework User Database Server Db Application Server Bus Logic
Progress 9 Framework Name Server User Database Server Db Application Server Bus Logic
Progress 9 Framework Admin Server Name Server User Database Server Db Application Server Bus Logic
Progress 9 Configuration Files • V8 used many parameter files (/rd/opsys/trheaddb.pf) • $DLC/bin/properties/conmgr.properties • Database Server • All Databases Registered • $DLC/bin/properties/ubroker.properties • Admin Server • Name Server • App Server • Etc. • DO NOT edit these files by hand!
Administration Commands • Historical V8 Commands • proserve, proapsv, proshut • procopy, proutil, prostrct • New V9 Commands • dbman, asbman, proshut • procopy, proutil, prostrct • proadsv, nsman, adaptman • Not all commands are compatible!!! • proserve (default) vs. dbman • old scripts should be modified / checked
SQL/ODBC Access • SQL89 (v8 & v9) • OIBroker • Merant Driver • SQL92 (v9) • New Engine • Progress/Merant Driver • New Security Model
Progress v9 Hints • Dump & Load prior to upgrade • Remember the Operating System • AIX > 4.3.2 • HP/UX > 11.0 • Storage Areas • Useful but not required • Java, Java, Java!!! • Required for ODBC • Helpful for Admin Framework • Version ( AIX = 1.1.8, HP/UX = 1.1.7)