Progress Database Internals Duc Chu
DB Broker Shared Memory Database Before Image Shared Memory APW BIW Servers
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.d1 trhead.d2 trhead.b1 trhead.b2 trtrans.d1 trtrans.d2 trhead.db trhead.bi trtrans.b1 trtrans.b2 trtrans.db trtrans.bi
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
Version 9 Data Files nxt.db nxt_7.d1 nxt_7.d2 nxt_8.d2 Nxt_8.d2 nxt_19.d1 nxt_19.d2 trhead trhead_idx nxt_19.d1 nxt_19.d2 trcust trcust_idx nxt.bi nxt.b1 nxt.b2
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 Application Server Db Bus Logic
Progress 9 Framework Name Server User Database Server Application Server Db Bus Logic
Admin Server Progress 9 Framework Name Server User Database Server Application Server Db 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 > – 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)
Questions?