Download presentation
Presentation is loading. Please wait.
Published byEthan Goodwin Modified over 9 years ago
1
MOVE-4: Upgrading Your Database to OpenEdge® 10 Gus Björklund Wizard, Vice President Technology
2
© 2006 Progress Software Corporation 2 MOVE-4: Upgrading Your Database to OpenEdge® 10 Audience Survey ReleaseWhenAge 7.2Along agoancient 8.2Along agoancient 8.3Along agoancient 9.0ADec 19987.5 years 9.1ADec 19996.5 years 10.0ADec 20042.5 years 10.1AJan 20060.5 years
3
© 2006 Progress Software Corporation 3 MOVE-4: Upgrading Your Database to OpenEdge® 10 Why Upgrade to OpenEdge 10 RDBMS ?
4
© 2006 Progress Software Corporation 4 MOVE-4: Upgrading Your Database to OpenEdge® 10 Why Upgrade to OpenEdge 10 RDBMS ? The 10.1A RDBMS is … better, stronger, faster
5
© 2006 Progress Software Corporation 5 MOVE-4: Upgrading Your Database to OpenEdge® 10 Why Upgrade to OpenEdge 10 RDBMS ? Security Performance Business Agility High Availability Limits / Scalability Maintenance Audit core service Audit archive util Audit roles defined & enforced JTA support OO ext to 4GL New IDE XML support Datatypes Type 4 JDBC drivers Type II Storage SQL Multi-threaded utilities Add table/field/index online Add extents online AI archiving utility Replication failback Truncate logfile online Defrag tables online Save key events Fast quiet points index concurrency Adaptive transaction end locking Clusters Data archival logfile format DB defaults
6
© 2006 Progress Software Corporation 6 MOVE-4: Upgrading Your Database to OpenEdge® 10 General Upgrade Strategy Backup Keep dbanayls & promon data for reference Install OpenEdge 10 (no need to overwrite V9) Upgrade DB to 10 Run UPDATE STATISTICS for SQL Do your backups !!!! Recompile 4GL code Run your application
7
© 2006 Progress Software Corporation 7 MOVE-4: Upgrading Your Database to OpenEdge® 10 The 5 Minute Upgrade …
8
© 2006 Progress Software Corporation 8 MOVE-4: Upgrading Your Database to OpenEdge® 10 Database Server Conversion Steps Upgrade clients first, then database server Preparation Backup database Truncate BI, Disable AI Install OpenEdge 10 Run conversion utility Backup database Start database
9
© 2006 Progress Software Corporation 9 MOVE-4: Upgrading Your Database to OpenEdge® 10 The 5-Minute Rule Conversion program runs in-place, in 5- minutes or less Mostly, we upgrade the schema tables No changes to records or indexes No changes to physical structures
10
© 2006 Progress Software Corporation 10 MOVE-4: Upgrading Your Database to OpenEdge® 10 Database convert proutil -C conv910 -B 512 probkup …
11
© 2006 Progress Software Corporation 11 MOVE-4: Upgrading Your Database to OpenEdge® 10 What Happens after 5-minutes? You can run the database ! It will very likely run better than before Fragmentation may still exist Most of your DBA scripts should work fine All data in Type I data areas Optimize when time permits...
12
© 2006 Progress Software Corporation 12 MOVE-4: Upgrading Your Database to OpenEdge® 10 Do some more work ! What if I want more performance than I get with the fast convert ?
13
© 2006 Progress Software Corporation 13 MOVE-4: Upgrading Your Database to OpenEdge® 10 Move data to type ii data areas …
14
© 2006 Progress Software Corporation 14 MOVE-4: Upgrading Your Database to OpenEdge® 10 Moving to Type II Data Areas Before: First upgrade with conversion utility Move schema tables Create type ii data areas Move tables and indexes After Truncate old data area Delete old data area
15
© 2006 Progress Software Corporation 15 MOVE-4: Upgrading Your Database to OpenEdge® 10 Before the move …
16
© 2006 Progress Software Corporation 16 MOVE-4: Upgrading Your Database to OpenEdge® 10 Moving schema tables proutil -C mvsch Renumbers existing schema area Creates new schema area no. 6 Copies schema tables Deletes old schema tables
17
© 2006 Progress Software Corporation 17 MOVE-4: Upgrading Your Database to OpenEdge® 10 Moving Tables and Indexes Tablemove and Indexmove Dump and Load
18
© 2006 Progress Software Corporation 18 MOVE-4: Upgrading Your Database to OpenEdge® 10 Storage Settings data block size: 4k or 8k bi & ai block size should match each other Type II Data Area Cluster Sizes Table areas: 512 Index areas: 512 Dump and load required to change data block size
19
© 2006 Progress Software Corporation 19 MOVE-4: Upgrading Your Database to OpenEdge® 10 Using Table and Index Move …
20
© 2006 Progress Software Corporation 20 MOVE-4: Upgrading Your Database to OpenEdge® 10 Table Move proutil -C tablemove [owner-name.]table-name table-area [ index-area ] Can move just table, or table and its indexes (preferred)
21
© 2006 Progress Software Corporation 21 MOVE-4: Upgrading Your Database to OpenEdge® 10 Index Move proutil -C idxmove [owner-name.]indexname area-name
22
© 2006 Progress Software Corporation 22 MOVE-4: Upgrading Your Database to OpenEdge® 10 After the move …
23
© 2006 Progress Software Corporation 23 MOVE-4: Upgrading Your Database to OpenEdge® 10 Truncating area proutil -C truncate bi proutil -C truncate area Area logically truncated Extents can be deleted prostrct remove
24
© 2006 Progress Software Corporation 24 MOVE-4: Upgrading Your Database to OpenEdge® 10 If You can’t tablemove: Dumping and Loading …
25
© 2006 Progress Software Corporation 25 MOVE-4: Upgrading Your Database to OpenEdge® 10 Dump and Load Strategy Before: Backup Upgrade with conversion utility Move schema tables Dump definitions and tables Create new database with type ii data areas Load definitions Load table data Build indexes Backup
26
© 2006 Progress Software Corporation 26 MOVE-4: Upgrading Your Database to OpenEdge® 10 Dump data definitions Use Data Administration tool Dump all table and index definitions produces.df files
27
© 2006 Progress Software Corporation 27 MOVE-4: Upgrading Your Database to OpenEdge® 10 Dump/Load Choices Dictionary Dump (to text) Dictionary load Bulkload Custom Dump Programs Custom loader Custom buffer-copy Programs Binary Dump Binary load
28
© 2006 Progress Software Corporation 28 MOVE-4: Upgrading Your Database to OpenEdge® 10 Dictionary Dump Easy Slow 2 GB File size limit Can’t choose dump order Have to dump entire table
29
© 2006 Progress Software Corporation 29 MOVE-4: Upgrading Your Database to OpenEdge® 10 Bulkload proutil [-yy n] -C BULKLOAD fd-file -B 1000 Use dictionary or custom code to export data 2 GB file limit Loads one table at a time Faster than dictionary load Slower than binary load
30
© 2006 Progress Software Corporation 30 MOVE-4: Upgrading Your Database to OpenEdge® 10 Custom Dump Programs Have to write yourself (but not too hard) Use EXPORT and IMPORT statements Can dump subset of data Can run multiple loads concurrently but not into type i data areas
31
© 2006 Progress Software Corporation 31 MOVE-4: Upgrading Your Database to OpenEdge® 10 buffer-copy Have to write yourself Planning required Can do while applications use old database Can copy part of data Can choose dump order via index No dump file needed Can load multiple tables concurrently
32
© 2006 Progress Software Corporation 32 MOVE-4: Upgrading Your Database to OpenEdge® 10 Binary Dump and Load Easy No 2 GB file size limit Can choose dump order (by index) Can dump part of data Can load multiple tables concurrently
33
© 2006 Progress Software Corporation 33 MOVE-4: Upgrading Your Database to OpenEdge® 10 Using Binary Dump and Load …
34
© 2006 Progress Software Corporation 34 MOVE-4: Upgrading Your Database to OpenEdge® 10 Binary Dump and Load Dump from type I data areas Create new database structure Load in to type ii data area proutil -C dump. –index 0 Dump performance vs Read performance Choose an index based on read order instead 10 x differences proutil -C load.bd build Load with build indexes Load to truncated or new area –(truncate rather than “emptied”)
35
© 2006 Progress Software Corporation 35 MOVE-4: Upgrading Your Database to OpenEdge® 10 Large Databases: Dump and Load Fastest Overall Process Binary dump and load Multiple streams (3-5 per CPU) Dump on smallest index (# blocks) Index rebuild in same step as load saves one phase may be faster: YMMV Parallel load into separate type II data areas when possible But a minor point
36
© 2006 Progress Software Corporation 36 MOVE-4: Upgrading Your Database to OpenEdge® 10 Large Databases: Dump and Load Fastest Overall Process Tune for high activity: Dump with –RO (ymmv) and high –B Load with high –B, –r 1-2 APW’s per CPU, -pwqdelay 10, -pwscan 1024, -pwwmax 1024 16K BI blocks, large clusters, no ai/2PC At every step, spread activity across disks / controllers
37
© 2006 Progress Software Corporation 37 MOVE-4: Upgrading Your Database to OpenEdge® 10 After the load …
38
© 2006 Progress Software Corporation 38 MOVE-4: Upgrading Your Database to OpenEdge® 10 After Loading You Need To build indexes can do in groups or all at once by area, by table, by owner by area might make sense don’t forget sort scratch space (-SS) backup your database
39
© 2006 Progress Software Corporation 39 MOVE-4: Upgrading Your Database to OpenEdge® 10 Index Rebuild After Load Index Rebuild by area, table, or schema proutil -C idxbuild table proutil -C idxbuild area Other values -SG 64 (sort groups) -SS filename (scratch space location list) -TM 32 (merge buffers) -TB 32 (temp block size) -B 1000
40
© 2006 Progress Software Corporation 40 MOVE-4: Upgrading Your Database to OpenEdge® 10 Review …
41
© 2006 Progress Software Corporation 41 MOVE-4: Upgrading Your Database to OpenEdge® 10 Summary 10.1A RDBMS is better, stronger, faster even with NO application changes Conversion is quick Optimise at your leisure Upgrade when you go home
42
© 2006 Progress Software Corporation 42 MOVE-4: Upgrading Your Database to OpenEdge® 10 More Info Related sessions DB–8: Highly Parallel Dump and Load MOVE–14: Migrating Your Authentication System to OpenEdge 10.1A and Beyond INNOV–1: OpenEdge 10.1A Overview INNOV–12: OpenEdge Database Product Roadmap
43
© 2006 Progress Software Corporation 43 MOVE-4: Upgrading Your Database to OpenEdge® 10 Want Answers
44
© 2006 Progress Software Corporation 44 MOVE-4: Upgrading Your Database to OpenEdge® 10
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.